commit:     f1fa45a713d5b944f2028b997a0f7a1a6daf2873
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 14:24:37 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 14:24:37 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=f1fa45a7

app-office/libalkimia: Drop unused DEPENDs, add USE=doc

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 app-office/libalkimia/libalkimia-9999.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/app-office/libalkimia/libalkimia-9999.ebuild 
b/app-office/libalkimia/libalkimia-9999.ebuild
index 7d5fb29957..7e9e3d2a9d 100644
--- a/app-office/libalkimia/libalkimia-9999.ebuild
+++ b/app-office/libalkimia/libalkimia-9999.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=6
 
+KDE_TEST="forceoptional"
 KMNAME="alkimia"
 inherit kde5
 
@@ -12,17 +13,20 @@ 
HOMEPAGE="http://kde-apps.org/content/show.php/libalkimia?content=137323";
 LICENSE="LGPL-2.1"
 SLOT="0/6"
 KEYWORDS=""
-IUSE=""
+IUSE="doc"
 
 RDEPEND="
        $(add_qt_dep qtdbus)
        dev-libs/gmp:0=[cxx]
 "
 DEPEND="${RDEPEND}
-       $(add_frameworks_dep kcoreaddons)
-       $(add_frameworks_dep kdelibs4support)
-       $(add_qt_dep qtnetwork)
-       $(add_qt_dep qtprintsupport)
-       $(add_qt_dep qtxml)
        virtual/pkgconfig
+       doc? ( app-doc/doxygen )
 "
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package doc Doxygen)
+       )
+       kde5_src_configure
+}

Reply via email to