diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-01 16:47:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-01 16:47:54 +0100 |
commit | c545c34c9943252735b3bca1a9542db7f56cb9cb (patch) | |
tree | c93d13171a016c5e839c08e9a5cd04ed0036341b /dev-libs/c-blosc2 | |
parent | 958e1f729da918df0d3a435745d914882c2786e5 (diff) |
gentoo auto-resync : 01:08:2023 - 16:47:53
Diffstat (limited to 'dev-libs/c-blosc2')
-rw-r--r-- | dev-libs/c-blosc2/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/c-blosc2/c-blosc2-2.10.1.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest index cb8d913716e2..f688201dc85c 100644 --- a/dev-libs/c-blosc2/Manifest +++ b/dev-libs/c-blosc2/Manifest @@ -1,10 +1,12 @@ AUX c-blosc2-2.9.1-header.patch 882 BLAKE2B e1537c56f56aba3ba7012c1bad8460514e4d41cccf73394986fc4389b431d51934380d0ce674922c5c3c6f7c43f626ee2dce41ed7dca0f72aef52fb8cba6f735 SHA512 645c6e3ee1178b292341eb6758e9c49377ad1571cb222dd270eb88c8664ed3c290c6295733c265a3397008899f67b407a0af330a65d0e9f86fdf5c2cc5ba1842 DIST c-blosc2-2.10.0.gh.tar.gz 3140563 BLAKE2B c3469b38196efab099ee117b74e864de06ed9619e53b8a895ac761876bafff944d1315e1a51064b6b92198a22691018e0ce25ee4485d2e36b7017ec642224b6d SHA512 1d7588cc8e1ffbb4cee4549e0f913e0671e02b405c918eb0bebde7a6af35005c1e7c6c95142cd80abd7175542e9f91e8454fd88262f668c3a24982b69f1644fa +DIST c-blosc2-2.10.1.gh.tar.gz 3142877 BLAKE2B de7e3479ff6255da235c08926563b2236de086edba51a2949de3537fd7c224de1007053747867ebe8aa6ce70a969816271850b695bc8168747639514fea8b6de SHA512 1c1d1db77f2091059e0c6cc6edb578d29d6970e319acd21eb9fb6b0610c3e206eee2c464c9690cd609a5e53da17eb27cfd1469f6a531b0d5f9a9d8a5c9f00a92 DIST c-blosc2-2.6.1.gh.tar.gz 2365300 BLAKE2B a3fdc8798eb70e97791b7b708ef872142d38b9c4fdb8efc6d5da2010149fa61f4115f27af630a43edd5f351cb8693fbb79457f19ccf1a518f057902b93196b3d SHA512 9f5daa59d5191784ee91deb18ed15a3b36504b05061ca8b1532eaf8e402c793944059894b277843e8da19f00af05615e0865d9fdb80decd83aa07867b0e661a0 DIST c-blosc2-2.9.1.gh.tar.gz 2793299 BLAKE2B 1853611566f081f5c6236ade1882b07aa6d596f65bb303823f418faaf0e971c1850e3e78ca501650880d4611110200c302896e81a5b13cdf05bc43c81b81dd3a SHA512 9430c026f9d7a98e38915e3d308402989073aa6fa1e8e1d5b9bdb155c70c5cc24ca118cdb5b3584647f72ae80a13be0a8467250af7ef336a1ac72eb8ec8a67f5 DIST c-blosc2-2.9.2.gh.tar.gz 2790821 BLAKE2B c47c59b7db8c3fbe04e6f63a2474ad325d7c59f5508c42dfc005a690a3020c6479927d5884f909ad106ff4c2aa04523786133a407ec8a54ee92887b24a214428 SHA512 f44346bf3ce8824dbe23d33b688d6b2063406011c066cc14ea3319537c17ecc5c1250c30d77e50696aad9932e0dd10fc95ab4f2c295208808446525636314522 DIST c-blosc2-2.9.3.gh.tar.gz 3139809 BLAKE2B 740bfbc3cd1416d0863f6939ba4b5e27b2ae7947a407838e4061ef42c005ee255abdd8bbcbecb25123b7ff50ece62493ad3b5a84d4e02a65e1791c9007cf5b5d SHA512 30e792ba982d66936813c2dc56f85ee17a1a73ec475c15d6448cc1f5ac88f917f7a823e4b7b59c1271b1a9ee1ddd1f15fb74d6c0fa61d653b16d1a05209dfde4 EBUILD c-blosc2-2.10.0.ebuild 1394 BLAKE2B 8a147114436734249aee396ab2f0e0a57e84d741fa104baf21b88bd79daae253018e19713628eaa4caae86fa74c0dee7e3e9f9efd6ff14bae1f11ca2d4ae6778 SHA512 232708c46657997be859a9a1f545fc4235165a371633ae09dd4aac9e4a87bfab706741471904ff3e9537b4917c9ccb29fd1fb9b039667e12dd1bd8f83b8a01fa +EBUILD c-blosc2-2.10.1.ebuild 1394 BLAKE2B 8a147114436734249aee396ab2f0e0a57e84d741fa104baf21b88bd79daae253018e19713628eaa4caae86fa74c0dee7e3e9f9efd6ff14bae1f11ca2d4ae6778 SHA512 232708c46657997be859a9a1f545fc4235165a371633ae09dd4aac9e4a87bfab706741471904ff3e9537b4917c9ccb29fd1fb9b039667e12dd1bd8f83b8a01fa EBUILD c-blosc2-2.6.1.ebuild 1391 BLAKE2B 2b44bfc10ec112298f66cbf8d681ff7396b37378c021d4c43492c6ec02a5483c3e04971b9c4d8aa21ec6fea0b96cefc7918c71dfef1381ef0daab64e2c400afc SHA512 bd4aee3783cc1fac740df283629054fdb83a5c98406b7f39efb9aff412aac0387a1adfbed9c3506e66bf5d826df2cddd89350a7b54fc15f8af91aeff53841fac EBUILD c-blosc2-2.9.1-r1.ebuild 1474 BLAKE2B 72fc3e552d5a38bac4fe8e0b81ef8295dda1c1de8a470a8652a745e42f480b5d642856ea9e242a656ed4d8a5591e4e65f7f51106ea2ce988b6cb10238cd07afa SHA512 bbfe7a2bdd3a7effe2ba2b6b30cdd0d7d016f7b1829373315d8b522b53f4d9b21c04c07a3b80d82464ddb2174b48b26543b9c5aa87b7d883d2231bb8f84bec31 EBUILD c-blosc2-2.9.2.ebuild 1394 BLAKE2B 8a147114436734249aee396ab2f0e0a57e84d741fa104baf21b88bd79daae253018e19713628eaa4caae86fa74c0dee7e3e9f9efd6ff14bae1f11ca2d4ae6778 SHA512 232708c46657997be859a9a1f545fc4235165a371633ae09dd4aac9e4a87bfab706741471904ff3e9537b4917c9ccb29fd1fb9b039667e12dd1bd8f83b8a01fa diff --git a/dev-libs/c-blosc2/c-blosc2-2.10.1.ebuild b/dev-libs/c-blosc2/c-blosc2-2.10.1.ebuild new file mode 100644 index 000000000000..1a7c40ef0f55 --- /dev/null +++ b/dev-libs/c-blosc2/c-blosc2-2.10.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 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/1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 + + # 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 +} |