app-portage/portage-utils: Sync with Gentoo

It's from Gentoo commit 782526463a71e95b6e9ddfc617c3e3368adaea66.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-01 07:07:01 +00:00 committed by Krzesimir Nowak
parent 223f0edc6d
commit 628f031414
2 changed files with 29 additions and 1 deletions

View File

@ -6,6 +6,8 @@
<name>Fabian Groffen</name> <name>Fabian Groffen</name>
</maintainer> </maintainer>
<use> <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="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> <flag name="qtegrity">Build qtegrity applet, this adds additional dependencies for OpenSSL</flag>
</use> </use>

View File

@ -18,9 +18,21 @@ fi
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
IUSE="openmp +qmanifest static" IUSE="+gpkg +gtree openmp +qmanifest static"
RDEPEND=" RDEPEND="
gpkg? (
!static? (
app-crypt/gpgme:=
app-arch/libarchive:=
)
)
gtree? (
!static? (
app-crypt/gpgme:=
app-arch/libarchive:=[zstd]
)
)
openmp? ( || ( openmp? ( || (
sys-devel/gcc:*[openmp] sys-devel/gcc:*[openmp]
llvm-runtimes/openmp llvm-runtimes/openmp
@ -33,6 +45,18 @@ RDEPEND="
) )
)" )"
DEPEND="${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? ( qmanifest? (
static? ( static? (
app-crypt/gpgme[static-libs] app-crypt/gpgme[static-libs]
@ -65,6 +89,8 @@ src_configure() {
econf \ econf \
--disable-maintainer-mode \ --disable-maintainer-mode \
--with-eprefix="${EPREFIX}" \ --with-eprefix="${EPREFIX}" \
$(use_enable gpkg) \
$(use_enable gtree) \
$(use_enable qmanifest) \ $(use_enable qmanifest) \
$(use_enable openmp) $(use_enable openmp)
} }