diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-26 00:12:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-26 00:12:24 +0100 |
commit | 9f6a82a85d400d6ae7de04c43cee88dbc6bc4da0 (patch) | |
tree | 2d53ee03e360a9c66a5d8dd8986eee286514336b /dev-libs/c-blosc | |
parent | 996a2bda06cb164877d5d952774a6db1b271c2f3 (diff) |
gentoo auto-resync : 26:06:2024 - 00:12:24
Diffstat (limited to 'dev-libs/c-blosc')
-rw-r--r-- | dev-libs/c-blosc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/c-blosc/c-blosc-1.21.6.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/c-blosc/Manifest b/dev-libs/c-blosc/Manifest index 3406f68ee029..8758aa922c58 100644 --- a/dev-libs/c-blosc/Manifest +++ b/dev-libs/c-blosc/Manifest @@ -1,4 +1,6 @@ AUX c-blosc-1.21.4-no-unaligned.patch 1275 BLAKE2B 899242fa0cf21d1a177e9633b7e7b38c764f424c327b832b54a16da1f6b519bfcda0493056c1d6db35678e73109e0e766e724dcfabb65c828b1cfa81b3b84677 SHA512 75796e0aae655cc1099ed84c51082adb50db0f7376c7f32925423206bb82b86f995a6ae5d311551fba4fdfb1f0c86c17e0dd43c30f94344680f66a9b9d7e5761 DIST c-blosc-1.21.5.gh.tar.gz 2458960 BLAKE2B f56e19146a1522554d5e8de23f580125a6181b50f1898c8e622e8ac50f2f40ab4cdaba62a5a2bc6ff437257550e205090ebe66bb8840202a26567abfc63fbf53 SHA512 01e6d80e1114d76c4bd1b413778c293d0455879ec38e1e1ec46e8e7eaf2997b47cc2de35bc52cdc4c2c70341b6f87d70626a9a9c24ffc8b7b170d760efa60c07 +DIST c-blosc-1.21.6.gh.tar.gz 2495309 BLAKE2B 87d3368a5070bb9be84b648c6727248630b97fbeda1cfcecf3da41256370436b719f943c63b84c196a2653e19c699a5f8c6aeffc0da4fffeda9fa7afeb81b853 SHA512 f32ac9ca7dd473f32201cdf4b7bb61a89e8bc3e3d16e027d2c6dc1aa838cb47c42dfed6942c9108532b3920ed22a8c662e7451890177c9bbe6ec5b8ab65362b3 EBUILD c-blosc-1.21.5.ebuild 1253 BLAKE2B 44845b86edb6909b2abf636a0add291e7b5351e136047575f97123e56d5b8dad600df119378f52df71b3b241b0c9520ee785a44beaeb9df0be459b5ae7567a9a SHA512 b6cd123dd2ae759fbe83afc1311310b5b42c594cf397624ecd5d628798ca163d9630a96d444c608b8b8313cbfc34893d9d02fcfcd243f54e54d6c8396b5d86b2 +EBUILD c-blosc-1.21.6.ebuild 1259 BLAKE2B 8e07d5d360b73c64cc119e8a85d676013d9e274bd59c1f6aa68b0a29dfe38405d4f0d979961f897cc863cd1592d1335b6e63091590710e1e4c17b1c5eac841cf SHA512 d9b6e31d0b619bcf5031f3e657db85dda3834dea96e94070e4b8d73e50b3b08706b999f3f63a1a507665dc57eac5b3f29d7070c037458dd3be482aba291baead MISC metadata.xml 839 BLAKE2B 108d89a888ba31f03eb42a0717c7c9458d599cdb67cf98940c88ff943ce2079c736b6a52ac4206d4ceda17f56ea67e52dae1c77b304d39fbb9ec249a8ac38576 SHA512 f4ed6f93992492a98499ad1dff54b3fcd14e35710e0307041e606ddfff54769c5ed6ccd3ef90a5ce7943425bcee93ea9b46211f643da30d94db88adb6be7d5f8 diff --git a/dev-libs/c-blosc/c-blosc-1.21.6.ebuild b/dev-libs/c-blosc/c-blosc-1.21.6.ebuild new file mode 100644 index 000000000000..784aa67e6e7e --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.21.6.ebuild @@ -0,0 +1,57 @@ +# 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/ + https://github.com/Blosc/c-blosc/ +" +SRC_URI=" + https://github.com/Blosc/c-blosc/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+lz4 +snappy test zlib zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + lz4? ( >=app-arch/lz4-1.7.5:= ) + snappy? ( app-arch/snappy:= ) + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.21.4-no-unaligned.patch +) + +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_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 +} |