diff options
Diffstat (limited to 'dev-libs/c-blosc')
-rw-r--r-- | dev-libs/c-blosc/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/c-blosc/c-blosc-1.21.0.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/c-blosc/c-blosc-1.21.1.ebuild | 47 |
3 files changed, 51 insertions, 2 deletions
diff --git a/dev-libs/c-blosc/Manifest b/dev-libs/c-blosc/Manifest index c9c83dd43397..d59a0120e282 100644 --- a/dev-libs/c-blosc/Manifest +++ b/dev-libs/c-blosc/Manifest @@ -1,3 +1,5 @@ DIST c-blosc-1.21.0.tar.gz 907199 BLAKE2B 08c52ce5f0d285798aef8720378d1cc3f2d2b0a99cf47f0a49dc82757a0edb4a37c5c0d226a80bae5f9be74b5c2a070906387b9677df71ea6b825662997168a1 SHA512 76758176f91979794dc3b8d46c21294d81e33fda4f2e299b031f2dc059d77e351e3f5f1c984b0263713d6e04c48534984d580244573dd96f0198dd3838b9f376 -EBUILD c-blosc-1.21.0.ebuild 1142 BLAKE2B 9c8f3cba827dda5ace435ddecce5c515626c41ade9bdeaf99d0c1c37d6ddead4498f50ab95badf4f8512193d02040ade120f9b818c4d381a3475787734491a2f SHA512 8eb37552623c655b6638073246a845207b81b3ed19289b0f3e275be54e1b6f0f58fdd2c545ccfdabd690fd91d53c939264ce527f5eddaec74bf74743a2c9995f +DIST c-blosc-1.21.1.tar.gz 1456777 BLAKE2B a6a48d79fc8cb3df277e878a69361a5d12552be4b8ae50a4a95d2fe48d5b073c849724913a20c2834de7cf3cac7f288ddfec977ed1e4a1875fc3d21975907b44 SHA512 e06712ffaeaa6892415a6b01219221426c20af4191db6ca923301313daa8f5b0a83a7a3cd273f7013766349ace4e4869590e9c44bd892e57027ca45de53779e7 +EBUILD c-blosc-1.21.0.ebuild 1141 BLAKE2B 1d43f07b622001bb3dd5c3b7d9b6b74d8ecdcf85f4a7dadeb94e71facf6065657bf26da8013a4c96eb487157c53c77d4e484ec4dd59f090979d5f7b70f487b5d SHA512 4e2a40f2abd2ece98cf1842f28d2d27bfb286d473ea9eba7701c2646b8da4efa8bbff047b2656fe12547fd2ae7dab53f7d4211d01f1cf8d28968e2c9262c2812 +EBUILD c-blosc-1.21.1.ebuild 1150 BLAKE2B 9d7b0fd2e6ad0f74b8b8d0a4668380d823eb4a28a2b0fbaf87bb22cf2bb4b9b7fb038b1739caa59bd41db610519492c6044b5a99e992a1765e46a0b8c747c115 SHA512 644daaa197f973279f08379f79160f6486f6e2c14517704b7b3f201918d9c27bacbfe20c5fcbcb69dfb911a4222e2f8a0f0840eedb57868fde58961f8547c6c4 MISC metadata.xml 839 BLAKE2B 108d89a888ba31f03eb42a0717c7c9458d599cdb67cf98940c88ff943ce2079c736b6a52ac4206d4ceda17f56ea67e52dae1c77b304d39fbb9ec249a8ac38576 SHA512 f4ed6f93992492a98499ad1dff54b3fcd14e35710e0307041e606ddfff54769c5ed6ccd3ef90a5ce7943425bcee93ea9b46211f643da30d94db88adb6be7d5f8 diff --git a/dev-libs/c-blosc/c-blosc-1.21.0.ebuild b/dev-libs/c-blosc/c-blosc-1.21.0.ebuild index 0ac23bf17961..538bb8af80da 100644 --- a/dev-libs/c-blosc/c-blosc-1.21.0.ebuild +++ b/dev-libs/c-blosc/c-blosc-1.21.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0/1" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+lz4 +snappy test zlib zstd" RESTRICT="!test? ( test )" diff --git a/dev-libs/c-blosc/c-blosc-1.21.1.ebuild b/dev-libs/c-blosc/c-blosc-1.21.1.ebuild new file mode 100644 index 000000000000..c62aa2eef0a0 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.21.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 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/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+lz4 +snappy test zlib zstd" +RESTRICT="!test? ( test )" + +RDEPEND=" + lz4? ( >=app-arch/lz4-1.7.5:= ) + snappy? ( app-arch/snappy:= ) + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= )" +DEPEND="${RDEPEND}" + +src_prepare() { + cmake_src_prepare + # remove bundled libs + rm -rf internal-complibs || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=OFF + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + -DBUILD_FUZZERS=OFF + -DDEACTIVATE_LZ4=$(usex !lz4) + -DDEACTIVATE_SNAPPY=$(usex !snappy) + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + -DPREFER_EXTERNAL_LZ4=ON + # snappy is always external + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + ) + cmake_src_configure +} |