1 |
commit: 7c79ecd7b07c8640d52bb5234cf7ba4958e221a6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 28 22:24:01 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 28 22:24:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c79ecd7 |
7 |
|
8 |
dev-libs/purpose: 1.2.1 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
dev-libs/purpose/metadata.xml | 3 +++ |
13 |
dev-libs/purpose/purpose-1.2.1.ebuild | 49 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/purpose/metadata.xml b/dev-libs/purpose/metadata.xml |
17 |
index 2fdbf33d963..69186b245f3 100644 |
18 |
--- a/dev-libs/purpose/metadata.xml |
19 |
+++ b/dev-libs/purpose/metadata.xml |
20 |
@@ -5,4 +5,7 @@ |
21 |
<email>kde@g.o</email> |
22 |
<name>Gentoo KDE Project</name> |
23 |
</maintainer> |
24 |
+ <use> |
25 |
+ <flag name="kaccounts">Enable support for system-wide defined KAccounts</flag> |
26 |
+ </use> |
27 |
</pkgmetadata> |
28 |
|
29 |
diff --git a/dev-libs/purpose/purpose-1.2.1.ebuild b/dev-libs/purpose/purpose-1.2.1.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..10aa6d8a1a1 |
32 |
--- /dev/null |
33 |
+++ b/dev-libs/purpose/purpose-1.2.1.ebuild |
34 |
@@ -0,0 +1,49 @@ |
35 |
+# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+KDE_TEST="forceoptional" |
41 |
+inherit kde5 |
42 |
+ |
43 |
+DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" |
44 |
+LICENSE="LGPL-2.1+" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="+kaccounts" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ $(add_frameworks_dep kcoreaddons) |
50 |
+ $(add_frameworks_dep ki18n) |
51 |
+ $(add_frameworks_dep kio) |
52 |
+ $(add_qt_dep qtdeclarative) |
53 |
+ $(add_qt_dep qtgui) |
54 |
+ $(add_qt_dep qtnetwork) |
55 |
+ $(add_qt_dep qtwidgets) |
56 |
+ kaccounts? ( |
57 |
+ $(add_kdeapps_dep kaccounts-integration) |
58 |
+ net-libs/accounts-qt |
59 |
+ ) |
60 |
+" |
61 |
+RDEPEND="${DEPEND}" |
62 |
+ |
63 |
+# requires running environment |
64 |
+RESTRICT+=" test" |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local mycmakeargs=( |
68 |
+ $(cmake-utils_use_find_package kaccounts KAccounts) |
69 |
+ ) |
70 |
+ |
71 |
+ kde5_src_configure |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst(){ |
75 |
+ kde5_pkg_postinst |
76 |
+ |
77 |
+ if ! has_version "kde-misc/kdeconnect[app]" ; then |
78 |
+ elog |
79 |
+ elog "Optional runtime dependency:" |
80 |
+ elog "kde-misc/kdeconnect[app] (send through KDE Connect)" |
81 |
+ elog |
82 |
+ fi |
83 |
+} |