diff options
author | Liam Flaherty <liamflaherty@chromium.org> | 2022-02-24 07:43:30 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-26 02:10:09 +0000 |
commit | 482acd6a90760b9b5712df63689bb6ebd7d7bb79 (patch) | |
tree | 7be77a97bbfb3e5c2a401341b53b3bb50dffd116 /dev-libs/libzip | |
parent | media-gfx/blender: Update python targets (diff) | |
download | gentoo-482acd6a90760b9b5712df63689bb6ebd7d7bb79.tar.gz gentoo-482acd6a90760b9b5712df63689bb6ebd7d7bb79.tar.bz2 gentoo-482acd6a90760b9b5712df63689bb6ebd7d7bb79.zip |
dev-libs/libzip: Add zstd build options
[sam: revbump for automagic fix]
Signed-off-by: Liam Flaherty <liamflaherty@chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/24343
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libzip')
-rw-r--r-- | dev-libs/libzip/libzip-1.8.0-r1.ebuild (renamed from dev-libs/libzip/libzip-1.8.0.ebuild) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/libzip/libzip-1.8.0.ebuild b/dev-libs/libzip/libzip-1.8.0-r1.ebuild index b5bd1678c9c4..63d0cba908af 100644 --- a/dev-libs/libzip/libzip-1.8.0.ebuild +++ b/dev-libs/libzip/libzip-1.8.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.nih.at/libzip/${P}.tar.xz" LICENSE="BSD" SLOT="0/5" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="bzip2 gnutls lzma mbedtls ssl static-libs test tools" +IUSE="bzip2 gnutls lzma mbedtls ssl static-libs test tools zstd" REQUIRED_USE="test? ( tools )" RESTRICT="!test? ( test )" @@ -31,6 +31,7 @@ DEPEND=" !mbedtls? ( dev-libs/openssl:0= ) ) ) + zstd? ( app-arch/zstd ) " RDEPEND="${DEPEND}" @@ -48,6 +49,7 @@ src_configure() { -DENABLE_COMMONCRYPTO=OFF # not in tree -DENABLE_BZIP2=$(usex bzip2) -DENABLE_LZMA=$(usex lzma) + -DENABLE_ZSTD=$(usex zstd) ) if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then mycmakeargs+=( |