Gentoo Archives: gentoo-commits

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