1 |
commit: d64acf53dbaea549f68daa42913b71babe95af2a |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 27 19:24:16 2019 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 27 19:24:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64acf53 |
7 |
|
8 |
net-print/hplip-plugin: Version bump to 3.19.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
12 |
|
13 |
net-print/hplip-plugin/Manifest | 1 + |
14 |
net-print/hplip-plugin/hplip-plugin-3.19.5.ebuild | 69 +++++++++++++++++++++++ |
15 |
2 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest |
18 |
index a24edd92818..3301f0eee44 100644 |
19 |
--- a/net-print/hplip-plugin/Manifest |
20 |
+++ b/net-print/hplip-plugin/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f |
23 |
DIST hplip-3.18.6-plugin.run 2065663 BLAKE2B 501a37dd504250225ddad9712259e0e1b564aa034e433f24d277c5609fa95580417da1a0ae040a4624ff48806a3b34ec56ff31aed843e9f0f0b68b304d2ebd9e SHA512 7b5eb2f43dd014df25ccd9e72dd7efc069db47921f2de650b2ff993dbee60056063edeee6593be7d35019212daf623fff9696b13508a808db92128f5c81bde76 |
24 |
DIST hplip-3.19.3-plugin.run 11516959 BLAKE2B 858b5973b6bdceddfed25227ffd0e4f7871f1fe01bd080c88a0f28a72e6c7cf8d0aa35c7c55139a5844f80d2dfa3f9862f61cf9564df8dcd65370ee85882c729 SHA512 c0305926bc610f665cef0c114b64db7861da9a6159dff46a3b600ae440f8b225c7b6f774a6549808aa5f11df78970a799bce763922b52aaf0473210e198d382d |
25 |
+DIST hplip-3.19.5-plugin.run 11516444 BLAKE2B c43aaa4dd3c4a8acf91b2746733e5237ef0ff39c3e6180530e0fcd34d5319e603c23806a3b010d70399772abc5564095fe2696c823d80eedf892b87acd170d23 SHA512 8c933f175bf0b91a8f30d6b362f8a487a964dd3304c859d78c9505357088047fdcacb99230f8696071269d5950f681adc0e4051617f1051be254fd6bed704cb9 |
26 |
|
27 |
diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.5.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..7714ffa082d |
30 |
--- /dev/null |
31 |
+++ b/net-print/hplip-plugin/hplip-plugin-3.19.5.ebuild |
32 |
@@ -0,0 +1,69 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit udev unpacker |
39 |
+ |
40 |
+DESCRIPTION="Proprietary plugins and firmware for HPLIP" |
41 |
+HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" |
42 |
+#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run" |
43 |
+SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" |
44 |
+LICENSE="hplip-plugin" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ ~net-print/hplip-${PV} |
51 |
+ virtual/udev |
52 |
+" |
53 |
+DEPEND="" |
54 |
+ |
55 |
+S=${WORKDIR} |
56 |
+ |
57 |
+HPLIP_HOME=/usr/share/hplip |
58 |
+ |
59 |
+# Binary prebuilt package |
60 |
+QA_PRESTRIPPED=" |
61 |
+ /usr/share/hplip/fax/plugins/fax_marvell.so |
62 |
+ /usr/share/hplip/prnt/plugins/hbpl1.so |
63 |
+ /usr/share/hplip/prnt/plugins/lj.so |
64 |
+ /usr/share/hplip/scan/plugins/bb_escl.so |
65 |
+ /usr/share/hplip/scan/plugins/bb_marvell.so |
66 |
+ /usr/share/hplip/scan/plugins/bb_soapht.so |
67 |
+ /usr/share/hplip/scan/plugins/bb_soap.so |
68 |
+" |
69 |
+ |
70 |
+# License does not allow us to redistribute the "source" package |
71 |
+RESTRICT="mirror" |
72 |
+ |
73 |
+src_unpack() { |
74 |
+ unpack_makeself "hplip-${PV}-plugin.run" |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32') |
79 |
+ |
80 |
+ insinto "${HPLIP_HOME}"/data/firmware |
81 |
+ doins *.fw.gz |
82 |
+ |
83 |
+ for plugin in *-${hplip_arch}.so; do |
84 |
+ local plugin_type=prnt |
85 |
+ case "${plugin}" in |
86 |
+ fax_*) plugin_type=fax ;; |
87 |
+ bb_*) plugin_type=scan ;; |
88 |
+ esac |
89 |
+ |
90 |
+ exeinto "${HPLIP_HOME}"/${plugin_type}/plugins |
91 |
+ newexe ${plugin} ${plugin/-${hplip_arch}} |
92 |
+ done |
93 |
+ |
94 |
+ mkdir -p "${ED}/var/lib/hp/" |
95 |
+ cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_ |
96 |
+ [plugin] |
97 |
+ installed = 1 |
98 |
+ eula = 1 |
99 |
+ version = ${PV} |
100 |
+ _EOF_ |
101 |
+} |