1 |
commit: 003f2b2edbd609f5debcd065addf18301f4037ea |
2 |
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 11 19:40:42 2020 +0000 |
4 |
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 19:40:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=003f2b2e |
7 |
|
8 |
net-print/hplip-plugin: Remove old. |
9 |
|
10 |
hplip-plugin-3.18.12 hplip-plugin-3.19.11 |
11 |
|
12 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
13 |
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> |
14 |
|
15 |
net-print/hplip-plugin/Manifest | 2 - |
16 |
net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild | 69 --------------------- |
17 |
net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild | 71 ---------------------- |
18 |
3 files changed, 142 deletions(-) |
19 |
|
20 |
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest |
21 |
index 985dc1ae690..1547c6d7f86 100644 |
22 |
--- a/net-print/hplip-plugin/Manifest |
23 |
+++ b/net-print/hplip-plugin/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f |
26 |
-DIST hplip-3.19.11-plugin.run 11517119 BLAKE2B d7eefde4e579abbb019cfbb5bf7541360884b0d18240c87c0b532981ad3542a60dae139a623db0eaee3057d6fb5e805287ad5bddb2ec87df5b85ffd604f748f4 SHA512 9ef568aa297eb58370e7f01e54d83c53fbfb02494a0f4cfa3b9f92fd11bfae7b9f54d60516d5cf0436a882864505aab68f70b462b820e918a6ad4104987c9295 |
27 |
DIST hplip-3.19.12-plugin.run 11512079 BLAKE2B 534cbba51b2254f8227611b8f0449e100361fb445400f664e43e30412be8eb554bb35c2fe260d45cd5ad742b083af6d551532a9d14585029b0ff93675fab578a SHA512 ac2022d555f5084d5bf1e4519ddbb29828e9ca385aa6dff818ae9e79b60b4b2745e31ad4146cb01bca3747fae0d61b96e4a823b81179d2e2c55a643831165e4b |
28 |
|
29 |
diff --git a/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild b/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild |
30 |
deleted file mode 100644 |
31 |
index 7714ffa082d..00000000000 |
32 |
--- a/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,69 +0,0 @@ |
35 |
-# Copyright 1999-2019 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-inherit udev unpacker |
41 |
- |
42 |
-DESCRIPTION="Proprietary plugins and firmware for HPLIP" |
43 |
-HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" |
44 |
-#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run" |
45 |
-SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" |
46 |
-LICENSE="hplip-plugin" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~x86" |
49 |
-IUSE="" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- ~net-print/hplip-${PV} |
53 |
- virtual/udev |
54 |
-" |
55 |
-DEPEND="" |
56 |
- |
57 |
-S=${WORKDIR} |
58 |
- |
59 |
-HPLIP_HOME=/usr/share/hplip |
60 |
- |
61 |
-# Binary prebuilt package |
62 |
-QA_PRESTRIPPED=" |
63 |
- /usr/share/hplip/fax/plugins/fax_marvell.so |
64 |
- /usr/share/hplip/prnt/plugins/hbpl1.so |
65 |
- /usr/share/hplip/prnt/plugins/lj.so |
66 |
- /usr/share/hplip/scan/plugins/bb_escl.so |
67 |
- /usr/share/hplip/scan/plugins/bb_marvell.so |
68 |
- /usr/share/hplip/scan/plugins/bb_soapht.so |
69 |
- /usr/share/hplip/scan/plugins/bb_soap.so |
70 |
-" |
71 |
- |
72 |
-# License does not allow us to redistribute the "source" package |
73 |
-RESTRICT="mirror" |
74 |
- |
75 |
-src_unpack() { |
76 |
- unpack_makeself "hplip-${PV}-plugin.run" |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32') |
81 |
- |
82 |
- insinto "${HPLIP_HOME}"/data/firmware |
83 |
- doins *.fw.gz |
84 |
- |
85 |
- for plugin in *-${hplip_arch}.so; do |
86 |
- local plugin_type=prnt |
87 |
- case "${plugin}" in |
88 |
- fax_*) plugin_type=fax ;; |
89 |
- bb_*) plugin_type=scan ;; |
90 |
- esac |
91 |
- |
92 |
- exeinto "${HPLIP_HOME}"/${plugin_type}/plugins |
93 |
- newexe ${plugin} ${plugin/-${hplip_arch}} |
94 |
- done |
95 |
- |
96 |
- mkdir -p "${ED}/var/lib/hp/" |
97 |
- cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_ |
98 |
- [plugin] |
99 |
- installed = 1 |
100 |
- eula = 1 |
101 |
- version = ${PV} |
102 |
- _EOF_ |
103 |
-} |
104 |
|
105 |
diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild |
106 |
deleted file mode 100644 |
107 |
index b497f4a93fa..00000000000 |
108 |
--- a/net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild |
109 |
+++ /dev/null |
110 |
@@ -1,71 +0,0 @@ |
111 |
-# Copyright 1999-2019 Gentoo Authors |
112 |
-# Distributed under the terms of the GNU General Public License v2 |
113 |
- |
114 |
-EAPI=7 |
115 |
- |
116 |
-inherit unpacker |
117 |
- |
118 |
-DESCRIPTION="Proprietary plugins and firmware for HPLIP" |
119 |
-HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" |
120 |
-SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" |
121 |
-LICENSE="hplip-plugin" |
122 |
-SLOT="0" |
123 |
-KEYWORDS="~amd64 ~arm ~x86" |
124 |
-IUSE="" |
125 |
- |
126 |
-RDEPEND=" |
127 |
- ~net-print/hplip-${PV} |
128 |
- virtual/libusb:0 |
129 |
- virtual/udev |
130 |
-" |
131 |
-DEPEND="" |
132 |
- |
133 |
-S=${WORKDIR} |
134 |
- |
135 |
-HPLIP_HOME=/usr/share/hplip |
136 |
- |
137 |
-# Binary prebuilt package |
138 |
-QA_PRESTRIPPED=" |
139 |
- /usr/share/hplip/fax/plugins/fax_marvell.so |
140 |
- /usr/share/hplip/prnt/plugins/hbpl1.so |
141 |
- /usr/share/hplip/prnt/plugins/lj.so |
142 |
- /usr/share/hplip/scan/plugins/bb_escl.so |
143 |
- /usr/share/hplip/scan/plugins/bb_marvell.so |
144 |
- /usr/share/hplip/scan/plugins/bb_soapht.so |
145 |
- /usr/share/hplip/scan/plugins/bb_soap.so |
146 |
-" |
147 |
- |
148 |
-# License does not allow us to redistribute the "source" package |
149 |
-RESTRICT="mirror" |
150 |
- |
151 |
-src_install() { |
152 |
- local hplip_arch |
153 |
- case "${ARCH}" in |
154 |
- amd64) hplip_arch="x86_64" ;; |
155 |
- arm) hplip_arch="arm32" ;; |
156 |
- x86) hplip_arch="x86_32" ;; |
157 |
- *) die "Unsupported architecture." ;; |
158 |
- esac |
159 |
- |
160 |
- insinto "${HPLIP_HOME}"/data/firmware |
161 |
- doins *.fw.gz |
162 |
- |
163 |
- for plugin in *-${hplip_arch}.so; do |
164 |
- local plugin_type=prnt |
165 |
- case "${plugin}" in |
166 |
- fax_*) plugin_type=fax ;; |
167 |
- bb_*) plugin_type=scan ;; |
168 |
- esac |
169 |
- |
170 |
- exeinto "${HPLIP_HOME}"/${plugin_type}/plugins |
171 |
- newexe ${plugin} ${plugin/-${hplip_arch}} |
172 |
- done |
173 |
- |
174 |
- insinto /var/lib/hp |
175 |
- newins - hplip.state <<-_EOF_ |
176 |
- [plugin] |
177 |
- installed = 1 |
178 |
- eula = 1 |
179 |
- version = ${PV} |
180 |
- _EOF_ |
181 |
-} |