public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/kaccounts-integration/
Date: Tue,  9 Dec 2014 16:34:45 +0000 (UTC)	[thread overview]
Message-ID: <1418142887.a87e1b8de178023d2f57114f327e88cd89c3751e.kensington@gentoo> (raw)

commit:     a87e1b8de178023d2f57114f327e88cd89c3751e
Author:     Karol Herbst <git <AT> karolherbst <DOT> de>
AuthorDate: Tue Dec  9 10:11:20 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 16:34:47 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=a87e1b8d

[kde-misc/kaccounts-integration] make kdepim optional

---
 .../kaccounts-integration/kaccounts-integration-9999.ebuild | 13 +++++++++++--
 kde-misc/kaccounts-integration/metadata.xml                 |  3 +++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/kde-misc/kaccounts-integration/kaccounts-integration-9999.ebuild b/kde-misc/kaccounts-integration/kaccounts-integration-9999.ebuild
index 4901f1a..47179b9 100644
--- a/kde-misc/kaccounts-integration/kaccounts-integration-9999.ebuild
+++ b/kde-misc/kaccounts-integration/kaccounts-integration-9999.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://community.kde.org/KTp"
 
 LICENSE="LGPL-2.1"
 SLOT="5"
-IUSE="test"
+IUSE="kdepim test"
 
 DEPEND="
 	$(add_frameworks_dep kconfig)
@@ -23,7 +23,9 @@ DEPEND="
 	$(add_frameworks_dep kio)
 	$(add_frameworks_dep kwallet)
 	$(add_frameworks_dep kwidgetsaddons)
-	$(add_kdebase_dep kdepimlibs)
+	kdepim? (
+		$(add_kdebase_dep kdepimlibs)
+	)
 	net-libs/accounts-qt
 	net-libs/signond
 	dev-qt/qtcore:5
@@ -39,3 +41,10 @@ src_prepare() {
 		sed -i -e 's/add_subdirectory(tests)//' CMakeLists.txt || die "couldn't disable tests"
 	fi
 }
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package kdepim KF5Akonadi)
+	)
+	cmake-utils_src_configure
+}

diff --git a/kde-misc/kaccounts-integration/metadata.xml b/kde-misc/kaccounts-integration/metadata.xml
index a23f444..ab25241 100644
--- a/kde-misc/kaccounts-integration/metadata.xml
+++ b/kde-misc/kaccounts-integration/metadata.xml
@@ -2,4 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<herd>kde</herd>
+	<use>
+		<flag name="kdepim">KDE PIM integration via kde-base/kdepimlibs</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2014-12-09 16:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09 16:34 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-25 22:10 [gentoo-commits] proj/kde:master commit in: kde-misc/kaccounts-integration/ Johannes Huber
2015-01-11 20:41 Johannes Huber
2014-12-19 14:10 Michael Palimaka
2014-12-09 16:34 Michael Palimaka
2014-12-01 12:38 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1418142887.a87e1b8de178023d2f57114f327e88cd89c3751e.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox