diff options
-rw-r--r-- | app-arch/createrepo_c/createrepo_c-1.0.0.ebuild | 4 | ||||
-rw-r--r-- | app-arch/createrepo_c/createrepo_c-9999.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app-arch/createrepo_c/createrepo_c-1.0.0.ebuild b/app-arch/createrepo_c/createrepo_c-1.0.0.ebuild index 7433f2a6011f..a9a502907e62 100644 --- a/app-arch/createrepo_c/createrepo_c-1.0.0.ebuild +++ b/app-arch/createrepo_c/createrepo_c-1.0.0.ebuild @@ -18,7 +18,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="legacy test" +IUSE="legacy test zstd" RESTRICT="!test? ( test )" DEPEND=" @@ -35,6 +35,7 @@ DEPEND=" sys-apps/file sys-libs/libmodulemd sys-libs/zlib:= + zstd? ( app-arch/zstd:= ) " RDEPEND="${DEPEND}" @@ -49,6 +50,7 @@ src_configure() { -DWITH_LEGACY_HASHES=$(usex legacy ON OFF) -DWITH_LIBMODULEMD=ON -DWITH_ZCHUNK=ON + -DWITH_ZSTD=$(usex zstd) ) cmake_src_configure diff --git a/app-arch/createrepo_c/createrepo_c-9999.ebuild b/app-arch/createrepo_c/createrepo_c-9999.ebuild index 7433f2a6011f..a9a502907e62 100644 --- a/app-arch/createrepo_c/createrepo_c-9999.ebuild +++ b/app-arch/createrepo_c/createrepo_c-9999.ebuild @@ -18,7 +18,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="legacy test" +IUSE="legacy test zstd" RESTRICT="!test? ( test )" DEPEND=" @@ -35,6 +35,7 @@ DEPEND=" sys-apps/file sys-libs/libmodulemd sys-libs/zlib:= + zstd? ( app-arch/zstd:= ) " RDEPEND="${DEPEND}" @@ -49,6 +50,7 @@ src_configure() { -DWITH_LEGACY_HASHES=$(usex legacy ON OFF) -DWITH_LIBMODULEMD=ON -DWITH_ZCHUNK=ON + -DWITH_ZSTD=$(usex zstd) ) cmake_src_configure |