commit: f5434825b6fcc8dd79e9d2e909e1bd69b29bfde3 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Sat Apr 2 15:07:35 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sat Apr 2 15:56:10 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f5434825
kde-apps/kdepim-addons: Add USE=google, force tests optional Package-Manager: portage-2.2.27 kde-apps/kdepim-addons/kdepim-addons-16.04.49.9999.ebuild | 9 ++++++--- kde-apps/kdepim-addons/kdepim-addons-9999.ebuild | 8 +++++--- kde-apps/kdepim-addons/metadata.xml | 3 +++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/kde-apps/kdepim-addons/kdepim-addons-16.04.49.9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-16.04.49.9999.ebuild index 71877d6..ade4390 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-16.04.49.9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-16.04.49.9999.ebuild @@ -4,16 +4,17 @@ EAPI=6 +FRAMEWORKS_MINIMAL="5.19.0" KDE_EXAMPLES="true" -KDE_PUNT_BOGUS_DEPS="true" +KDE_TEST="forceoptional" inherit kde5 DESCRIPTION="Plugins for KDE Personal Information Management Suite" HOMEPAGE="https://www.kde.org/applications/office/kontact/" KEYWORDS="" -PIM_FTS="kaddressbook kmail korganizer" -IUSE="$(printf 'kdepim_features_%s ' ${PIM_FTS})" +PIM_FTS="akregator kaddressbook kmail korganizer" +IUSE="google $(printf 'kdepim_features_%s ' ${PIM_FTS})" COMMON_DEPEND=" $(add_frameworks_dep kcompletion) @@ -47,6 +48,7 @@ COMMON_DEPEND=" $(add_qt_dep qtnetwork) $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) + google? ( net-libs/libkgapi:5 ) " DEPEND="${COMMON_DEPEND} $(add_kdeapps_dep gpgmepp) @@ -73,6 +75,7 @@ src_prepare() { src_configure() { local mycmakeargs=( -DKDEPIMADDONS_BUILD_EXAMPLES=$(usex examples) + $(cmake-utils_use_find_package google KF5GAPI) ) kde5_src_configure diff --git a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild index 71877d6..ec72689 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild @@ -5,15 +5,15 @@ EAPI=6 KDE_EXAMPLES="true" -KDE_PUNT_BOGUS_DEPS="true" +KDE_TEST="forceoptional" inherit kde5 DESCRIPTION="Plugins for KDE Personal Information Management Suite" HOMEPAGE="https://www.kde.org/applications/office/kontact/" KEYWORDS="" -PIM_FTS="kaddressbook kmail korganizer" -IUSE="$(printf 'kdepim_features_%s ' ${PIM_FTS})" +PIM_FTS="akregator kaddressbook kmail korganizer" +IUSE="google $(printf 'kdepim_features_%s ' ${PIM_FTS})" COMMON_DEPEND=" $(add_frameworks_dep kcompletion) @@ -47,6 +47,7 @@ COMMON_DEPEND=" $(add_qt_dep qtnetwork) $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) + google? ( net-libs/libkgapi:5 ) " DEPEND="${COMMON_DEPEND} $(add_kdeapps_dep gpgmepp) @@ -73,6 +74,7 @@ src_prepare() { src_configure() { local mycmakeargs=( -DKDEPIMADDONS_BUILD_EXAMPLES=$(usex examples) + $(cmake-utils_use_find_package google KF5GAPI) ) kde5_src_configure diff --git a/kde-apps/kdepim-addons/metadata.xml b/kde-apps/kdepim-addons/metadata.xml index 2fdbf33..800ffa1 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="google">Google service integration via <pkg>net-libs/libkgapi</pkg></flag> + </use> </pkgmetadata>