summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-07-04 16:08:28 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-07-04 16:08:28 +0200
commit9e5fb704eedc9072db3db101795699092cbb21fa (patch)
treefcbe0a4d4c90ee5e052314c9122b6af86b84d59e
parentmedia-sound/quodlibet: organized variables in 4.6.0-r2 (diff)
downloadgentoo-9e5fb704eedc9072db3db101795699092cbb21fa.tar.gz
gentoo-9e5fb704eedc9072db3db101795699092cbb21fa.tar.bz2
gentoo-9e5fb704eedc9072db3db101795699092cbb21fa.zip
media-gfx/libbgcode: bump to 0.0.20240704
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-gfx/libbgcode/Manifest1
-rw-r--r--media-gfx/libbgcode/libbgcode-0.0.20240704.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/libbgcode/Manifest b/media-gfx/libbgcode/Manifest
index 363dcfc43d1d..d4546905b98a 100644
--- a/media-gfx/libbgcode/Manifest
+++ b/media-gfx/libbgcode/Manifest
@@ -1 +1,2 @@
DIST libbgcode-0.0.20240328.tar.gz 456463 BLAKE2B 7b9995e94d8f5081723ef435ef9bfe5ca75fbd09d2a8f5e6ff786fb5c4c9d6079a7f5a0b0d537b3b8a044c7126258e31ac411ef6a5aff287bf490672257506ee SHA512 13d5fe20b1faee5068a3c385041a680de5cdcec7fc34bc3f28c52bdab4d6b9e6170ad5ce5bb78399e956fc7f3fb5409e8e4adf0ff4850be686b3caf4d76ee3aa
+DIST libbgcode-0.0.20240704.tar.gz 456516 BLAKE2B 26f0a6f01a937da0fc4e4a4db715759967eb235f004daa9140841d7b0040a04dc86627c07265f5eb0cb7b34a9c6b43ec97ee1c59b53319ab95a9f3cb965fe906 SHA512 ed45cad28b15f5ac4b2cc340159f591c2cfb2560e8fa96f67bb122a2f7337a2fd67e632550fae8c07b36aad523ebe91334776f132291c4f84ff63d0f4a3b583e
diff --git a/media-gfx/libbgcode/libbgcode-0.0.20240704.ebuild b/media-gfx/libbgcode/libbgcode-0.0.20240704.ebuild
new file mode 100644
index 000000000000..8338365c1a3c
--- /dev/null
+++ b/media-gfx/libbgcode/libbgcode-0.0.20240704.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=dcb8f7b6d91f1d490022083be09a76dc2bc9c51f
+
+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
+}