commit:     5fb5e89c5952f55e87142c79358fe4a7892a84ac
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 17:13:19 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat May 25 17:13:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb5e89c

app-portage/portage-utils: adapt 9999 ebuild for latest code

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 app-portage/portage-utils/metadata.xml             |  3 +++
 .../portage-utils/portage-utils-9999.ebuild        | 23 +++++++++++++++++++---
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/app-portage/portage-utils/metadata.xml 
b/app-portage/portage-utils/metadata.xml
index a53ffbea77d..dac8feca7f1 100644
--- a/app-portage/portage-utils/metadata.xml
+++ b/app-portage/portage-utils/metadata.xml
@@ -5,4 +5,7 @@
                <email>[email protected]</email>
                <name>Fabian Groffen</name>
        </maintainer>
+       <use>
+               <flag name="qmanifest">Build qmanifest applet, this adds 
additional dependencies for GPG, OpenSSL and BLAKE2B hashing</flag>
+       </use>
 </pkgmetadata>

diff --git a/app-portage/portage-utils/portage-utils-9999.ebuild 
b/app-portage/portage-utils/portage-utils-9999.ebuild
index 224433e36f2..25967bcab79 100644
--- a/app-portage/portage-utils/portage-utils-9999.ebuild
+++ b/app-portage/portage-utils/portage-utils-9999.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="nls static"
+IUSE="nls static openmp +qmanifest"
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3 autotools
@@ -24,12 +24,29 @@ fi
 RDEPEND="dev-libs/iniparser:0"
 DEPEND="${RDEPEND}
        app-arch/xz-utils
-       static? ( dev-libs/iniparser:0[static-libs] )"
+       static? ( dev-libs/iniparser:0[static-libs] )
+       qmanifest? (
+               openmp? (
+                       || (
+                               >=sys-devel/gcc-4.2:*[openmp]
+                               sys-devel/clang-runtime:*[openmp]
+                       )
+               )
+               app-crypt/libb2
+               dev-libs/openssl:0=
+               sys-libs/zlib
+               app-crypt/gpgme
+       )
+       "
 
 src_prepare() {
        default
 }
 
 src_configure() {
-       econf --disable-maintainer-mode --with-eprefix="${EPREFIX}"
+       econf \
+               --disable-maintainer-mode \
+               --with-eprefix="${EPREFIX}" \
+               $(use_enable qmanifest) \
+               $(use_enable openmp)
 }

Reply via email to