public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/kraft/
Date: Thu, 16 Nov 2017 21:24:31 +0000 (UTC)	[thread overview]
Message-ID: <1510867455.2cddafc75be99d4f326663a5dab6ff1393dcbfa2.asturm@gentoo> (raw)

commit:     2cddafc75be99d4f326663a5dab6ff1393dcbfa2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 21:24:15 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 21:24:15 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2cddafc7

app-office/kraft: Fix DEPENDs, add USE=pim

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-office/kraft/kraft-9999.ebuild | 32 +++++++++++++++++---------------
 app-office/kraft/metadata.xml      |  3 +++
 2 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/app-office/kraft/kraft-9999.ebuild b/app-office/kraft/kraft-9999.ebuild
index da20def791..d05d6f79ea 100644
--- a/app-office/kraft/kraft-9999.ebuild
+++ b/app-office/kraft/kraft-9999.ebuild
@@ -12,33 +12,35 @@ DESCRIPTION="Software to manage quotes and invoices in small enterprises"
 HOMEPAGE="http://www.volle-kraft-voraus.de/"
 
 KEYWORDS=""
-IUSE=""
+IUSE="pim"
 
 DEPEND="
+	$(add_frameworks_dep kconfig)
 	$(add_frameworks_dep kconfigwidgets)
 	$(add_frameworks_dep kcoreaddons)
-	$(add_frameworks_dep kemoticons)
-	$(add_frameworks_dep kglobalaccel)
-	$(add_frameworks_dep kguiaddons)
 	$(add_frameworks_dep ki18n)
-	$(add_frameworks_dep kio)
-	$(add_frameworks_dep knotifyconfig)
-	$(add_frameworks_dep ktextwidgets)
-	$(add_frameworks_dep kwallet)
 	$(add_frameworks_dep kwidgetsaddons)
 	$(add_frameworks_dep kxmlgui)
-	$(add_frameworks_dep sonnet)
-	$(add_kdeapps_dep akonadi)
-	$(add_kdeapps_dep akonadi-contacts)
 	$(add_kdeapps_dep kcontacts)
-	$(add_qt_dep qtconcurrent)
-	$(add_qt_dep qtdbus)
-	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtgui)
 	$(add_qt_dep qtsql)
-	$(add_qt_dep qtwebengine 'widgets')
 	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
 	dev-cpp/ctemplate
+	pim? (
+		$(add_kdeapps_dep akonadi)
+		$(add_kdeapps_dep akonadi-contacts)
+	)
 "
 RDEPEND="${DEPEND}"
 
 DOCS=( AUTHORS Changes.txt README Releasenotes.txt TODO )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package pim KF5Akonadi)
+		$(cmake-utils_use_find_package pim KF5AkonadiContact)
+	)
+
+	kde5_src_configure
+}

diff --git a/app-office/kraft/metadata.xml b/app-office/kraft/metadata.xml
index 25ecefd97f..5884c2d796 100644
--- a/app-office/kraft/metadata.xml
+++ b/app-office/kraft/metadata.xml
@@ -8,4 +8,7 @@
 	<upstream>
 		<remote-id type="github">dragotin/kraft</remote-id>
 	</upstream>
+	<use>
+		<flag name="pim">Enable support for KDE PIM resources integration</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2017-11-16 21:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16 21:24 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-28 21:26 [gentoo-commits] proj/kde:master commit in: app-office/kraft/ Andreas Sturmlechner
2020-05-20 18:25 Andreas Sturmlechner
2020-05-20 18:25 Andreas Sturmlechner
2019-12-09 14:50 Andreas Sturmlechner
2018-02-26  0:16 Andreas Sturmlechner
2018-02-08 19:44 Andreas Sturmlechner
2017-11-19 22:33 Andreas Sturmlechner
2017-11-19 22:33 Andreas Sturmlechner
2017-10-30  1:19 Andreas Sturmlechner
2017-08-06  9:00 Andreas Sturmlechner

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=1510867455.2cddafc75be99d4f326663a5dab6ff1393dcbfa2.asturm@gentoo \
    --to=asturm@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