mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/c-blosc2: Bump to 2.23.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST c-blosc2-2.23.0.gh.tar.gz 3337937 BLAKE2B a40ad07f3be7cb839b459c98e9cc04d29626b98e4a601e51277223fcb5cf5855c7bbd98052c0b867b157ee14e6e7a0a5dc1e0e849cbb129d995353a8ce598149 SHA512 199f6aa6bcc061c38523e73c26bdc913ac65e446f3390e65bd687973a8da6cb25b35b2614a1a4b51c287250b021454f2875378da0ab8ec16525fd7510b1c4686
|
||||
DIST c-blosc2-2.23.1.gh.tar.gz 3338640 BLAKE2B 528b4b87d2b8e29648de131b1d01a62402dbfd582e141b7933fa1faaf102aa6bcd5e4348e54a6bed7ac3046866e5a2bee8a808a14ad38c50d1ca310a59d692b2 SHA512 c6dd74c6f31649d361395b4817a2ca2e0da5353c5cd3ef7ce5f3969251b3393aaf3c2941cc77dd41a9672efb8acc7f68a9e5e8acf86b978123eed13a1225f827
|
||||
|
||||
61
dev-libs/c-blosc2/c-blosc2-2.23.1.ebuild
Normal file
61
dev-libs/c-blosc2/c-blosc2-2.23.1.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2026 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://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/7"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test +zlib +zstd"
|
||||
REQUIRED_USE="test? ( zlib zstd )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/lz4-1.7.5:=
|
||||
zlib? ( virtual/zlib:= )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
# Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432
|
||||
CTEST_JOBS=1
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user