diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-30 02:06:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-30 02:06:22 +0000 |
commit | 080d89feff80cae2fc974ff2f24d463141c20635 (patch) | |
tree | 53d0a66fabd88f847940192be8163c5f3291d434 /dev-libs/c-blosc2 | |
parent | 2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (diff) |
gentoo auto-resync : 30:11:2024 - 02:06:22
Diffstat (limited to 'dev-libs/c-blosc2')
-rw-r--r-- | dev-libs/c-blosc2/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/c-blosc2/c-blosc2-2.15.2.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest index 66e8c51f9477..e4984bcc8fa2 100644 --- a/dev-libs/c-blosc2/Manifest +++ b/dev-libs/c-blosc2/Manifest @@ -1,3 +1,5 @@ DIST c-blosc2-2.15.1.gh.tar.gz 3203267 BLAKE2B 0009afc8e9357a9d9787a60ee549bb21d68e952ca076f529add0f67500f2055a43463b3d612b600197579fd640b937024070508cb92b911d77e8ff4d8c7f16e5 SHA512 56e7395297ce8e336b2e881bf4dae169268ef19328bae8c037aa297696f723196f65eb3f66c03728d1c6492b768e17ad586f8aae29c9033b571f736d391e9ab9 +DIST c-blosc2-2.15.2.gh.tar.gz 3174873 BLAKE2B f656b81689ff30c54fd977e3652c8ee4a74320f2b4d9e2b25aa909254ed6f94021cebc63c6ddc1878a0125f97b56fc6583152c3cfae445adc976149e2449d69f SHA512 6208c2cfdd19eedada0b3a264229b1f17dee09280a66ce7d22dfcee80fe320a6cd68b5cc64994852316b7987f319284a5de70d043feb84f3d756b3ef30b723f7 EBUILD c-blosc2-2.15.1.ebuild 1488 BLAKE2B aa6fa8d8067e7d68ab520ef84e93ad971c34c81260ead49675ba02cd48da79cd0c01ef09404a95ef5048356b3e19c98e93a2ea617e4cde495d5b835acaf82f97 SHA512 e3f1ef57a6c2a397dd33cbd71dc2043d72c42d8779f2ccd2eaa4882f0cdadaaa79097d378cecaff2e3e9de5ca4db39998535f75017847700219914f7b23764e7 +EBUILD c-blosc2-2.15.2.ebuild 1493 BLAKE2B e97e395347fecde618e755ff036ca2dafc83d978665e4cf1c88b78fef61971d6d9eef9d5b59274f221ee591089f34dc02aaaf0537aab28cea6d5128452528d89 SHA512 b944815dfbe7770661a59a7f61f3c0d2ab4c6bc610d47c1f103f745c48b7b4af16338a580f15cf74a31ed57d0ad7824c0feee0c7d72c6a60259af2bd105f2173 MISC metadata.xml 327 BLAKE2B 5fafd7f688780e7c5479d492da4943b9a95122d5c64e36e4415fe69a708f983f9463824981d771424c1c75f7236a159ef843738a0b31430ccd572770fbc5a74e SHA512 9d2aa06eb8e144bafe1c65b9c7704993633f9e1db629d77209e8c832e09de34c641d9f588cf208d8f5f65ff489c56f1e01ef573213439ba99678601d6a790ee0 diff --git a/dev-libs/c-blosc2/c-blosc2-2.15.2.ebuild b/dev-libs/c-blosc2/c-blosc2-2.15.2.ebuild new file mode 100644 index 000000000000..e68541580ddc --- /dev/null +++ b/dev-libs/c-blosc2/c-blosc2-2.15.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE=" + https://www.blosc.org/c-blosc2/c-blosc2.html + https://github.com/Blosc/c-blosc2/ +" +SRC_URI=" + https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0/4" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test +zlib +zstd" +REQUIRED_USE="test? ( zlib zstd )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-arch/lz4-1.7.5:= + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + # remove bundled libs (just in case) + rm -rf internal-complibs || die + + local mycmakeargs=( + -DBUILD_STATIC=OFF + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_FUZZERS=OFF + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + -DPREFER_EXTERNAL_LZ4=ON + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + + # force regular zlib, at least for the time being + -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB_NG=ON + + # upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} defaults + # from applying, https://github.com/Blosc/c-blosc2/issues/433 + -DCMAKE_C_FLAGS="${CFLAGS}" + ) + cmake_src_configure +} + +src_test() { + # Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432 + MAKEOPTS=-j1 cmake_src_test +} |