commit: d35028e4dfb4fc597cc6218c40b8a45c8bb21ac4 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jul 18 04:07:53 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jul 18 04:39:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35028e4
dev-libs/c-blosc2: Bump to 2.19.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-libs/c-blosc2/Manifest | 1 + dev-libs/c-blosc2/c-blosc2-2.19.1.ebuild | 63 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest index c56f5956f167..73aca71d9487 100644 --- a/dev-libs/c-blosc2/Manifest +++ b/dev-libs/c-blosc2/Manifest @@ -1 +1,2 @@ DIST c-blosc2-2.19.0.gh.tar.gz 3300743 BLAKE2B 44ef2150bf618c1bac1ff9000f6f12ae3e6310026a82eac6efb26bc96ef4e3c7ec40d59d18c75c4e801ede5acce14c71403b230ca436b4efa0db3550902bb490 SHA512 92a92f251666238e741970b1ec7a46213d0755543e29ee160a2b20ba0b36aade7cc8971e5df7ea1aefe62c32b765efbcd60b6b20d7f697f086f6004ed65bd2a1 +DIST c-blosc2-2.19.1.gh.tar.gz 3301977 BLAKE2B e57059d990d86e6cebaebf38931e6a6ad1c1d17339b5b4600484012011cd8bd4bf0f2b1a63a07d11b4080f23f45d354d656cf9b8c02d41b1ebfd7a1e2f532bfd SHA512 f57959e96a48598e00e327fdc7d4c692116870cdd57fb36b65d783ee8a6a451bff9580bb4e43a428bf17b8eed364a269b702ec610c8d0c3569d6c3af466a3ac3 diff --git a/dev-libs/c-blosc2/c-blosc2-2.19.1.ebuild b/dev-libs/c-blosc2/c-blosc2-2.19.1.ebuild new file mode 100644 index 000000000000..00ff5d98f4f1 --- /dev/null +++ b/dev-libs/c-blosc2/c-blosc2-2.19.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 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 +}
