diff options
author | Sam James <sam@gentoo.org> | 2023-08-13 07:43:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-13 07:49:27 +0100 |
commit | 22179098cebb1f8ccba0d802c8f11573cb886d2b (patch) | |
tree | d39607aa26ccbabe0e4c74cda00e81d6769c4152 /app-arch | |
parent | app-arch/createrepo_c: add 1.0.0 (diff) | |
download | gentoo-22179098cebb1f8ccba0d802c8f11573cb886d2b.tar.gz gentoo-22179098cebb1f8ccba0d802c8f11573cb886d2b.tar.bz2 gentoo-22179098cebb1f8ccba0d802c8f11573cb886d2b.zip |
app-arch/createrepo_c: fix automagic zstd dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-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 |