diff options
author | Martin Väth <martin@mvath.de> | 2016-07-31 14:05:35 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2016-07-31 14:05:35 +0200 |
commit | b7bbd2f9aaebcdd518c02bd69419b3ebd5652742 (patch) | |
tree | 6481d57b02c8be2a2802689719b67f598165f918 | |
parent | sys-fs/squashmount: Version bump (diff) | |
download | mv-b7bbd2f9aaebcdd518c02bd69419b3ebd5652742.tar.gz mv-b7bbd2f9aaebcdd518c02bd69419b3ebd5652742.tar.bz2 mv-b7bbd2f9aaebcdd518c02bd69419b3ebd5652742.zip |
sys-fs/squashfuse: Fix automagic lz4 dependency
-rw-r--r-- | profiles/use.local.desc | 1 | ||||
-rw-r--r-- | sys-fs/squashfuse/metadata.xml | 3 | ||||
-rw-r--r-- | sys-fs/squashfuse/squashfuse-0.1.100.ebuild | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/profiles/use.local.desc b/profiles/use.local.desc index 02b58b92..549ae8f1 100644 --- a/profiles/use.local.desc +++ b/profiles/use.local.desc @@ -226,6 +226,7 @@ sys-fs/squash_dir:overlayfs - Prefer overlayfs sys-fs/squash_dir:unionfs-fuse - Prefer unionfs-fuse sys-fs/squashfs-tools:lz4 - Enable support for LZ4 compression using app-arch/lz4 sys-fs/squashfs-tools:xz - Enable support for XZ ("LZMA2") compression using app-arch/xz-utils +sys-fs/squashfuse:lz4 - Enable support for LZ4 compression using app-arch/lz4 x11-drivers/nvidia-drivers:kernel3-13 - Install unofficial patches for linux-3.13 and newer x11-drivers/nvidia-drivers:kernel3-14 - Install unofficial patches for linux-3.14 and newer x11-drivers/nvidia-drivers:kernel3-17 - Install unofficial patches for linux-3.17 and newer diff --git a/sys-fs/squashfuse/metadata.xml b/sys-fs/squashfuse/metadata.xml index aed03626..0dd9fb53 100644 --- a/sys-fs/squashfuse/metadata.xml +++ b/sys-fs/squashfuse/metadata.xml @@ -16,4 +16,7 @@ <email>zmedico@gentoo.org</email> <name>Zac Medico</name> </maintainer> + <use> + <flag name="lz4">Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg></flag> + </use> </pkgmetadata> diff --git a/sys-fs/squashfuse/squashfuse-0.1.100.ebuild b/sys-fs/squashfuse/squashfuse-0.1.100.ebuild index a88548bf..12afd38e 100644 --- a/sys-fs/squashfuse/squashfuse-0.1.100.ebuild +++ b/sys-fs/squashfuse/squashfuse-0.1.100.ebuild @@ -13,14 +13,15 @@ SRC_URI="https://github.com/vasi/squashfuse/releases/download/${PV}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="lzma lzo +zlib" -REQUIRED_USE="|| ( lzma zlib lzo )" +IUSE="lz4 lzma lzo +zlib" +REQUIRED_USE="|| ( lz4 lzma lzo zlib )" COMMON_DEPEND=" >=sys-fs/fuse-2.8.6:= lzma? ( >=app-arch/xz-utils-5.0.4:= ) zlib? ( >=sys-libs/zlib-1.2.5-r2:= ) lzo? ( >=dev-libs/lzo-2.06:= ) + lz4? ( >=app-arch/lz4-0_p106:= ) " DEPEND="app-arch/unzip ${COMMON_DEPEND}" @@ -29,6 +30,7 @@ RDEPEND="${COMMON_DEPEND}" src_configure() { filter-flags -flto* -fwhole-program -fno-common econf \ + $(use lz4 || echo --without-lz4) \ $(use lzma || echo --without-xz) \ $(use lzo || echo --without-lzo) \ $(use zlib || echo --without-zlib) |