summaryrefslogtreecommitdiff
path: root/app-arch/libdeflate
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/libdeflate')
-rw-r--r--app-arch/libdeflate/Manifest10
-rw-r--r--app-arch/libdeflate/libdeflate-1.19-r1.ebuild (renamed from app-arch/libdeflate/libdeflate-1.19.ebuild)14
-rw-r--r--app-arch/libdeflate/libdeflate-1.20-r1.ebuild (renamed from app-arch/libdeflate/libdeflate-1.20.ebuild)14
-rw-r--r--app-arch/libdeflate/libdeflate-1.21.ebuild55
-rw-r--r--app-arch/libdeflate/libdeflate-9999.ebuild14
-rw-r--r--app-arch/libdeflate/metadata.xml8
6 files changed, 79 insertions, 36 deletions
diff --git a/app-arch/libdeflate/Manifest b/app-arch/libdeflate/Manifest
index 0149e0a9ab90..d969afa44dce 100644
--- a/app-arch/libdeflate/Manifest
+++ b/app-arch/libdeflate/Manifest
@@ -1,7 +1,9 @@
AUX libdeflate-1.19-make-gzip-tests-conditional.patch 1376 BLAKE2B 9480aed1f1a316899e844f99af988560cd5f07ff98336dbaef63a350ab9a7a76c75c4bf6d8e3709c0e99719dfcd0d3216976a9daab89e2c1277b4a20f036d074 SHA512 469698465c70804b356e628290cc50def2f6281262521b53794f5682c738f9245ec47a36877ebb506e0d070f21fd781478039c32a764d35ffd860ec98b34a30b
DIST libdeflate-1.19.tar.gz 187684 BLAKE2B 6d3c58b4095f91f64c25e09a062f1d7e68cd43b4dffc2de6484cd941ede4bffd8a82dd3af08eda6c94ad4120d40809c1d6a1814c28bad5387dfbaad418b93070 SHA512 fe57542a0d28ad61d70bef9b544bb6805f9f30930b16432712b3b1caab041f1f4e64315a4306a0635b96c2632239c5af0e45a3915581d0b89975729fc2e95613
DIST libdeflate-1.20.tar.gz 194212 BLAKE2B b3633f1068f36bf346e1f435c67259612ad5ed1571e83f1bbc4a58c6a67b3eadca85e0abb2d2d47f180dd2ff01c5891c8b3958a63ddbcc2447106f2e5cb3c0fe SHA512 5ebe6af9ce81872cba508d1f0aa087ddeb0e0f0c8e6360da66b8a9db2a76203dafbf3d3f6b3b791618ea9c6d0231fab5b4a55badb31a4480fb4174b9445c658b
-EBUILD libdeflate-1.19.ebuild 1334 BLAKE2B 3777957c8ac7c30df7cf3b838bbe15dd47e7df202945aa7b6848a57d7ce8f56c2fd03e76ac1cf05ebfd6be4b7ab9b5a1599483f92925b5a8605a7ff5adfaa3a0 SHA512 d9e5cd50722a7c5cb7bba2d11feb34f2a034dcc9d2d23a53a423368139f091de017ab882a924977652fcb1d550f4d584e50634a409927fdecb2bc6e52c094c11
-EBUILD libdeflate-1.20.ebuild 1381 BLAKE2B 5a0095637719ffc5f54ea7a3bd54432de2052f87a2982168126fbd33274a3580d3476599843dc2698d0010c140c17dc86c848eb7d7f49e026f0f35d1d39fc5ec SHA512 ac1377bc69e7f271c10ddaa9cecd1c0942e0d7bea6c874936429039adb15679028f196b66384676e9ae14406afc68ef2c5bbff2e8af22b4e4f9b7c587da9cf79
-EBUILD libdeflate-9999.ebuild 1381 BLAKE2B 5a0095637719ffc5f54ea7a3bd54432de2052f87a2982168126fbd33274a3580d3476599843dc2698d0010c140c17dc86c848eb7d7f49e026f0f35d1d39fc5ec SHA512 ac1377bc69e7f271c10ddaa9cecd1c0942e0d7bea6c874936429039adb15679028f196b66384676e9ae14406afc68ef2c5bbff2e8af22b4e4f9b7c587da9cf79
-MISC metadata.xml 778 BLAKE2B 91c91f6056ae4d819e47afbf0827a78d03e0d6c9508f7be719f04e1d2b26e62953ee5cf616cfb5f64ecb200a8c308df1bd0f19b020666f3516562311ea028bb6 SHA512 ed0195a5aa10b6ec10852e6b08b2740f513d333a1c458ec051dc30862844f659335c2d7cbe180fee31c24d68660ee4f2fcd182ff7a564f7bc06d48d4e4eb22f5
+DIST libdeflate-1.21.tar.gz 195361 BLAKE2B 8d1f2a71cb6a0823ab93631720f9807a6907f1d92490bb258b9bfcf9daf08b517eab3bdee064326a4274d7b193cffbafa24037e2be2503c17fa8daddef5cfff5 SHA512 7cd9bc91992ef824a0fdf175b0da081b8381decc325013477a3fbfcfe6cf240f66cedbeec830a51343fedb8c27c76fba8782c1aed3fc538e3afd6c9f8cdc90fb
+EBUILD libdeflate-1.19-r1.ebuild 1243 BLAKE2B c00431500ae37d9ce484784ea042e819ff997d23d63c3a2ad136f91be4c40e8e92c54a17b5ef09a1eeafe6a90ef232310e11dd5919f093a3545f5562076d4b4d SHA512 43dd01329736487ed4777290a142eb71d6ab70ec2f22f0b0311accac1b98a3fc97f5ca9657dd4cc8548df8d9203b83e5b6baf172b5a0d35202ceaafc5029ab4a
+EBUILD libdeflate-1.20-r1.ebuild 1294 BLAKE2B 250c4adc569764c4fb38443794103228498299c751912c20735fb72c39a6552492683a9a825535ab7681b509b71b6d830dfa35576d9064f4ba6c48349494087b SHA512 e22adbc6e3cc0b7030ef3eac3d0c391a87f66663161c8f302a84e00b62d5f56c6610cc1c64eefbff2944efb31480d418acce59c3b69b65cc2d99ce0107ad5b06
+EBUILD libdeflate-1.21.ebuild 1293 BLAKE2B d992c63d6b7a460bc2a18350ef2db232e3ff487ef15d6965907f1e3981b7e1b2ff8a61be0391962da123b656654c26fcc22fa97bac19a1e761474259ba01f40a SHA512 b056e0d5958b064122e5698a0adf04b46b43083821b7d8b79fd75c08f10453bbe38f71a6b63cb107e810461ccc6302079ac1930d9efc3f6c8d0edf3ef6a66d96
+EBUILD libdeflate-9999.ebuild 1294 BLAKE2B 250c4adc569764c4fb38443794103228498299c751912c20735fb72c39a6552492683a9a825535ab7681b509b71b6d830dfa35576d9064f4ba6c48349494087b SHA512 e22adbc6e3cc0b7030ef3eac3d0c391a87f66663161c8f302a84e00b62d5f56c6610cc1c64eefbff2944efb31480d418acce59c3b69b65cc2d99ce0107ad5b06
+MISC metadata.xml 677 BLAKE2B ef9eee70214885dc6195ac1d8a8396c2022ab40e3bf35765ec58f1bc78b771973d0ea304aee25d625b7fe938f709cc1b4fe195f4f7e3ccc22ad2b197a8056f01 SHA512 812274509ca55d81b117ca61ed175ed3dcc3d83fa1bf6ee3fc5a72fbd4833e1be0f9789cefcebc206b3f9171f25c06df370f20446a4300a3d0040f8efde8ab60
diff --git a/app-arch/libdeflate/libdeflate-1.19.ebuild b/app-arch/libdeflate/libdeflate-1.19-r1.ebuild
index b637d83a6dfe..aec8d7dcab4d 100644
--- a/app-arch/libdeflate/libdeflate-1.19.ebuild
+++ b/app-arch/libdeflate/libdeflate-1.19-r1.ebuild
@@ -13,23 +13,19 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/ebiggers/libdeflate.git"
else
SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
fi
LICENSE="MIT"
SLOT="0"
# the zlib USE-flag enables support for zlib
# the test USE-flag programs depend on sys-libs/zlib for comparison tests
-IUSE="+gzip +utils +zlib test"
+IUSE="+utils test"
RESTRICT="
!test? ( test )
"
-REQUIRED_USE="
- utils? ( gzip )
-"
-
DEPEND="
test? ( sys-libs/zlib )
"
@@ -47,10 +43,10 @@ src_configure() {
-DLIBDEFLATE_COMPRESSION_SUPPORT="yes"
-DLIBDEFLATE_DECOMPRESSION_SUPPORT="yes"
- -DLIBDEFLATE_BUILD_GZIP="$(usex gzip "$(usex utils)" )"
- -DLIBDEFLATE_GZIP_SUPPORT="$(usex gzip)"
+ -DLIBDEFLATE_BUILD_GZIP="$(usex utils)"
+ -DLIBDEFLATE_GZIP_SUPPORT="yes"
- -DLIBDEFLATE_ZLIB_SUPPORT="$(usex zlib)"
+ -DLIBDEFLATE_ZLIB_SUPPORT="yes"
-DLIBDEFLATE_BUILD_TESTS="$(usex test)"
)
diff --git a/app-arch/libdeflate/libdeflate-1.20.ebuild b/app-arch/libdeflate/libdeflate-1.20-r1.ebuild
index 395b2234ceea..5fe78e961178 100644
--- a/app-arch/libdeflate/libdeflate-1.20.ebuild
+++ b/app-arch/libdeflate/libdeflate-1.20-r1.ebuild
@@ -13,23 +13,19 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/ebiggers/libdeflate.git"
else
SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="MIT"
SLOT="0"
# the zlib USE-flag enables support for zlib
# the test USE-flag programs depend on sys-libs/zlib for comparison tests
-IUSE="+gzip +utils +zlib test"
+IUSE="+utils test"
RESTRICT="
!test? ( test )
"
-REQUIRED_USE="
- utils? ( gzip )
-"
-
DEPEND="
test? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
"
@@ -47,10 +43,10 @@ src_configure() {
-DLIBDEFLATE_COMPRESSION_SUPPORT="yes"
-DLIBDEFLATE_DECOMPRESSION_SUPPORT="yes"
- -DLIBDEFLATE_BUILD_GZIP="$(usex gzip "$(usex utils)" )"
- -DLIBDEFLATE_GZIP_SUPPORT="$(usex gzip)"
+ -DLIBDEFLATE_BUILD_GZIP="$(usex utils)"
+ -DLIBDEFLATE_GZIP_SUPPORT="yes"
- -DLIBDEFLATE_ZLIB_SUPPORT="$(usex zlib)"
+ -DLIBDEFLATE_ZLIB_SUPPORT="yes"
-DLIBDEFLATE_BUILD_TESTS="$(usex test)"
)
diff --git a/app-arch/libdeflate/libdeflate-1.21.ebuild b/app-arch/libdeflate/libdeflate-1.21.ebuild
new file mode 100644
index 000000000000..9782ab1c0539
--- /dev/null
+++ b/app-arch/libdeflate/libdeflate-1.21.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression"
+HOMEPAGE="https://github.com/ebiggers/libdeflate"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ebiggers/libdeflate.git"
+else
+ SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+# the zlib USE-flag enables support for zlib
+# the test USE-flag programs depend on sys-libs/zlib for comparison tests
+IUSE="+utils test"
+
+RESTRICT="
+ !test? ( test )
+"
+
+DEPEND="
+ test? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.19-make-gzip-tests-conditional.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIBDEFLATE_BUILD_SHARED_LIB="yes"
+ -DLIBDEFLATE_BUILD_STATIC_LIB="no"
+ -DLIBDEFLATE_USE_SHARED_LIB="yes"
+
+ -DLIBDEFLATE_COMPRESSION_SUPPORT="yes"
+ -DLIBDEFLATE_DECOMPRESSION_SUPPORT="yes"
+
+ -DLIBDEFLATE_BUILD_GZIP="$(usex utils)"
+ -DLIBDEFLATE_GZIP_SUPPORT="yes"
+
+ -DLIBDEFLATE_ZLIB_SUPPORT="yes"
+
+ -DLIBDEFLATE_BUILD_TESTS="$(usex test)"
+ )
+
+ cmake-multilib_src_configure
+}
diff --git a/app-arch/libdeflate/libdeflate-9999.ebuild b/app-arch/libdeflate/libdeflate-9999.ebuild
index 395b2234ceea..5fe78e961178 100644
--- a/app-arch/libdeflate/libdeflate-9999.ebuild
+++ b/app-arch/libdeflate/libdeflate-9999.ebuild
@@ -13,23 +13,19 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/ebiggers/libdeflate.git"
else
SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="MIT"
SLOT="0"
# the zlib USE-flag enables support for zlib
# the test USE-flag programs depend on sys-libs/zlib for comparison tests
-IUSE="+gzip +utils +zlib test"
+IUSE="+utils test"
RESTRICT="
!test? ( test )
"
-REQUIRED_USE="
- utils? ( gzip )
-"
-
DEPEND="
test? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
"
@@ -47,10 +43,10 @@ src_configure() {
-DLIBDEFLATE_COMPRESSION_SUPPORT="yes"
-DLIBDEFLATE_DECOMPRESSION_SUPPORT="yes"
- -DLIBDEFLATE_BUILD_GZIP="$(usex gzip "$(usex utils)" )"
- -DLIBDEFLATE_GZIP_SUPPORT="$(usex gzip)"
+ -DLIBDEFLATE_BUILD_GZIP="$(usex utils)"
+ -DLIBDEFLATE_GZIP_SUPPORT="yes"
- -DLIBDEFLATE_ZLIB_SUPPORT="$(usex zlib)"
+ -DLIBDEFLATE_ZLIB_SUPPORT="yes"
-DLIBDEFLATE_BUILD_TESTS="$(usex test)"
)
diff --git a/app-arch/libdeflate/metadata.xml b/app-arch/libdeflate/metadata.xml
index 17956aa98f85..0d1269e3b4ce 100644
--- a/app-arch/libdeflate/metadata.xml
+++ b/app-arch/libdeflate/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-wanted -->
- <maintainer type="person" proxied="yes">
+ <maintainer type="person" proxied="yes">
<email>negril.nx+gentoo@gmail.com</email>
<name>Paul Zander</name>
</maintainer>
@@ -11,12 +11,10 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
- <flag name="gzip">Support the gzip format</flag>
<flag name="test">Build the test programs (requires <pkg>sys-libs/zlib</pkg>)</flag>
<flag name="utils">Build the libdeflate-gzip program</flag>
- <flag name="zlib">Support the zlib format</flag>
</use>
<upstream>
<remote-id type="github">ebiggers/libdeflate</remote-id>
</upstream>
-</pkgmetadata> \ No newline at end of file
+</pkgmetadata>