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