1 |
commit: 482acd6a90760b9b5712df63689bb6ebd7d7bb79 |
2 |
Author: Liam Flaherty <liamflaherty <AT> chromium <DOT> org> |
3 |
AuthorDate: Thu Feb 24 07:43:30 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 02:10:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482acd6a |
7 |
|
8 |
dev-libs/libzip: Add zstd build options |
9 |
|
10 |
[sam: revbump for automagic fix] |
11 |
|
12 |
Signed-off-by: Liam Flaherty <liamflaherty <AT> chromium.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/24343 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libzip/{libzip-1.8.0.ebuild => libzip-1.8.0-r1.ebuild} | 4 +++- |
17 |
1 file changed, 3 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-libs/libzip/libzip-1.8.0.ebuild b/dev-libs/libzip/libzip-1.8.0-r1.ebuild |
20 |
similarity index 95% |
21 |
rename from dev-libs/libzip/libzip-1.8.0.ebuild |
22 |
rename to dev-libs/libzip/libzip-1.8.0-r1.ebuild |
23 |
index b5bd1678c9c4..63d0cba908af 100644 |
24 |
--- a/dev-libs/libzip/libzip-1.8.0.ebuild |
25 |
+++ b/dev-libs/libzip/libzip-1.8.0-r1.ebuild |
26 |
@@ -12,7 +12,7 @@ SRC_URI="https://www.nih.at/libzip/${P}.tar.xz" |
27 |
LICENSE="BSD" |
28 |
SLOT="0/5" |
29 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
30 |
-IUSE="bzip2 gnutls lzma mbedtls ssl static-libs test tools" |
31 |
+IUSE="bzip2 gnutls lzma mbedtls ssl static-libs test tools zstd" |
32 |
REQUIRED_USE="test? ( tools )" |
33 |
|
34 |
RESTRICT="!test? ( test )" |
35 |
@@ -31,6 +31,7 @@ DEPEND=" |
36 |
!mbedtls? ( dev-libs/openssl:0= ) |
37 |
) |
38 |
) |
39 |
+ zstd? ( app-arch/zstd ) |
40 |
" |
41 |
RDEPEND="${DEPEND}" |
42 |
|
43 |
@@ -48,6 +49,7 @@ src_configure() { |
44 |
-DENABLE_COMMONCRYPTO=OFF # not in tree |
45 |
-DENABLE_BZIP2=$(usex bzip2) |
46 |
-DENABLE_LZMA=$(usex lzma) |
47 |
+ -DENABLE_ZSTD=$(usex zstd) |
48 |
) |
49 |
if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then |
50 |
mycmakeargs+=( |