commit:     8a0a5ce80ceb1a9daeb8a0561994833cefb66548
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 14:53:15 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 14:53:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0a5ce8

sys-fs/squashfs-tools: Add USE=zstd

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Bug: https://bugs.gentoo.org/show_bug.cgi?id=680330
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 sys-fs/squashfs-tools/squashfs-tools-4.3_p11.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.3_p11.ebuild 
b/sys-fs/squashfs-tools/squashfs-tools-4.3_p11.ebuild
index 8565685e580..48c56a33545 100644
--- a/sys-fs/squashfs-tools/squashfs-tools-4.3_p11.ebuild
+++ b/sys-fs/squashfs-tools/squashfs-tools-4.3_p11.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
-IUSE="debug lz4 lzma lzo static xattr +xz"
+IUSE="debug lz4 lzma lzo static xattr +xz zstd"
 
 LIB_DEPEND="
        sys-libs/zlib[static-libs(+)]
@@ -24,6 +24,7 @@ LIB_DEPEND="
        lzo? ( dev-libs/lzo[static-libs(+)] )
        xattr? ( sys-apps/attr[static-libs(+)] )
        xz? ( app-arch/xz-utils[static-libs(+)] )
+       zstd? ( app-arch/zstd[static-libs(+)] )
 "
 RDEPEND="
        !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
@@ -63,6 +64,7 @@ src_configure() {
                LZ4_SUPPORT=$(use10 lz4)
                XATTR_SUPPORT=$(use10 xattr)
                XZ_SUPPORT=$(use10 xz)
+               ZSTD_SUPPORT=$(use10 zstd)
        )
 
        tc-export CC

Reply via email to