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: Fri, 30 Sep 2016 16:43:20
Message-Id: 1475253789.f74e81113e347cefafab9d75cb18965870a7b718.billie@gentoo
1 commit: f74e81113e347cefafab9d75cb18965870a7b718
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 16:43:09 2016 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 16:43:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74e8111
7
8 net-print/hplip-plugin: Remove old.
9
10 Package-Manager: portage-2.3.0
11
12 net-print/hplip-plugin/Manifest | 2 -
13 net-print/hplip-plugin/hplip-plugin-3.16.7.ebuild | 69 -----------------------
14 net-print/hplip-plugin/hplip-plugin-3.16.8.ebuild | 69 -----------------------
15 3 files changed, 140 deletions(-)
16
17 diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
18 index 9e76349..5e2a604 100644
19 --- a/net-print/hplip-plugin/Manifest
20 +++ b/net-print/hplip-plugin/Manifest
21 @@ -1,4 +1,2 @@
22 DIST hplip-3.14.10-plugin.run 1869038 SHA256 b395b480ad86b9f27b6a2f63b6ecb00beb78e762a6137efb81dc1104837f9b81 SHA512 3e5bea924e989d902aea0de182941be692a124ba8c27f53ce2e4f137308bad8373462c6128c26716e481e758f76533163d311a2676df034c1b15d6ef6ed008be WHIRLPOOL 18375de4cc92cb73bcaa109927bd34f8487938b02472f0b7adbf44ad4688e5c6a1d030077b1e3c14f15f9b8e4cc86d195b0195e2d08121f746c62624db4658db
23 DIST hplip-3.16.3-plugin.run 2084271 SHA256 b7edef2a1c5c0a5e001deb4a18c0ef7202e653596e97144b8908ae093818070f SHA512 2ae8aeb40c2604a2c6b9725700f9addf7a82e819d603631158a5d5feac931248e53e7533178100df1fc12b0dc2340cb3ae0d85f145cd023a311f77bbe67e7c7f WHIRLPOOL 928117f862030eca9c3e5813eb8c4db66570923695b0c7af17df1992f339d2478f42af67ca0e0eb8cfa1d7425b522082fde3b8c829c3f5167e1ec503c95a986b
24 -DIST hplip-3.16.7-plugin.run 2084352 SHA256 6e0818ec4581a814c0d92dce953ecf85eb7b9b10d358a3c9e8282162591e88cc SHA512 5b361c13e2b0efa59877897c1fc034d3a75194e0d39571c7e850c11544d7c85931852b3c4dea6945378793b529ffa3704377f81cab8b04fcc2abf0dee41d1b05 WHIRLPOOL 47a93d599644761a90ef6a5bfb51532fc7ecd76421ab14c5bba7bb7b29bbc0e73fceb0400c47a3ca7d13134a1aefb4bbd74d1fc8a353a0b39379fa113d53fbb1
25 -DIST hplip-3.16.8-plugin.run 2087862 SHA256 dd0b67fc1958bcf30c7ec7cb013d36d8071db6f78cc531e2169d139ba29117eb SHA512 f7ca720f343aef9b0d2fd4b3ded909c63fd6d7abce10060d5854b73c63d4a7c4e50c38da55728a53103dddac651068a242e07ae54be84b0ff6cb61fadba35245 WHIRLPOOL 5da94f21d59b51dcec1241046d1f9b7e4a44a8a9d56a4d5d615d2b117487556e67749c72a7d33e81536c0e25652614f88c0c8c6a8a65dcc45a6feac6da03293e
26
27 diff --git a/net-print/hplip-plugin/hplip-plugin-3.16.7.ebuild b/net-print/hplip-plugin/hplip-plugin-3.16.7.ebuild
28 deleted file mode 100644
29 index 8408448..00000000
30 --- a/net-print/hplip-plugin/hplip-plugin-3.16.7.ebuild
31 +++ /dev/null
32 @@ -1,69 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI="6"
38 -
39 -inherit udev unpacker
40 -
41 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
42 -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
43 -SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
44 -
45 -LICENSE="hplip-plugin"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE=""
49 -
50 -RDEPEND="
51 - ~net-print/hplip-${PV}
52 - virtual/udev
53 -"
54 -DEPEND=""
55 -
56 -S=${WORKDIR}
57 -
58 -HPLIP_HOME=/usr/share/hplip
59 -
60 -# Binary prebuilt package
61 -QA_PRESTRIPPED="
62 - /usr/share/hplip/fax/plugins/fax_marvell.so
63 - /usr/share/hplip/prnt/plugins/hbpl1.so
64 - /usr/share/hplip/prnt/plugins/lj.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 -}
102
103 diff --git a/net-print/hplip-plugin/hplip-plugin-3.16.8.ebuild b/net-print/hplip-plugin/hplip-plugin-3.16.8.ebuild
104 deleted file mode 100644
105 index 8408448..00000000
106 --- a/net-print/hplip-plugin/hplip-plugin-3.16.8.ebuild
107 +++ /dev/null
108 @@ -1,69 +0,0 @@
109 -# Copyright 1999-2016 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -# $Id$
112 -
113 -EAPI="6"
114 -
115 -inherit udev unpacker
116 -
117 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
118 -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
119 -SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
120 -
121 -LICENSE="hplip-plugin"
122 -SLOT="0"
123 -KEYWORDS="~amd64 ~x86"
124 -IUSE=""
125 -
126 -RDEPEND="
127 - ~net-print/hplip-${PV}
128 - virtual/udev
129 -"
130 -DEPEND=""
131 -
132 -S=${WORKDIR}
133 -
134 -HPLIP_HOME=/usr/share/hplip
135 -
136 -# Binary prebuilt package
137 -QA_PRESTRIPPED="
138 - /usr/share/hplip/fax/plugins/fax_marvell.so
139 - /usr/share/hplip/prnt/plugins/hbpl1.so
140 - /usr/share/hplip/prnt/plugins/lj.so
141 - /usr/share/hplip/scan/plugins/bb_marvell.so
142 - /usr/share/hplip/scan/plugins/bb_soapht.so
143 - /usr/share/hplip/scan/plugins/bb_soap.so
144 -"
145 -
146 -# License does not allow us to redistribute the "source" package
147 -RESTRICT="mirror"
148 -
149 -src_unpack() {
150 - unpack_makeself "hplip-${PV}-plugin.run"
151 -}
152 -
153 -src_install() {
154 - local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
155 -
156 - insinto "${HPLIP_HOME}"/data/firmware
157 - doins *.fw.gz
158 -
159 - for plugin in *-${hplip_arch}.so; do
160 - local plugin_type=prnt
161 - case "${plugin}" in
162 - fax_*) plugin_type=fax ;;
163 - bb_*) plugin_type=scan ;;
164 - esac
165 -
166 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
167 - newexe ${plugin} ${plugin/-${hplip_arch}}
168 - done
169 -
170 - mkdir -p "${ED}/var/lib/hp/"
171 - cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
172 - [plugin]
173 - installed = 1
174 - eula = 1
175 - version = ${PV}
176 - _EOF_
177 -}