Gentoo Archives: gentoo-commits

From: Daniel Pielmeier <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/
Date: Sat, 22 Jan 2022 10:16:20
Message-Id: 1642846559.6611e1f13cfa57e2333171b08d5b9e4b0dea13ce.billie@gentoo
1 commit: 6611e1f13cfa57e2333171b08d5b9e4b0dea13ce
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 22 10:15:32 2022 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 22 10:15:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6611e1f1
7
8 net-print/hplip-plugin: Remove old.
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
12
13 net-print/hplip-plugin/Manifest | 2 -
14 net-print/hplip-plugin/hplip-plugin-3.21.6.ebuild | 73 -----------------------
15 net-print/hplip-plugin/hplip-plugin-3.21.8.ebuild | 73 -----------------------
16 3 files changed, 148 deletions(-)
17
18 diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
19 index 03ef9368493c..986ad4603fb6 100644
20 --- a/net-print/hplip-plugin/Manifest
21 +++ b/net-print/hplip-plugin/Manifest
22 @@ -1,4 +1,2 @@
23 DIST hplip-3.20.11-plugin.run 11514293 BLAKE2B b3b7698a45e5e68a25ec1216e736484d26546b657f4a519a153acf0280847667e7ca81afc988f722668746281857d51d9e1703857514ffe5b57dea85f2bae4d3 SHA512 9075c1ac8e8f6e12d33b81b633025259f54352ea00271eec07ee898fd9a164445519608fc9ea61a7157845a4a03f87c28f486c7994f0d7db81d11d3fe51f1876
24 DIST hplip-3.21.10-plugin.run 11514107 BLAKE2B a5e0d9d76e4575e8b99cf32749590d1b5209bfd9b33827f3d6f918a4574fb7452c68c816933fe6142b9acd8e336fd57a5a4ef6cf126e767ce37a05872db666ef SHA512 ee5c36b42e3f8e59607bf4e5a2b0e2b594f19aa7302125fff5dd5fdf392cc7cd142d6c44cbd35a53e1f160ee8293a25419caec2de7e09ecc926551723c793b67
25 -DIST hplip-3.21.6-plugin.run 11514013 BLAKE2B 3ce0aea3642579838fc683a26a2ef16ce3477b3b664487764895504d1f488fa1246ece0ee19889403e6f22f18ebbe16a7ccd689ae6bbc48197179365dbeb672d SHA512 aa5620687a4b3ac1ff4c8278ac8d51bb38cedf6ea79782bd7c11e71beb0fe75672761874f271ff33e73a394f2a3aa04e1976455688b0f850b57ad7bc1eea3af8
26 -DIST hplip-3.21.8-plugin.run 11513942 BLAKE2B cbc5614b28a2032ade7fe9906ba5e93c773129121c5b6be950d8d04fd3edeaa97224cee6db4db72fbee6312151d4340b54c04753d03fea36a1772c961a3a0eba SHA512 5042e210d9c084e73a971d605a2eee5e96f2309101859fca09efbd09d60b6ae4959e54cdb334589f36a7aea16fb9eb23eb02bf2b330fab2e4c5a710cb0ec55e1
27
28 diff --git a/net-print/hplip-plugin/hplip-plugin-3.21.6.ebuild b/net-print/hplip-plugin/hplip-plugin-3.21.6.ebuild
29 deleted file mode 100644
30 index 3d990cae58c0..000000000000
31 --- a/net-print/hplip-plugin/hplip-plugin-3.21.6.ebuild
32 +++ /dev/null
33 @@ -1,73 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit unpacker
40 -
41 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
42 -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
43 -SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
44 -LICENSE="hplip-plugin"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~x86"
47 -IUSE="orblite"
48 -
49 -RDEPEND="
50 - ~net-print/hplip-${PV}
51 - virtual/udev
52 - orblite? (
53 - media-gfx/sane-backends
54 - >=sys-libs/glibc-2.26
55 - virtual/libusb:0
56 - )
57 -"
58 -DEPEND=""
59 -
60 -S=${WORKDIR}
61 -
62 -HPLIP_HOME=/usr/share/hplip
63 -
64 -# Binary prebuilt package
65 -QA_PREBUILT="${HPLIP_HOME}/*.so"
66 -
67 -# License does not allow us to redistribute the "source" package
68 -RESTRICT="mirror"
69 -
70 -src_install() {
71 - local hplip_arch
72 - case "${ARCH}" in
73 - amd64) hplip_arch="x86_64" ;;
74 - arm) hplip_arch="arm32" ;;
75 - arm64) hplip_arch="arm64" ;;
76 - x86) hplip_arch="x86_32" ;;
77 - *) die "Unsupported architecture." ;;
78 - esac
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 - bb_orblite-*)
87 - use orblite || continue
88 - plugin_type=scan ;;
89 - bb_*)
90 - plugin_type=scan ;;
91 - fax_*)
92 - plugin_type=fax ;;
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 -}
107
108 diff --git a/net-print/hplip-plugin/hplip-plugin-3.21.8.ebuild b/net-print/hplip-plugin/hplip-plugin-3.21.8.ebuild
109 deleted file mode 100644
110 index 66a474795496..000000000000
111 --- a/net-print/hplip-plugin/hplip-plugin-3.21.8.ebuild
112 +++ /dev/null
113 @@ -1,73 +0,0 @@
114 -# Copyright 1999-2021 Gentoo Authors
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=8
118 -
119 -inherit unpacker
120 -
121 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
122 -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
123 -SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
124 -LICENSE="hplip-plugin"
125 -SLOT="0"
126 -KEYWORDS="~amd64 ~arm ~x86"
127 -IUSE="orblite"
128 -
129 -RDEPEND="
130 - ~net-print/hplip-${PV}
131 - virtual/udev
132 - orblite? (
133 - media-gfx/sane-backends
134 - >=sys-libs/glibc-2.26
135 - virtual/libusb:0
136 - )
137 -"
138 -DEPEND=""
139 -
140 -S=${WORKDIR}
141 -
142 -HPLIP_HOME=/usr/share/hplip
143 -
144 -# Binary prebuilt package
145 -QA_PREBUILT="${HPLIP_HOME}/*.so"
146 -
147 -# License does not allow us to redistribute the "source" package
148 -RESTRICT="mirror"
149 -
150 -src_install() {
151 - local hplip_arch
152 - case "${ARCH}" in
153 - amd64) hplip_arch="x86_64" ;;
154 - arm) hplip_arch="arm32" ;;
155 - arm64) hplip_arch="arm64" ;;
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 - bb_orblite-*)
167 - use orblite || continue
168 - plugin_type=scan ;;
169 - bb_*)
170 - plugin_type=scan ;;
171 - fax_*)
172 - plugin_type=fax ;;
173 - esac
174 -
175 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
176 - newexe ${plugin} ${plugin/-${hplip_arch}}
177 - done
178 -
179 - insinto /var/lib/hp
180 - newins - hplip.state <<-_EOF_
181 - [plugin]
182 - installed = 1
183 - eula = 1
184 - version = ${PV}
185 - _EOF_
186 -}