1 |
commit: 5fb5e89c5952f55e87142c79358fe4a7892a84ac |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 25 17:13:19 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 25 17:13:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb5e89c |
7 |
|
8 |
app-portage/portage-utils: adapt 9999 ebuild for latest code |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
app-portage/portage-utils/metadata.xml | 3 +++ |
14 |
.../portage-utils/portage-utils-9999.ebuild | 23 +++++++++++++++++++--- |
15 |
2 files changed, 23 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/app-portage/portage-utils/metadata.xml b/app-portage/portage-utils/metadata.xml |
18 |
index a53ffbea77d..dac8feca7f1 100644 |
19 |
--- a/app-portage/portage-utils/metadata.xml |
20 |
+++ b/app-portage/portage-utils/metadata.xml |
21 |
@@ -5,4 +5,7 @@ |
22 |
<email>grobian@g.o</email> |
23 |
<name>Fabian Groffen</name> |
24 |
</maintainer> |
25 |
+ <use> |
26 |
+ <flag name="qmanifest">Build qmanifest applet, this adds additional dependencies for GPG, OpenSSL and BLAKE2B hashing</flag> |
27 |
+ </use> |
28 |
</pkgmetadata> |
29 |
|
30 |
diff --git a/app-portage/portage-utils/portage-utils-9999.ebuild b/app-portage/portage-utils/portage-utils-9999.ebuild |
31 |
index 224433e36f2..25967bcab79 100644 |
32 |
--- a/app-portage/portage-utils/portage-utils-9999.ebuild |
33 |
+++ b/app-portage/portage-utils/portage-utils-9999.ebuild |
34 |
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" |
35 |
|
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
-IUSE="nls static" |
39 |
+IUSE="nls static openmp +qmanifest" |
40 |
|
41 |
if [[ ${PV} == *9999 ]]; then |
42 |
inherit git-r3 autotools |
43 |
@@ -24,12 +24,29 @@ fi |
44 |
RDEPEND="dev-libs/iniparser:0" |
45 |
DEPEND="${RDEPEND} |
46 |
app-arch/xz-utils |
47 |
- static? ( dev-libs/iniparser:0[static-libs] )" |
48 |
+ static? ( dev-libs/iniparser:0[static-libs] ) |
49 |
+ qmanifest? ( |
50 |
+ openmp? ( |
51 |
+ || ( |
52 |
+ >=sys-devel/gcc-4.2:*[openmp] |
53 |
+ sys-devel/clang-runtime:*[openmp] |
54 |
+ ) |
55 |
+ ) |
56 |
+ app-crypt/libb2 |
57 |
+ dev-libs/openssl:0= |
58 |
+ sys-libs/zlib |
59 |
+ app-crypt/gpgme |
60 |
+ ) |
61 |
+ " |
62 |
|
63 |
src_prepare() { |
64 |
default |
65 |
} |
66 |
|
67 |
src_configure() { |
68 |
- econf --disable-maintainer-mode --with-eprefix="${EPREFIX}" |
69 |
+ econf \ |
70 |
+ --disable-maintainer-mode \ |
71 |
+ --with-eprefix="${EPREFIX}" \ |
72 |
+ $(use_enable qmanifest) \ |
73 |
+ $(use_enable openmp) |
74 |
} |