summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-07-30 19:26:24 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-07-30 19:26:24 +0200
commit4714523aae87075e575a31fa0cfedc5987baf9be (patch)
treef7857d1dad4c4da7c0366fb73201c4791f906391 /media-gfx
parentxfce-base/thunar: Bump to 4.18.11 (diff)
downloadgentoo-4714523aae87075e575a31fa0cfedc5987baf9be.tar.gz
gentoo-4714523aae87075e575a31fa0cfedc5987baf9be.tar.bz2
gentoo-4714523aae87075e575a31fa0cfedc5987baf9be.zip
media-gfx/libbgcode: bump to 0.0.20240730
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.20240730.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/libbgcode/Manifest b/media-gfx/libbgcode/Manifest
index d4546905b98a..d9c77b21eefd 100644
--- a/media-gfx/libbgcode/Manifest
+++ b/media-gfx/libbgcode/Manifest
@@ -1,2 +1,3 @@
DIST libbgcode-0.0.20240328.tar.gz 456463 BLAKE2B 7b9995e94d8f5081723ef435ef9bfe5ca75fbd09d2a8f5e6ff786fb5c4c9d6079a7f5a0b0d537b3b8a044c7126258e31ac411ef6a5aff287bf490672257506ee SHA512 13d5fe20b1faee5068a3c385041a680de5cdcec7fc34bc3f28c52bdab4d6b9e6170ad5ce5bb78399e956fc7f3fb5409e8e4adf0ff4850be686b3caf4d76ee3aa
DIST libbgcode-0.0.20240704.tar.gz 456516 BLAKE2B 26f0a6f01a937da0fc4e4a4db715759967eb235f004daa9140841d7b0040a04dc86627c07265f5eb0cb7b34a9c6b43ec97ee1c59b53319ab95a9f3cb965fe906 SHA512 ed45cad28b15f5ac4b2cc340159f591c2cfb2560e8fa96f67bb122a2f7337a2fd67e632550fae8c07b36aad523ebe91334776f132291c4f84ff63d0f4a3b583e
+DIST libbgcode-0.0.20240730.tar.gz 456671 BLAKE2B a15e903e42090eff3945f446f7d805ceabad533a2edcc9e4c82d99bac7aa42e9f10470f5ee41ed449799d9bc318c9097439a6534607a00d0bfeb2e2dea252b79 SHA512 b448d9ace946d85a4decc4a2cc05e1a41c64ba49968db1f818ba5974120f458159d5b639d5501a98daf4544a483366cd0e299c052f21577bb5ad763f7220d7e3
diff --git a/media-gfx/libbgcode/libbgcode-0.0.20240730.ebuild b/media-gfx/libbgcode/libbgcode-0.0.20240730.ebuild
new file mode 100644
index 000000000000..bf5c06541e91
--- /dev/null
+++ b/media-gfx/libbgcode/libbgcode-0.0.20240730.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=5347c3399ec933f590d1f96903a406647f287d8f
+
+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
+}