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