commit: 782526463a71e95b6e9ddfc617c3e3368adaea66
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 28 20:37:36 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Aug 28 20:38:07 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78252646
app-portage/portage-utils-9999: adapt for current git main
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
app-portage/portage-utils/metadata.xml | 2 ++
.../portage-utils/portage-utils-9999.ebuild | 28 +++++++++++++++++++++-
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/app-portage/portage-utils/metadata.xml
b/app-portage/portage-utils/metadata.xml
index 110ffa562e70..628d6179545d 100644
--- a/app-portage/portage-utils/metadata.xml
+++ b/app-portage/portage-utils/metadata.xml
@@ -6,6 +6,8 @@
<name>Fabian Groffen</name>
</maintainer>
<use>
+ <flag name="gpkg">Build GLEP-78 gpkg support in qpkg</flag>
+ <flag name="gtree">Build gtree repository cache support</flag>
<flag name="qmanifest">Build qmanifest applet, this adds
additional dependencies for GPG, OpenSSL and BLAKE2B hashing</flag>
<flag name="qtegrity">Build qtegrity applet, this adds
additional dependencies for OpenSSL</flag>
</use>
diff --git a/app-portage/portage-utils/portage-utils-9999.ebuild
b/app-portage/portage-utils/portage-utils-9999.ebuild
index 83f2812f8867..24afae4e7a53 100644
--- a/app-portage/portage-utils/portage-utils-9999.ebuild
+++ b/app-portage/portage-utils/portage-utils-9999.ebuild
@@ -18,9 +18,21 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="openmp +qmanifest static"
+IUSE="+gpkg +gtree openmp +qmanifest static"
RDEPEND="
+ gpkg? (
+ !static? (
+ app-crypt/gpgme:=
+ app-arch/libarchive:=
+ )
+ )
+ gtree? (
+ !static? (
+ app-crypt/gpgme:=
+ app-arch/libarchive:=[zstd]
+ )
+ )
openmp? ( || (
sys-devel/gcc:*[openmp]
llvm-runtimes/openmp
@@ -33,6 +45,18 @@ RDEPEND="
)
)"
DEPEND="${RDEPEND}
+ gpkg? (
+ static? (
+ app-crypt/gpgme[static-libs]
+ app-arch/libarchive[static-libs]
+ )
+ )
+ gtree? (
+ static? (
+ app-crypt/gpgme[static-libs]
+ app-arch/libarchive[static-libs,zstd]
+ )
+ )
qmanifest? (
static? (
app-crypt/gpgme[static-libs]
@@ -65,6 +89,8 @@ src_configure() {
econf \
--disable-maintainer-mode \
--with-eprefix="${EPREFIX}" \
+ $(use_enable gpkg) \
+ $(use_enable gtree) \
$(use_enable qmanifest) \
$(use_enable openmp)
}