1 |
commit: 6dfc797b5dae188660e4d30478e77496bbdc57d1 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 8 19:04:38 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 8 20:01:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6dfc797b |
7 |
|
8 |
kde-apps/pim-data-exporter: Add USE feedback |
9 |
|
10 |
Upstream commit 4587e365aed67da2e3f1511bb8d7b278405e3491 |
11 |
|
12 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
kde-apps/pim-data-exporter/metadata.xml | 3 +++ |
16 |
kde-apps/pim-data-exporter/pim-data-exporter-9999.ebuild | 11 ++++++++++- |
17 |
2 files changed, 13 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/kde-apps/pim-data-exporter/metadata.xml b/kde-apps/pim-data-exporter/metadata.xml |
20 |
index 2fdbf33d96..6bb4132173 100644 |
21 |
--- a/kde-apps/pim-data-exporter/metadata.xml |
22 |
+++ b/kde-apps/pim-data-exporter/metadata.xml |
23 |
@@ -5,4 +5,7 @@ |
24 |
<email>kde@g.o</email> |
25 |
<name>Gentoo KDE Project</name> |
26 |
</maintainer> |
27 |
+ <use> |
28 |
+ <flag name="feedback">Send anonymized usage information to KDE so they can better understand our users</flag> |
29 |
+ </use> |
30 |
</pkgmetadata> |
31 |
|
32 |
diff --git a/kde-apps/pim-data-exporter/pim-data-exporter-9999.ebuild b/kde-apps/pim-data-exporter/pim-data-exporter-9999.ebuild |
33 |
index 38b288fd08..65c1383446 100644 |
34 |
--- a/kde-apps/pim-data-exporter/pim-data-exporter-9999.ebuild |
35 |
+++ b/kde-apps/pim-data-exporter/pim-data-exporter-9999.ebuild |
36 |
@@ -17,7 +17,7 @@ HOMEPAGE+=" https://userbase.kde.org/Kmail/Backup_Options" |
37 |
LICENSE="GPL-2+ handbook? ( FDL-1.2+ )" |
38 |
SLOT="5" |
39 |
KEYWORDS="" |
40 |
-IUSE="" |
41 |
+IUSE="feedback" |
42 |
|
43 |
DEPEND=" |
44 |
>=dev-qt/qtgui-${QTMIN}:5 |
45 |
@@ -43,5 +43,14 @@ DEPEND=" |
46 |
>=kde-frameworks/knotifications-${KFMIN}:5 |
47 |
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
48 |
>=kde-frameworks/kxmlgui-${KFMIN}:5 |
49 |
+ feedback? ( dev-libs/kuserfeedback:5 ) |
50 |
" |
51 |
RDEPEND="${DEPEND}" |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local mycmakeargs=( |
55 |
+ $(cmake_use_find_package feedback KUserFeedback) |
56 |
+ ) |
57 |
+ |
58 |
+ ecm_src_configure |
59 |
+} |