Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-runtime/
Date: Thu, 19 Oct 2017 22:55:49
Message-Id: 1508452258.f9c775e6b33840ed34f393b69750927026309eed.asturm@gentoo
1 commit: f9c775e6b33840ed34f393b69750927026309eed
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 19 22:20:48 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 19 22:30:58 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f9c775e6
7
8 kde-apps/kdepim-runtime: Add USE=speech
9
10 Upstream commit 132d5d83940f0304d036601a41a6f428cbd6c999
11
12 Package-Manager: Portage-2.3.11, Repoman-2.3.3
13
14 kde-apps/kdepim-runtime/kdepim-runtime-17.08.49.9999.ebuild | 13 +++++++++++--
15 kde-apps/kdepim-runtime/kdepim-runtime-9999.ebuild | 13 +++++++++++--
16 kde-apps/kdepim-runtime/metadata.xml | 3 +++
17 3 files changed, 25 insertions(+), 4 deletions(-)
18
19 diff --git a/kde-apps/kdepim-runtime/kdepim-runtime-17.08.49.9999.ebuild b/kde-apps/kdepim-runtime/kdepim-runtime-17.08.49.9999.ebuild
20 index 0ecb11150c..bd81677e4e 100644
21 --- a/kde-apps/kdepim-runtime/kdepim-runtime-17.08.49.9999.ebuild
22 +++ b/kde-apps/kdepim-runtime/kdepim-runtime-17.08.49.9999.ebuild
23 @@ -11,9 +11,9 @@ inherit kde5
24 DESCRIPTION="Runtime plugin collection to extend the functionality of KDE PIM"
25 LICENSE="GPL-2+ LGPL-2.1+"
26 KEYWORDS=""
27 -IUSE=""
28 +IUSE="speech"
29
30 -# TODO kolab, Qt5TextToSpeech
31 +# TODO kolab
32 CDEPEND="
33 $(add_frameworks_dep kcodecs)
34 $(add_frameworks_dep kcompletion)
35 @@ -59,6 +59,7 @@ CDEPEND="
36 $(add_qt_dep qtxml)
37 dev-libs/cyrus-sasl:2
38 dev-libs/libical:=
39 + speech? ( $(add_qt_dep qtspeech) )
40 "
41 DEPEND="${CDEPEND}
42 $(add_qt_dep qtxmlpatterns)
43 @@ -70,3 +71,11 @@ RDEPEND="${CDEPEND}
44 "
45
46 RESTRICT+=" test"
47 +
48 +src_configure() {
49 + local mycmakeargs=(
50 + $(cmake-utils_use_find_package speech Qt5TextToSpeech)
51 + )
52 +
53 + kde5_src_configure
54 +}
55
56 diff --git a/kde-apps/kdepim-runtime/kdepim-runtime-9999.ebuild b/kde-apps/kdepim-runtime/kdepim-runtime-9999.ebuild
57 index 2b617c483c..f0529ba8dd 100644
58 --- a/kde-apps/kdepim-runtime/kdepim-runtime-9999.ebuild
59 +++ b/kde-apps/kdepim-runtime/kdepim-runtime-9999.ebuild
60 @@ -11,9 +11,9 @@ inherit kde5
61 DESCRIPTION="Runtime plugin collection to extend the functionality of KDE PIM"
62 LICENSE="GPL-2+ LGPL-2.1+"
63 KEYWORDS=""
64 -IUSE=""
65 +IUSE="speech"
66
67 -# TODO kolab, Qt5TextToSpeech
68 +# TODO kolab
69 CDEPEND="
70 $(add_frameworks_dep kcodecs)
71 $(add_frameworks_dep kcompletion)
72 @@ -58,6 +58,7 @@ CDEPEND="
73 $(add_qt_dep qtxml)
74 dev-libs/cyrus-sasl:2
75 dev-libs/libical:=
76 + speech? ( $(add_qt_dep qtspeech) )
77 "
78 DEPEND="${CDEPEND}
79 $(add_qt_dep qtxmlpatterns)
80 @@ -70,3 +71,11 @@ RDEPEND="${CDEPEND}
81 "
82
83 RESTRICT+=" test"
84 +
85 +src_configure() {
86 + local mycmakeargs=(
87 + $(cmake-utils_use_find_package speech Qt5TextToSpeech)
88 + )
89 +
90 + kde5_src_configure
91 +}
92
93 diff --git a/kde-apps/kdepim-runtime/metadata.xml b/kde-apps/kdepim-runtime/metadata.xml
94 index 2fdbf33d96..b337e66e24 100644
95 --- a/kde-apps/kdepim-runtime/metadata.xml
96 +++ b/kde-apps/kdepim-runtime/metadata.xml
97 @@ -5,4 +5,7 @@
98 <email>kde@g.o</email>
99 <name>Gentoo KDE Project</name>
100 </maintainer>
101 + <use>
102 + <flag name="speech">Enable text-to-speech support</flag>
103 + </use>
104 </pkgmetadata>