diff options
-rw-r--r-- | sys-apps/file/file-9999.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/file/metadata.xml | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild index 4f8b267d4f06..81f60050024c 100644 --- a/sys-apps/file/file-9999.ebuild +++ b/sys-apps/file/file-9999.ebuild @@ -28,11 +28,12 @@ HOMEPAGE="https://www.darwinsys.com/file/" LICENSE="BSD-2" SLOT="0" -IUSE="bzip2 lzma python seccomp static-libs zlib zstd" +IUSE="bzip2 lzip lzma python seccomp static-libs zlib zstd" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + lzip? ( app-arch/lzlib ) lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] ) python? ( ${PYTHON_DEPS} @@ -75,6 +76,7 @@ multilib_src_configure() { local myeconfargs=( --enable-fsect-man5 $(use_enable bzip2 bzlib) + $(multilib_native_use_enable lzip lzlib) $(use_enable lzma xzlib) $(use_enable seccomp libseccomp) $(use_enable static-libs static) diff --git a/sys-apps/file/metadata.xml b/sys-apps/file/metadata.xml index 9d92ca28bc24..01bf4264459f 100644 --- a/sys-apps/file/metadata.xml +++ b/sys-apps/file/metadata.xml @@ -10,4 +10,7 @@ <remote-id type="cpe">cpe:/a:file_project:file</remote-id> <remote-id type="github">file/file</remote-id> </upstream> + <use> + <flag name="lzip">Enable <pkg>app-arch/lzip</pkg> decompression support via <pkg>app-arch/lzlib</pkg></flag> + </use> </pkgmetadata> |