diff options
author | Tom Englund <tomenglund26@gmail.com> | 2024-03-30 20:19:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-07-15 03:16:36 +0100 |
commit | aac0cbdb69ce2f9d11f7657067d5ef15f0cad32c (patch) | |
tree | 9856c95ff44666f1eb9ea3c47fbed64dadeda256 /sys-libs/minizip-ng | |
parent | sys-libs/minizip-ng: drop 4.0.4 (diff) | |
download | gentoo-aac0cbdb69ce2f9d11f7657067d5ef15f0cad32c.tar.gz gentoo-aac0cbdb69ce2f9d11f7657067d5ef15f0cad32c.tar.bz2 gentoo-aac0cbdb69ce2f9d11f7657067d5ef15f0cad32c.zip |
sys-libs/minizip-ng: add lzma USE-flag
it is optional in minizip-ng and there is a global lzma USE-flag in use for other
ebuilds.
Closes: https://bugs.gentoo.org/928249
Signed-off-by: Tom Englund <tomenglund26@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36001
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/minizip-ng')
-rw-r--r-- | sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild b/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild index 117488f128e9..776436dd47e5 100644 --- a/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild +++ b/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild @@ -15,18 +15,18 @@ SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz -> LICENSE="ZLIB" SLOT="0/4" KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="compat openssl test zstd" +IUSE="compat lzma openssl test zstd" RESTRICT="!test? ( test )" # Automagically prefers sys-libs/zlib-ng if installed, so let's # just depend on it as presumably it's better tested anyway. RDEPEND=" app-arch/bzip2[${MULTILIB_USEDEP}] - app-arch/xz-utils dev-libs/libbsd[${MULTILIB_USEDEP}] sys-libs/zlib-ng[${MULTILIB_USEDEP}] virtual/libiconv compat? ( !sys-libs/zlib[minizip] ) + lzma? ( app-arch/xz-utils ) openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] ) zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) " @@ -52,7 +52,7 @@ multilib_src_configure() { # Compression library options -DMZ_ZLIB=ON -DMZ_BZIP2=ON - -DMZ_LZMA=ON + -DMZ_LZMA=$(usex lzma) -DMZ_ZSTD=$(usex zstd) -DMZ_LIBCOMP=OFF |