diff options
Diffstat (limited to 'media-gfx/libbgcode')
-rw-r--r-- | media-gfx/libbgcode/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/libbgcode/libbgcode-0.0.20241024.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/media-gfx/libbgcode/Manifest b/media-gfx/libbgcode/Manifest index 3ee929f68df2..bc55bffd78d8 100644 --- a/media-gfx/libbgcode/Manifest +++ b/media-gfx/libbgcode/Manifest @@ -1,3 +1,5 @@ DIST libbgcode-0.0.20240903.tar.gz 456751 BLAKE2B 93cd8eb83083581ba1ba735c6820dc0ead18d13ca0613387559d610f39c8011881bcc92ffec65fbcb40113b2b877050c15c7816d6db063698ce7ba5df7b35eda SHA512 86e9d85f0e52ebde853979e79639dc4424e26686fe55c45d78ca683cf32d8ec059976d43ffda9339a41892d30ebb267f8c360851889ad0a48ced874c27546f04 +DIST libbgcode-0.0.20241024.tar.gz 529007 BLAKE2B 1ca0bfbf5ad6329190ba9c452678bbae0beba8121a9fd1c3e7642b365c86cccbf26ae41841a0596cf37034fda4930f771729a999ffd231000775841348db0cbd SHA512 1efc72180319f3876823a0da486f4a59c0c83e197cdd3f3a1163266e226d7026d5dc8f8f290e0507cd71a6cdea5648404fbe24a975833eba67ee98fb4b0466a3 EBUILD libbgcode-0.0.20240903.ebuild 769 BLAKE2B d7d12286daa36967556870cc79ea85fe390ed21fdb02a47232bb4da750796d271deb3f6c14bd94ae260c6e9cf8a392f06e067a209821151da23721fa51a22045 SHA512 28cd11cdc56b70aa4b5ee7d39672269ee81c00f828f265a295228684c6185e4fa874dd3c30a8af75e715c5c4824eab87612494a98c58bdfbc572648f1d08603a +EBUILD libbgcode-0.0.20241024.ebuild 770 BLAKE2B f83defa65da2128f048b1f0f007f1ebc3503ab262984518d2f0cec11376b632874e03eb5a40a9840beeb8b45a3d91751a39bd2e897b410000c0ee3c5d0a7c309 SHA512 63e600d29245d292aa58dd6487708033ad1b18b97cb9ff9ebb6f72a616012f0fcf8d7628a016bdfafe1069b93d8eacb580eb665e64f9f4cab7564373aef6f7bb MISC metadata.xml 517 BLAKE2B f13be19479e8ade30b867081f8014821be2c5650b407890268e6cab65330bd4b8e3ab37e6cba531f029ebb0499d0cb7269ccb17b309b15105f6bb6aa94b5c42e SHA512 0d09893294fc40e9b52bbdf7f8f31e075c1e8839fd90c2b9656b70d30ab52f088527ab2d1ffec797ecb1e309ea7d40bb48d571eafd19eb3a2592aef4e7c918c0 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 +} |