Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: app-office/kraft/
Date: Thu, 16 Nov 2017 21:24:36
Message-Id: 1510867455.2cddafc75be99d4f326663a5dab6ff1393dcbfa2.asturm@gentoo
1 commit: 2cddafc75be99d4f326663a5dab6ff1393dcbfa2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 16 21:24:15 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 16 21:24:15 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2cddafc7
7
8 app-office/kraft: Fix DEPENDs, add USE=pim
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.4
11
12 app-office/kraft/kraft-9999.ebuild | 32 +++++++++++++++++---------------
13 app-office/kraft/metadata.xml | 3 +++
14 2 files changed, 20 insertions(+), 15 deletions(-)
15
16 diff --git a/app-office/kraft/kraft-9999.ebuild b/app-office/kraft/kraft-9999.ebuild
17 index da20def791..d05d6f79ea 100644
18 --- a/app-office/kraft/kraft-9999.ebuild
19 +++ b/app-office/kraft/kraft-9999.ebuild
20 @@ -12,33 +12,35 @@ DESCRIPTION="Software to manage quotes and invoices in small enterprises"
21 HOMEPAGE="http://www.volle-kraft-voraus.de/"
22
23 KEYWORDS=""
24 -IUSE=""
25 +IUSE="pim"
26
27 DEPEND="
28 + $(add_frameworks_dep kconfig)
29 $(add_frameworks_dep kconfigwidgets)
30 $(add_frameworks_dep kcoreaddons)
31 - $(add_frameworks_dep kemoticons)
32 - $(add_frameworks_dep kglobalaccel)
33 - $(add_frameworks_dep kguiaddons)
34 $(add_frameworks_dep ki18n)
35 - $(add_frameworks_dep kio)
36 - $(add_frameworks_dep knotifyconfig)
37 - $(add_frameworks_dep ktextwidgets)
38 - $(add_frameworks_dep kwallet)
39 $(add_frameworks_dep kwidgetsaddons)
40 $(add_frameworks_dep kxmlgui)
41 - $(add_frameworks_dep sonnet)
42 - $(add_kdeapps_dep akonadi)
43 - $(add_kdeapps_dep akonadi-contacts)
44 $(add_kdeapps_dep kcontacts)
45 - $(add_qt_dep qtconcurrent)
46 - $(add_qt_dep qtdbus)
47 - $(add_qt_dep qtnetwork)
48 + $(add_qt_dep qtgui)
49 $(add_qt_dep qtsql)
50 - $(add_qt_dep qtwebengine 'widgets')
51 $(add_qt_dep qtwidgets)
52 + $(add_qt_dep qtxml)
53 dev-cpp/ctemplate
54 + pim? (
55 + $(add_kdeapps_dep akonadi)
56 + $(add_kdeapps_dep akonadi-contacts)
57 + )
58 "
59 RDEPEND="${DEPEND}"
60
61 DOCS=( AUTHORS Changes.txt README Releasenotes.txt TODO )
62 +
63 +src_configure() {
64 + local mycmakeargs=(
65 + $(cmake-utils_use_find_package pim KF5Akonadi)
66 + $(cmake-utils_use_find_package pim KF5AkonadiContact)
67 + )
68 +
69 + kde5_src_configure
70 +}
71
72 diff --git a/app-office/kraft/metadata.xml b/app-office/kraft/metadata.xml
73 index 25ecefd97f..5884c2d796 100644
74 --- a/app-office/kraft/metadata.xml
75 +++ b/app-office/kraft/metadata.xml
76 @@ -8,4 +8,7 @@
77 <upstream>
78 <remote-id type="github">dragotin/kraft</remote-id>
79 </upstream>
80 + <use>
81 + <flag name="pim">Enable support for KDE PIM resources integration</flag>
82 + </use>
83 </pkgmetadata>