From 441d1370330332b7d78f238d2f5e13f7aed5e4e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Dec 2020 23:06:25 +0000 Subject: gentoo christmass resync : 25.12.2020 --- dev-libs/c-blosc/Manifest | 2 ++ dev-libs/c-blosc/c-blosc-1.21.0.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-libs/c-blosc/c-blosc-1.21.0.ebuild (limited to 'dev-libs/c-blosc') diff --git a/dev-libs/c-blosc/Manifest b/dev-libs/c-blosc/Manifest index 9dfd420c4ef4..2b78860fa532 100644 --- a/dev-libs/c-blosc/Manifest +++ b/dev-libs/c-blosc/Manifest @@ -1,3 +1,5 @@ DIST c-blosc-1.20.1.tar.gz 878895 BLAKE2B 54f91ffc0b270f8bc8ace8893c01ab6847096397f76b31c5adf0516903cee29d867973317de5d016807837ac098b170542c0b8e702d386bf9166de31863f6eab SHA512 59f83dfb3f0db6530daeae699f0915d6c8a7186cea1fe2face7110f5c94c2e8ccc12eb0078de968552b6ac32163b2ec6fb19b79966d2c85574a2676b454f5475 +DIST c-blosc-1.21.0.tar.gz 907199 BLAKE2B 08c52ce5f0d285798aef8720378d1cc3f2d2b0a99cf47f0a49dc82757a0edb4a37c5c0d226a80bae5f9be74b5c2a070906387b9677df71ea6b825662997168a1 SHA512 76758176f91979794dc3b8d46c21294d81e33fda4f2e299b031f2dc059d77e351e3f5f1c984b0263713d6e04c48534984d580244573dd96f0198dd3838b9f376 EBUILD c-blosc-1.20.1.ebuild 1116 BLAKE2B 02a343be0d3eaa9c68527412bfa9fcb4f617ffd8710ac438f55710dbf9bf5262e2756b6d31625c0066af40995d32f8052932a06174e7e7432bf95d651c88ae55 SHA512 a841e25358a6b757a38d40e03bd563c5e485bd8d56177a544d158fb4147bc2c2badf14cc7059180cb0566a7b22dd070ceeb04b71c92d3f97413a0d89f4d15581 +EBUILD c-blosc-1.21.0.ebuild 1118 BLAKE2B d915c96971f1796fc37181fd4beb28b30e710190de0fc8842f62518ed148340196870b74e88bb0d76644bdc05f2d808b04ffb6e5ffbb28f9900d2205ebc2ad12 SHA512 8957ced34ce9ecab48a1a7e2ae768a36c5f6e1c4a49ab0229a5910de726b4bd483ca14fb20439030f57a82f1cc51a77358d0ee72a3eca221000cf84f875b2600 MISC metadata.xml 838 BLAKE2B 3dadd7fc571618d6b398e434354b65a7c59dbe07d2530069ac9ab7f879cc5b16407079a4e1fdbd54110b3be9a0bf25c13512c2030fc9042cbd105d9b294dd279 SHA512 5c1f4bd8e4ef92dbef6d9a6418fbdab91c377c275eeb572a0c0e785a25f342be0dd032ad14106b9139fb7208064f16fb428ebd7b65d50d35b87089244b026654 diff --git a/dev-libs/c-blosc/c-blosc-1.21.0.ebuild b/dev-libs/c-blosc/c-blosc-1.21.0.ebuild new file mode 100644 index 000000000000..3890df40b0be --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.21.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~ppc ~ppc64 ~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 +} -- cgit v1.2.3