1 |
commit: 3188c0a629bbc68de05e8c9e2f5bc388234bab23 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 8 10:29:42 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 8 10:45:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3188c0a6 |
7 |
|
8 |
app-admin/system-config-printer: 1.5.14 version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-admin/system-config-printer/Manifest | 1 + |
14 |
.../system-config-printer-1.5.14.ebuild | 76 ++++++++++++++++++++++ |
15 |
2 files changed, 77 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/system-config-printer/Manifest b/app-admin/system-config-printer/Manifest |
18 |
index 985f7b1a478..8b8fc1e07b4 100644 |
19 |
--- a/app-admin/system-config-printer/Manifest |
20 |
+++ b/app-admin/system-config-printer/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST system-config-printer-1.5.13.tar.xz 974532 BLAKE2B 44e748d2fc20edefe58e1c8dd3781aff28af93e57356a9969e051813bf4f04f72c4e895b587e86614df6fb4984a4d610e8e1a1e17777801ae8912b6904679c72 SHA512 f4fbc1b20b35aa5b33bafdffc8a7490cc3c55e0b33bd9e925f1d3e01532c0a7bb87f80a04dd6da6fc492edd9fea74bacb0ce16ff64ceac622722fe1f9a77a6b7 |
23 |
+DIST system-config-printer-1.5.14.tar.xz 1005400 BLAKE2B 23f96a079e568afc098cc505d32b02d1fe14e8e43bf24032c890d8c924f754def194525a8188719873c3c4b693666c1ef83f19b8bbe89846fc2c32ed48abe4da SHA512 5aa0f9f7d3a6e15acc1c2fdc62cc6c10bc686a62fbfd2b97aa61e1d6d1d690019fc461b6db54d6340668f52d52764cc0b2cd59b02b5061b7f44577f2c2b19fe9 |
24 |
|
25 |
diff --git a/app-admin/system-config-printer/system-config-printer-1.5.14.ebuild b/app-admin/system-config-printer/system-config-printer-1.5.14.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2ea09c424a6 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/system-config-printer/system-config-printer-1.5.14.ebuild |
30 |
@@ -0,0 +1,76 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
37 |
+PYTHON_REQ_USE="xml" |
38 |
+inherit python-single-r1 systemd xdg |
39 |
+ |
40 |
+DESCRIPTION="Graphical user interface for CUPS administration" |
41 |
+HOMEPAGE="https://github.com/OpenPrinting/system-config-printer" |
42 |
+SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/v${PV}/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+IUSE="gnome-keyring policykit" |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+ |
50 |
+# Needs cups running, bug 284005 |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+# Additional unhandled dependencies |
54 |
+# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ? |
55 |
+# python samba client: smbc |
56 |
+# selinux: needed for troubleshooting |
57 |
+COMMON_DEPEND="${PYTHON_DEPS} |
58 |
+ dev-libs/glib:2 |
59 |
+ net-print/cups[dbus] |
60 |
+ virtual/libusb:1 |
61 |
+ >=virtual/udev-172 |
62 |
+ x11-libs/gtk+:3[introspection] |
63 |
+ x11-libs/libnotify[introspection] |
64 |
+ x11-libs/pango[introspection] |
65 |
+" |
66 |
+DEPEND="${COMMON_DEPEND} |
67 |
+ app-text/docbook-xml-dtd:4.1.2 |
68 |
+ >=app-text/xmlto-0.0.22 |
69 |
+ dev-perl/XML-Parser |
70 |
+ dev-util/desktop-file-utils |
71 |
+ dev-util/intltool |
72 |
+ sys-devel/gettext |
73 |
+ virtual/pkgconfig |
74 |
+" |
75 |
+RDEPEND="${COMMON_DEPEND} |
76 |
+ $(python_gen_cond_dep ' |
77 |
+ dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] |
78 |
+ dev-python/pycairo[${PYTHON_MULTI_USEDEP}] |
79 |
+ dev-python/pycups[${PYTHON_MULTI_USEDEP}] |
80 |
+ dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] |
81 |
+ dev-python/requests[${PYTHON_MULTI_USEDEP}] |
82 |
+ dev-python/urllib3[${PYTHON_MULTI_USEDEP}] |
83 |
+ ') |
84 |
+ gnome-keyring? ( app-crypt/libsecret[introspection] ) |
85 |
+ policykit? ( net-print/cups-pk-helper ) |
86 |
+" |
87 |
+ |
88 |
+pkg_setup() { |
89 |
+ python-single-r1_pkg_setup |
90 |
+} |
91 |
+ |
92 |
+src_configure() { |
93 |
+ local myeconfargs=( |
94 |
+ --enable-nls |
95 |
+ --with-desktop-vendor=Gentoo |
96 |
+ --with-udev-rules |
97 |
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
98 |
+ ) |
99 |
+ econf "${myeconfargs[@]}" |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ default |
104 |
+ python_fix_shebang "${ED}" |
105 |
+ python_optimize |
106 |
+} |