1 |
commit: a6ba0b8a675ced5327a63ce68a3056e531a5c8a5 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 21:11:56 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 21:17:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a6ba0b8a |
7 |
|
8 |
kde-frameworks/purpose: 5.78.0 version bump |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-frameworks/purpose/purpose-5.78.0.ebuild | 68 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 68 insertions(+) |
14 |
|
15 |
diff --git a/kde-frameworks/purpose/purpose-5.78.0.ebuild b/kde-frameworks/purpose/purpose-5.78.0.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..c03ada7bf4 |
18 |
--- /dev/null |
19 |
+++ b/kde-frameworks/purpose/purpose-5.78.0.ebuild |
20 |
@@ -0,0 +1,68 @@ |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+ECM_QTHELP="false" |
27 |
+ECM_TEST="forceoptional" |
28 |
+PVCUT=$(ver_cut 1-2) |
29 |
+QTMIN=5.15.1 |
30 |
+inherit ecm kde.org optfeature xdg-utils |
31 |
+ |
32 |
+DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" |
33 |
+LICENSE="LGPL-2.1+" |
34 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
35 |
+IUSE="bluetooth +dolphin +kaccounts" |
36 |
+ |
37 |
+DEPEND=" |
38 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
39 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
40 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
41 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
42 |
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5 |
43 |
+ =kde-frameworks/ki18n-${PVCUT}*:5 |
44 |
+ =kde-frameworks/kio-${PVCUT}*:5 |
45 |
+ =kde-frameworks/kirigami-${PVCUT}*:5 |
46 |
+ dolphin? ( =kde-frameworks/knotifications-${PVCUT}*:5 ) |
47 |
+ kaccounts? ( |
48 |
+ >=kde-apps/kaccounts-integration-19.04.3:5 |
49 |
+ net-libs/accounts-qt |
50 |
+ ) |
51 |
+" |
52 |
+RDEPEND="${DEPEND} |
53 |
+ >=dev-qt/qtquickcontrols-${QTMIN}:5 |
54 |
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5 |
55 |
+ >=kde-frameworks/kdeclarative-${PVCUT}:5 |
56 |
+ bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:5 ) |
57 |
+ kaccounts? ( net-libs/accounts-qml ) |
58 |
+" |
59 |
+ |
60 |
+# requires running environment |
61 |
+RESTRICT+=" test" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ ecm_src_prepare |
65 |
+ cmake_run_in src/plugins cmake_comment_add_subdirectory bluetooth |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ local mycmakeargs=( |
70 |
+ $(cmake_use_find_package dolphin KF5Notifications) |
71 |
+ $(cmake_use_find_package kaccounts KAccounts) |
72 |
+ ) |
73 |
+ |
74 |
+ ecm_src_configure |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then |
79 |
+ elog "Optional dependencies:" |
80 |
+ optfeature "Send through KDE Connect" kde-misc/kdeconnect |
81 |
+ fi |
82 |
+ ecm_pkg_postinst |
83 |
+ xdg_icon_cache_update |
84 |
+} |
85 |
+ |
86 |
+pkg_postrm() { |
87 |
+ xdg_icon_cache_update |
88 |
+} |