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