summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-11-06 09:24:38 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-06 09:24:38 +0100
commitb3ee3e1cf028884f09254be5efc7a97ccce38241 (patch)
tree6204207ffae146335d662bc5d9e0b347b3184479 /media-gfx
parentmedia-sound/gpodder: add 3.11.4-r1 (diff)
downloadgentoo-b3ee3e1cf028884f09254be5efc7a97ccce38241.tar.gz
gentoo-b3ee3e1cf028884f09254be5efc7a97ccce38241.tar.bz2
gentoo-b3ee3e1cf028884f09254be5efc7a97ccce38241.zip
media-gfx/libbgcode: bump to 20241024
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/libbgcode/Manifest1
-rw-r--r--media-gfx/libbgcode/libbgcode-0.0.20241024.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/libbgcode/Manifest b/media-gfx/libbgcode/Manifest
index c1f33d94662d..ca71a420309c 100644
--- a/media-gfx/libbgcode/Manifest
+++ b/media-gfx/libbgcode/Manifest
@@ -1 +1,2 @@
DIST libbgcode-0.0.20240903.tar.gz 456751 BLAKE2B 93cd8eb83083581ba1ba735c6820dc0ead18d13ca0613387559d610f39c8011881bcc92ffec65fbcb40113b2b877050c15c7816d6db063698ce7ba5df7b35eda SHA512 86e9d85f0e52ebde853979e79639dc4424e26686fe55c45d78ca683cf32d8ec059976d43ffda9339a41892d30ebb267f8c360851889ad0a48ced874c27546f04
+DIST libbgcode-0.0.20241024.tar.gz 529007 BLAKE2B 1ca0bfbf5ad6329190ba9c452678bbae0beba8121a9fd1c3e7642b365c86cccbf26ae41841a0596cf37034fda4930f771729a999ffd231000775841348db0cbd SHA512 1efc72180319f3876823a0da486f4a59c0c83e197cdd3f3a1163266e226d7026d5dc8f8f290e0507cd71a6cdea5648404fbe24a975833eba67ee98fb4b0466a3
diff --git a/media-gfx/libbgcode/libbgcode-0.0.20241024.ebuild b/media-gfx/libbgcode/libbgcode-0.0.20241024.ebuild
new file mode 100644
index 000000000000..312fa3f31772
--- /dev/null
+++ b/media-gfx/libbgcode/libbgcode-0.0.20241024.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+LIBBGCODE_COMMIT=d33a277a3ce2c0a7f9ba325caac6d730e0f7a412
+
+DESCRIPTION="Prusa Block & Binary G-code reader / writer / converter"
+HOMEPAGE="https://github.com/prusa3d/libbgcode"
+SRC_URI="https://github.com/prusa3d/libbgcode/archive/${LIBBGCODE_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-${LIBBGCODE_COMMIT}"
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/heatshrink-0.4.1
+ >=sys-libs/zlib-1.0
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ test? ( =dev-cpp/catch-2*:0 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLibBGCode_BUILD_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}