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-apps/print-manager/
Date: Sat, 24 Apr 2021 13:47:34
Message-Id: 1619272001.391046b8f76d6692a0a19b2d3ce16a39c2013614.asturm@gentoo
1 commit: 391046b8f76d6692a0a19b2d3ce16a39c2013614
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 24 10:05:17 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 24 13:46:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391046b8
7
8 kde-apps/print-manager: 21.04.0 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 kde-apps/print-manager/Manifest | 1 +
13 .../print-manager/print-manager-21.04.0.ebuild | 62 ++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/kde-apps/print-manager/Manifest b/kde-apps/print-manager/Manifest
17 index e05ba74c2a1..fd40f773dc8 100644
18 --- a/kde-apps/print-manager/Manifest
19 +++ b/kde-apps/print-manager/Manifest
20 @@ -1 +1,2 @@
21 DIST print-manager-20.12.3.tar.xz 258640 BLAKE2B db91464792bcc41781a73b2ae34f6a5b2df74f525367dd7668e0ba5b9261edadd8860bb9a1db38fede2313c5e18597481574fc06bd752fe3b7a887079e7d6590 SHA512 21030ecd3951cd1889ff4eb5a4998fc12f148d481bb66b8b7808fbcc5f38b1129e41e7e6d51ddd0ed2207c255be4c483d8960e05b02aed3f7691df85a7d1ba86
22 +DIST print-manager-21.04.0.tar.xz 259104 BLAKE2B 32e2324dd776f29928da16bd0ef95b72dc05c219b1d8c1be9e89f61566f0fd909e741efc621e10236c79b123faa82500609fd29d7b9aef84193dbb19c0c30d77 SHA512 3d3567111c28905e08748e864fda87b93cec2d2c42aedb996966c6cb8299ba1df32f4fbec7e3056c88bee5193f27fd1c70964c2e423602853da17bde34ce8d9a
23
24 diff --git a/kde-apps/print-manager/print-manager-21.04.0.ebuild b/kde-apps/print-manager/print-manager-21.04.0.ebuild
25 new file mode 100644
26 index 00000000000..04986407dc8
27 --- /dev/null
28 +++ b/kde-apps/print-manager/print-manager-21.04.0.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +KFMIN=5.80.0
36 +PLASMA_MINIMAL=5.16.5
37 +QTMIN=5.15.2
38 +inherit ecm kde.org
39 +
40 +DESCRIPTION="Manage print jobs and printers in Plasma"
41 +
42 +LICENSE="GPL-2" # TODO: CHECK
43 +SLOT="5"
44 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
45 +IUSE="+gtk"
46 +
47 +DEPEND="
48 + >=dev-qt/qtdbus-${QTMIN}:5
49 + >=dev-qt/qtdeclarative-${QTMIN}:5
50 + >=dev-qt/qtgui-${QTMIN}:5
51 + >=dev-qt/qtnetwork-${QTMIN}:5
52 + >=dev-qt/qtwidgets-${QTMIN}:5
53 + >=kde-frameworks/kcmutils-${KFMIN}:5
54 + >=kde-frameworks/kconfig-${KFMIN}:5
55 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5
56 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
57 + >=kde-frameworks/kdbusaddons-${KFMIN}:5
58 + >=kde-frameworks/ki18n-${KFMIN}:5
59 + >=kde-frameworks/kiconthemes-${KFMIN}:5
60 + >=kde-frameworks/kio-${KFMIN}:5
61 + >=kde-frameworks/knotifications-${KFMIN}:5
62 + >=kde-frameworks/kservice-${KFMIN}:5
63 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
64 + >=kde-frameworks/kwindowsystem-${KFMIN}:5
65 + >=kde-frameworks/plasma-${KFMIN}:5
66 + net-print/cups
67 +"
68 +RDEPEND="${DEPEND}
69 + >=dev-qt/qtquickcontrols-${QTMIN}:5
70 + >=dev-qt/qtquickcontrols2-${QTMIN}:5
71 + >=kde-frameworks/kdeclarative-${KFMIN}:5
72 + >=kde-plasma/kde-cli-tools-${PLASMA_MINIMAL}:5
73 + gtk? ( app-admin/system-config-printer )
74 +"
75 +
76 +pkg_postinst(){
77 + ecm_pkg_postinst
78 +
79 + if [[ -z "${REPLACING_VERSIONS}" ]] && ! use gtk ; then
80 + ewarn "By switching off \"gtk\" USE flag, you have chosen to do without"
81 + ewarn "an important, though optional, runtime dependency:"
82 + ewarn
83 + ewarn "app-admin/system-config-printer"
84 + ewarn
85 + ewarn "${PN} will work nevertheless, but is going to be less comfortable"
86 + ewarn "and will show the following error status during runtime:"
87 + ewarn
88 + ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing"
89 + ewarn "was not provided by any .service files'\""
90 + fi
91 +}