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: Thu, 02 Aug 2018 18:09:56
Message-Id: 1533233379.1a8a256e0432c2deb17e4829a3a6a7392ad3dac0.billie@gentoo
1 commit: 1a8a256e0432c2deb17e4829a3a6a7392ad3dac0
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 2 18:09:39 2018 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 18:09:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8a256e
7
8 net-print/hplip-plugin: Remove old.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-print/hplip-plugin/Manifest | 1 -
13 net-print/hplip-plugin/hplip-plugin-3.18.5.ebuild | 69 -----------------------
14 2 files changed, 70 deletions(-)
15
16 diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
17 index 3ba10f94b51..e1175037e19 100644
18 --- a/net-print/hplip-plugin/Manifest
19 +++ b/net-print/hplip-plugin/Manifest
20 @@ -1,3 +1,2 @@
21 DIST hplip-3.17.10-plugin.run 2062947 BLAKE2B 86f15193a751794eb64acfbaf1b42151c34336603d4d592cc84a375ccca4e7be4177d3dda76fc153ac0a6898eff24174df43256450cd81ae8ad4d4f6abd69ade SHA512 98eef413b122527c4a7860b621baf11c04ec9d7f4e43ce4f36e7822a633c64b3d98cbc86cd7d305c74d9a49a4159ebd7280d652e1ba430cad4cc70f66d23ee07
22 -DIST hplip-3.18.5-plugin.run 2065554 BLAKE2B af0acfbde9c5c3ff92437c86739dac339e91f7d4e1552bad46b3e3a4831317b3ddd3b18375bc8ed4e2340d7b039f11b2bf2b48145ba02b59c876c28fc51842de SHA512 5fd105f15dcc5f47948090c3cb32a2b7db5abc81d10a33e76b4274be407d56c2ff6d6a877f1931ed8a1fa01e7b109a65424fe9de7a6cb5f7eb5f968a10f4721c
23 DIST hplip-3.18.6-plugin.run 2065663 BLAKE2B 501a37dd504250225ddad9712259e0e1b564aa034e433f24d277c5609fa95580417da1a0ae040a4624ff48806a3b34ec56ff31aed843e9f0f0b68b304d2ebd9e SHA512 7b5eb2f43dd014df25ccd9e72dd7efc069db47921f2de650b2ff993dbee60056063edeee6593be7d35019212daf623fff9696b13508a808db92128f5c81bde76
24
25 diff --git a/net-print/hplip-plugin/hplip-plugin-3.18.5.ebuild b/net-print/hplip-plugin/hplip-plugin-3.18.5.ebuild
26 deleted file mode 100644
27 index 906e4c9f061..00000000000
28 --- a/net-print/hplip-plugin/hplip-plugin-3.18.5.ebuild
29 +++ /dev/null
30 @@ -1,69 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="6"
35 -
36 -inherit udev unpacker
37 -
38 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
39 -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing"
40 -SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
41 -
42 -LICENSE="hplip-plugin"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE=""
46 -
47 -RDEPEND="
48 - ~net-print/hplip-${PV}
49 - virtual/udev
50 -"
51 -DEPEND=""
52 -
53 -S=${WORKDIR}
54 -
55 -HPLIP_HOME=/usr/share/hplip
56 -
57 -# Binary prebuilt package
58 -QA_PRESTRIPPED="
59 - /usr/share/hplip/fax/plugins/fax_marvell.so
60 - /usr/share/hplip/prnt/plugins/hbpl1.so
61 - /usr/share/hplip/prnt/plugins/lj.so
62 - /usr/share/hplip/scan/plugins/bb_escl.so
63 - /usr/share/hplip/scan/plugins/bb_marvell.so
64 - /usr/share/hplip/scan/plugins/bb_soapht.so
65 - /usr/share/hplip/scan/plugins/bb_soap.so
66 -"
67 -
68 -# License does not allow us to redistribute the "source" package
69 -RESTRICT="mirror"
70 -
71 -src_unpack() {
72 - unpack_makeself "hplip-${PV}-plugin.run"
73 -}
74 -
75 -src_install() {
76 - local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
77 -
78 - insinto "${HPLIP_HOME}"/data/firmware
79 - doins *.fw.gz
80 -
81 - for plugin in *-${hplip_arch}.so; do
82 - local plugin_type=prnt
83 - case "${plugin}" in
84 - fax_*) plugin_type=fax ;;
85 - bb_*) plugin_type=scan ;;
86 - esac
87 -
88 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
89 - newexe ${plugin} ${plugin/-${hplip_arch}}
90 - done
91 -
92 - mkdir -p "${ED}/var/lib/hp/"
93 - cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
94 - [plugin]
95 - installed = 1
96 - eula = 1
97 - version = ${PV}
98 - _EOF_
99 -}