summaryrefslogtreecommitdiff
path: root/media-gfx/libbgcode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-06 08:06:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-06 08:06:16 +0100
commit4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch)
treeb6f535e053876097ced1b6bda14a4da890c730d4 /media-gfx/libbgcode
parent2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff)
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'media-gfx/libbgcode')
-rw-r--r--media-gfx/libbgcode/Manifest2
-rw-r--r--media-gfx/libbgcode/libbgcode-0.0.20240704.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/media-gfx/libbgcode/Manifest b/media-gfx/libbgcode/Manifest
index 213df9933b69..a4d0530e2ff9 100644
--- a/media-gfx/libbgcode/Manifest
+++ b/media-gfx/libbgcode/Manifest
@@ -1,3 +1,5 @@
DIST libbgcode-0.0.20240328.tar.gz 456463 BLAKE2B 7b9995e94d8f5081723ef435ef9bfe5ca75fbd09d2a8f5e6ff786fb5c4c9d6079a7f5a0b0d537b3b8a044c7126258e31ac411ef6a5aff287bf490672257506ee SHA512 13d5fe20b1faee5068a3c385041a680de5cdcec7fc34bc3f28c52bdab4d6b9e6170ad5ce5bb78399e956fc7f3fb5409e8e4adf0ff4850be686b3caf4d76ee3aa
+DIST libbgcode-0.0.20240704.tar.gz 456516 BLAKE2B 26f0a6f01a937da0fc4e4a4db715759967eb235f004daa9140841d7b0040a04dc86627c07265f5eb0cb7b34a9c6b43ec97ee1c59b53319ab95a9f3cb965fe906 SHA512 ed45cad28b15f5ac4b2cc340159f591c2cfb2560e8fa96f67bb122a2f7337a2fd67e632550fae8c07b36aad523ebe91334776f132291c4f84ff63d0f4a3b583e
EBUILD libbgcode-0.0.20240328.ebuild 769 BLAKE2B 0e7a698bbfac9e3a287f95b641d914145f27d1b84493ff06221d2b3046f806b6386d4ebf9e4bd9b801feb8739415540de2aed3faef782e8a0b9a7f0344a8b271 SHA512 73f09470c2a97f46f98c7b79aecc0de7429ca6de8233a7d55843eaec03ca8faa66b111fbaab356617971153f9f25eb140d01b18bdaf1c5258e6e93c0250fd69f
+EBUILD libbgcode-0.0.20240704.ebuild 770 BLAKE2B c74aaf15b8ece96e9f49224d5e4c792c877007eafaa7ab4cdf10a8513d61bf4e14dcd55d92a40e81ee41b488a38d6dcd2adb718acf2cc3da34fcd414b0b24822 SHA512 c50a463e08c9f1ddbac04c13166f0f7d72c782e588d5e8a1296cfa3140bc8f21ebda708f22ac910b8b05b38a6c2bfeaa6ab9217aba8722a6a19fa2f469cf2b22
MISC metadata.xml 517 BLAKE2B f13be19479e8ade30b867081f8014821be2c5650b407890268e6cab65330bd4b8e3ab37e6cba531f029ebb0499d0cb7269ccb17b309b15105f6bb6aa94b5c42e SHA512 0d09893294fc40e9b52bbdf7f8f31e075c1e8839fd90c2b9656b70d30ab52f088527ab2d1ffec797ecb1e309ea7d40bb48d571eafd19eb3a2592aef4e7c918c0
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
+}