mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-20 03:41:02 +02:00
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:
parent
223f0edc6d
commit
628f031414
@ -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>
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user