commit: ac9a3f2c4638fb7ea754908b083632713ddf7e48 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Apr 19 20:23:18 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Apr 19 20:23:18 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ac9a3f2c
kde-apps/kdepim-addons: Add USE=importwizard Package-Manager: Portage-2.3.3, Repoman-2.3.1 kde-apps/kdepim-addons/kdepim-addons-9999.ebuild | 4 +++- kde-apps/kdepim-addons/metadata.xml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild index fe92c37c60..f04475d699 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://www.kde.org/applications/office/kontact/" LICENSE="GPL-2+ LGPL-2.1+" KEYWORDS="" -IUSE="" +IUSE="importwizard" COMMON_DEPEND=" $(add_frameworks_dep kcompletion) @@ -52,6 +52,7 @@ COMMON_DEPEND=" $(add_qt_dep qtnetwork) $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) + importwizard? ( $(add_kdeapps_dep akonadi-import-wizard) ) " DEPEND="${COMMON_DEPEND} >=app-crypt/gpgme-1.7.1[cxx,qt5] @@ -66,6 +67,7 @@ RESTRICT+=" test" src_configure() { local mycmakeargs=( -DKDEPIMADDONS_BUILD_EXAMPLES=$(usex examples) + $(cmake-utils_use_find_package importwizard KPimImportWizard) ) kde5_src_configure diff --git a/kde-apps/kdepim-addons/metadata.xml b/kde-apps/kdepim-addons/metadata.xml index 2fdbf33d96..5155011c8c 100644 --- a/kde-apps/kdepim-addons/metadata.xml +++ b/kde-apps/kdepim-addons/metadata.xml @@ -5,4 +5,7 @@ <email>k...@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <use> + <flag name="importwizard">Enable additional import plugins for <pkg>kde-apps/akonadi-import-wizard</pkg></flag> + </use> </pkgmetadata>