1 |
commit: 543eb1bab06212a69a74408d13ef38bd72c6f477 |
2 |
Author: Felix Neumärker <xdch47 <AT> posteo <DOT> de> |
3 |
AuthorDate: Thu Aug 15 15:18:47 2019 +0000 |
4 |
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 15 16:03:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=543eb1ba |
7 |
|
8 |
net-print/hplip-plugin: bump to 3.19.6 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/684428 |
11 |
Thanks @stefson |
12 |
|
13 |
Package-Manager: Portage-2.3.69, Repoman-2.3.17 |
14 |
Signed-off-by: Felix Neumärker <xdch47 <AT> posteo.de> |
15 |
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> |
16 |
|
17 |
net-print/hplip-plugin/Manifest | 1 + |
18 |
net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild | 70 +++++++++++++++++++++++ |
19 |
2 files changed, 71 insertions(+) |
20 |
|
21 |
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest |
22 |
index 8503a5e5a0b..ad13371f902 100644 |
23 |
--- a/net-print/hplip-plugin/Manifest |
24 |
+++ b/net-print/hplip-plugin/Manifest |
25 |
@@ -1,3 +1,4 @@ |
26 |
DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f |
27 |
DIST hplip-3.18.6-plugin.run 2065663 BLAKE2B 501a37dd504250225ddad9712259e0e1b564aa034e433f24d277c5609fa95580417da1a0ae040a4624ff48806a3b34ec56ff31aed843e9f0f0b68b304d2ebd9e SHA512 7b5eb2f43dd014df25ccd9e72dd7efc069db47921f2de650b2ff993dbee60056063edeee6593be7d35019212daf623fff9696b13508a808db92128f5c81bde76 |
28 |
DIST hplip-3.19.5-plugin.run 11516444 BLAKE2B c43aaa4dd3c4a8acf91b2746733e5237ef0ff39c3e6180530e0fcd34d5319e603c23806a3b010d70399772abc5564095fe2696c823d80eedf892b87acd170d23 SHA512 8c933f175bf0b91a8f30d6b362f8a487a964dd3304c859d78c9505357088047fdcacb99230f8696071269d5950f681adc0e4051617f1051be254fd6bed704cb9 |
29 |
+DIST hplip-3.19.6-plugin.run 11517158 BLAKE2B c44707e29b104b45c110729c70ebeba1f392ad753eb98d8677657f735e547cdecfab357b348a30545274b51c18249ddb9102df49aa73d726a8e9145a302a8a0c SHA512 3636d655ba289331572f0762a5de2e0bf2f3108ac3f7ca9cb8bbec126942be954fe9c07c882bd8272e30ac46d67231d86a3c4249a6fe31e2d3e8d5e568bbbd8b |
30 |
|
31 |
diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..042e62f4b98 |
34 |
--- /dev/null |
35 |
+++ b/net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild |
36 |
@@ -0,0 +1,70 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+inherit unpacker |
43 |
+ |
44 |
+DESCRIPTION="Proprietary plugins and firmware for HPLIP" |
45 |
+HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" |
46 |
+SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" |
47 |
+LICENSE="hplip-plugin" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ ~net-print/hplip-${PV} |
54 |
+ virtual/libusb:0 |
55 |
+ virtual/udev |
56 |
+" |
57 |
+DEPEND="" |
58 |
+ |
59 |
+S=${WORKDIR} |
60 |
+ |
61 |
+HPLIP_HOME=/usr/share/hplip |
62 |
+ |
63 |
+# Binary prebuilt package |
64 |
+QA_PRESTRIPPED=" |
65 |
+ /usr/share/hplip/fax/plugins/fax_marvell.so |
66 |
+ /usr/share/hplip/prnt/plugins/hbpl1.so |
67 |
+ /usr/share/hplip/prnt/plugins/lj.so |
68 |
+ /usr/share/hplip/scan/plugins/bb_escl.so |
69 |
+ /usr/share/hplip/scan/plugins/bb_marvell.so |
70 |
+ /usr/share/hplip/scan/plugins/bb_soapht.so |
71 |
+ /usr/share/hplip/scan/plugins/bb_soap.so |
72 |
+" |
73 |
+ |
74 |
+# License does not allow us to redistribute the "source" package |
75 |
+RESTRICT="mirror" |
76 |
+ |
77 |
+src_install() { |
78 |
+ local hplip_arch |
79 |
+ case "${ARCH}" in |
80 |
+ amd64) hplip_arch="x86_64" ;; |
81 |
+ x86) hplip_arch="x86_32" ;; |
82 |
+ *) die "Unsupported architecture." ;; |
83 |
+ esac |
84 |
+ |
85 |
+ insinto "${HPLIP_HOME}"/data/firmware |
86 |
+ doins *.fw.gz |
87 |
+ |
88 |
+ for plugin in *-${hplip_arch}.so; do |
89 |
+ local plugin_type=prnt |
90 |
+ case "${plugin}" in |
91 |
+ fax_*) plugin_type=fax ;; |
92 |
+ bb_*) plugin_type=scan ;; |
93 |
+ esac |
94 |
+ |
95 |
+ exeinto "${HPLIP_HOME}"/${plugin_type}/plugins |
96 |
+ newexe ${plugin} ${plugin/-${hplip_arch}} |
97 |
+ done |
98 |
+ |
99 |
+ insinto /var/lib/hp |
100 |
+ newins - hplip.state <<-_EOF_ |
101 |
+ [plugin] |
102 |
+ installed = 1 |
103 |
+ eula = 1 |
104 |
+ version = ${PV} |
105 |
+ _EOF_ |
106 |
+} |