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-frameworks/purpose/
Date: Sat, 06 Feb 2021 21:41:04
Message-Id: 1612647482.24eb9359102deaec6d0ec602a096acbbc0bf8cae.asturm@gentoo
1 commit: 24eb9359102deaec6d0ec602a096acbbc0bf8cae
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 6 13:59:32 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 6 21:38:02 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=24eb9359
7
8 kde-frameworks/purpose: 5.79.0 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 kde-frameworks/purpose/purpose-5.79.0.ebuild | 69 ++++++++++++++++++++++++++++
13 1 file changed, 69 insertions(+)
14
15 diff --git a/kde-frameworks/purpose/purpose-5.79.0.ebuild b/kde-frameworks/purpose/purpose-5.79.0.ebuild
16 new file mode 100644
17 index 0000000000..e9607e015d
18 --- /dev/null
19 +++ b/kde-frameworks/purpose/purpose-5.79.0.ebuild
20 @@ -0,0 +1,69 @@
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.2
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 +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 + kaccounts? (
51 + >=kde-apps/kaccounts-integration-19.04.3:5
52 + net-libs/accounts-qt
53 + )
54 +"
55 +RDEPEND="${DEPEND}
56 + >=dev-qt/qtquickcontrols-${QTMIN}:5
57 + >=dev-qt/qtquickcontrols2-${QTMIN}:5
58 + >=kde-frameworks/kdeclarative-${PVCUT}:5
59 + bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:5 )
60 + kaccounts? ( net-libs/accounts-qml )
61 +"
62 +
63 +src_prepare() {
64 + ecm_src_prepare
65 +
66 + use bluetooth ||
67 + cmake_run_in src/plugins cmake_comment_add_subdirectory bluetooth
68 +}
69 +
70 +src_configure() {
71 + local mycmakeargs=(
72 + $(cmake_use_find_package kaccounts KAccounts)
73 + )
74 +
75 + ecm_src_configure
76 +}
77 +
78 +pkg_postinst() {
79 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
80 + elog "Optional dependencies:"
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 +}