1 |
commit: a088cd7233c1eac0f85d488d6a3a28bcf24062b4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 12 08:49:15 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 12 08:49:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a088cd72 |
7 |
|
8 |
dev-libs/appstream: Add USE=introspection, fix DEPENDs |
9 |
|
10 |
Thanks-to: Mart Raudsepp <leio <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
dev-libs/appstream/appstream-0.12.2.ebuild | 8 +++++--- |
14 |
1 file changed, 5 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/appstream/appstream-0.12.2.ebuild b/dev-libs/appstream/appstream-0.12.2.ebuild |
17 |
index dffda1b04b3..b2c9647de36 100644 |
18 |
--- a/dev-libs/appstream/appstream-0.12.2.ebuild |
19 |
+++ b/dev-libs/appstream/appstream-0.12.2.ebuild |
20 |
@@ -21,21 +21,22 @@ HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/" |
21 |
LICENSE="LGPL-2.1+ GPL-2+" |
22 |
# check as_api_level |
23 |
SLOT="0/4" |
24 |
-IUSE="apt qt5 test" |
25 |
+IUSE="apt introspection qt5 test" |
26 |
|
27 |
RDEPEND=" |
28 |
dev-libs/glib:2 |
29 |
- >=dev-libs/gobject-introspection-1.56 |
30 |
dev-libs/libxml2:2 |
31 |
dev-libs/libyaml |
32 |
dev-libs/snowball-stemmer |
33 |
+ introspection? ( >=dev-libs/gobject-introspection-1.56:= ) |
34 |
qt5? ( dev-qt/qtcore:5 ) |
35 |
" |
36 |
DEPEND="${RDEPEND} |
37 |
app-text/docbook-xml-dtd:4.5 |
38 |
+ dev-libs/appstream-glib |
39 |
dev-util/itstool |
40 |
>=dev-util/meson-0.42.0 |
41 |
- sys-devel/gettext |
42 |
+ >=sys-devel/gettext-0.19.8 |
43 |
test? ( |
44 |
qt5? ( dev-qt/qttest:5 ) |
45 |
) |
46 |
@@ -56,6 +57,7 @@ src_configure() { |
47 |
-Dstemming=true |
48 |
-Dvapi=false |
49 |
-Dapt-support=$(usex apt true false) |
50 |
+ -Dgir=$(usex introspection true false) |
51 |
-Dqt=$(usex qt5 true false) |
52 |
) |