commit:     e63913737fb1741975b20ffb82eacb328b31bb66
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 18:37:56 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 19:25:01 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=e6391373

dev-libs/appstream: Add IUSE doc, add missing and cleanup BDEPEND

Backport from Gentoo ebuild repo; introduced with 0.12.9 version bump.

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/appstream/appstream-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-libs/appstream/appstream-9999.ebuild 
b/dev-libs/appstream/appstream-9999.ebuild
index 3de4ee41a3..11de9316c1 100644
--- a/dev-libs/appstream/appstream-9999.ebuild
+++ b/dev-libs/appstream/appstream-9999.ebuild
@@ -21,7 +21,7 @@ 
HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/";
 LICENSE="LGPL-2.1+ GPL-2+"
 # check as_api_level
 SLOT="0/4"
-IUSE="apt +introspection qt5 test"
+IUSE="apt doc +introspection qt5 test"
 
 RESTRICT="!test? ( test )"
 
@@ -39,11 +39,11 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND="
-       app-text/docbook-xml-dtd:4.5
        dev-libs/appstream-glib
+       dev-libs/libxslt
        dev-util/itstool
-       >=dev-util/meson-0.42.0
        >=sys-devel/gettext-0.19.8
+       doc? ( app-text/docbook-xml-dtd:4.5 )
        test? ( dev-qt/linguist-tools:5 )
 "
 
@@ -65,6 +65,7 @@ src_configure() {
                -Dstemming=true
                -Dvapi=false
                -Dapt-support=$(usex apt true false)
+               -Dinstall-docs=$(usex doc true false)
                -Dgir=$(usex introspection true false)
                -Dqt=$(usex qt5 true false)
        )

Reply via email to