1 |
commit: 1ae61a12c2d1ff4f4ee770fb9d3571c1d42b9100 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 00:50:11 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 01:20:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae61a12 |
7 |
|
8 |
app-admin/system-config-printer: Version bump to 1.5.18 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-admin/system-config-printer/Manifest | 1 + |
13 |
.../system-config-printer-1.5.18.ebuild | 90 ++++++++++++++++++++++ |
14 |
2 files changed, 91 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/system-config-printer/Manifest b/app-admin/system-config-printer/Manifest |
17 |
index 64bc94b0aedc..06675bedc70f 100644 |
18 |
--- a/app-admin/system-config-printer/Manifest |
19 |
+++ b/app-admin/system-config-printer/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST system-config-printer-1.5.16.tar.xz 1382124 BLAKE2B 37548bd470f8e80026e014d4077a79a38ad54258d620654536890b67b688fc790c9a9a269b321f2e12d63ec21f24858866e39b41089195c528ddbdf1351bba5f SHA512 ed20a409def66bdea7de4cd5b397891eca220c841e1b5c8cab98e45f87389ae8ba881d9e24072dd07203141fc34c49c4b67cf099791857c007971e3b7d2e2fc2 |
22 |
DIST system-config-printer-1.5.17.tar.xz 1385792 BLAKE2B c17dce0ef2988028a95e4ad7b9ead18aa13ab07452f5df9a6fb07f4728ce2ed7aa51e8997e7086d517f6965ec1f306fbd6e7f68683e6da66d18bc75408af9220 SHA512 e56fb45e76a93de122bef99774574f77168014b855cd75e1939fb2d6e56ddb27496679a7932cd6255b950599541c3fb3b82386735bfb6dc13eed59f9a259668e |
23 |
+DIST system-config-printer-1.5.18.tar.xz 1396808 BLAKE2B 910e853829ee876edc597a3103b5ab857b3b8c1cb87096f25213b1088e35d9f4d320dad61f55b530283a7650b07abe028a53b4e144b33b1b66c733cb2caa8011 SHA512 33dc9c52d92f4234e055fb10a99cadd58424dcdb62554797b44bdd5319f1c3662bd2fa33417ac3a3f5ec51216d64e81e1897f3e671eb49f6be34057d7c38f3f4 |
24 |
|
25 |
diff --git a/app-admin/system-config-printer/system-config-printer-1.5.18.ebuild b/app-admin/system-config-printer/system-config-printer-1.5.18.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b3d54f6d76b2 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/system-config-printer/system-config-printer-1.5.18.ebuild |
30 |
@@ -0,0 +1,90 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+PYTHON_REQ_USE="xml" |
38 |
+inherit python-single-r1 systemd udev 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 ~riscv ~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 |
+ >=sys-devel/gettext-0.20 |
72 |
+ virtual/pkgconfig |
73 |
+" |
74 |
+RDEPEND="${COMMON_DEPEND} |
75 |
+ $(python_gen_cond_dep ' |
76 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
77 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
78 |
+ dev-python/pycups[${PYTHON_USEDEP}] |
79 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
80 |
+ dev-python/requests[${PYTHON_USEDEP}] |
81 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
82 |
+ ') |
83 |
+ gnome-keyring? ( app-crypt/libsecret[introspection] ) |
84 |
+ policykit? ( net-print/cups-pk-helper ) |
85 |
+" |
86 |
+ |
87 |
+pkg_setup() { |
88 |
+ python-single-r1_pkg_setup |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local myeconfargs=( |
93 |
+ --with-xmlto |
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_compile() { |
103 |
+ default |
104 |
+ python_optimize cupshelpers |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ default |
109 |
+ python_fix_shebang "${ED}" |
110 |
+ python_optimize |
111 |
+ python_domodule cupshelpers |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ udev_reload |
116 |
+} |
117 |
+ |
118 |
+pkg_postrm() { |
119 |
+ udev_reload |
120 |
+} |