Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/
Date: Sat, 27 Aug 2016 13:50:38
Message-Id: 1472305817.15fa25734096e1b71436a4661ba0b4de5570efc0.monsieurp@gentoo
1 commit: 15fa25734096e1b71436a4661ba0b4de5570efc0
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 27 13:50:17 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 27 13:50:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15fa2573
7
8 net-print/hplip-plugin: Clean up old.
9
10 Package-Manager: portage-2.2.28
11
12 net-print/hplip-plugin/Manifest | 1 -
13 net-print/hplip-plugin/hplip-plugin-3.16.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 ed94dfa..fd1917c 100644
18 --- a/net-print/hplip-plugin/Manifest
19 +++ b/net-print/hplip-plugin/Manifest
20 @@ -1,4 +1,3 @@
21 DIST hplip-3.14.10-plugin.run 1869038 SHA256 b395b480ad86b9f27b6a2f63b6ecb00beb78e762a6137efb81dc1104837f9b81 SHA512 3e5bea924e989d902aea0de182941be692a124ba8c27f53ce2e4f137308bad8373462c6128c26716e481e758f76533163d311a2676df034c1b15d6ef6ed008be WHIRLPOOL 18375de4cc92cb73bcaa109927bd34f8487938b02472f0b7adbf44ad4688e5c6a1d030077b1e3c14f15f9b8e4cc86d195b0195e2d08121f746c62624db4658db
22 DIST hplip-3.16.3-plugin.run 2084271 SHA256 b7edef2a1c5c0a5e001deb4a18c0ef7202e653596e97144b8908ae093818070f SHA512 2ae8aeb40c2604a2c6b9725700f9addf7a82e819d603631158a5d5feac931248e53e7533178100df1fc12b0dc2340cb3ae0d85f145cd023a311f77bbe67e7c7f WHIRLPOOL 928117f862030eca9c3e5813eb8c4db66570923695b0c7af17df1992f339d2478f42af67ca0e0eb8cfa1d7425b522082fde3b8c829c3f5167e1ec503c95a986b
23 -DIST hplip-3.16.5-plugin.run 2084359 SHA256 783c74b301a1ea25cdd1f079805e9cee0f27b697babae6ae89b9db6647631997 SHA512 2a49fed0a89e8ba987d58b5c681cd2cfbdb4d235ce2ae4c9a943c763cdb1038a754075f7b65e857c8d21f64a3f7b440abe04d15ca1faf46f3709581aae4ff6fe WHIRLPOOL c7b72fe33e212581dd3c9fdd7bf9b77a204856479a9cfd5b960869f6882728037f48cbc2a3df7c103dc876fb16b922923733af8955588279ad7606f47e564fd5
24 DIST hplip-3.16.7-plugin.run 2084352 SHA256 6e0818ec4581a814c0d92dce953ecf85eb7b9b10d358a3c9e8282162591e88cc SHA512 5b361c13e2b0efa59877897c1fc034d3a75194e0d39571c7e850c11544d7c85931852b3c4dea6945378793b529ffa3704377f81cab8b04fcc2abf0dee41d1b05 WHIRLPOOL 47a93d599644761a90ef6a5bfb51532fc7ecd76421ab14c5bba7bb7b29bbc0e73fceb0400c47a3ca7d13134a1aefb4bbd74d1fc8a353a0b39379fa113d53fbb1
25
26 diff --git a/net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild b/net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild
27 deleted file mode 100644
28 index 8408448..00000000
29 --- a/net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild
30 +++ /dev/null
31 @@ -1,69 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI="6"
37 -
38 -inherit udev unpacker
39 -
40 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
41 -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
42 -SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
43 -
44 -LICENSE="hplip-plugin"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE=""
48 -
49 -RDEPEND="
50 - ~net-print/hplip-${PV}
51 - virtual/udev
52 -"
53 -DEPEND=""
54 -
55 -S=${WORKDIR}
56 -
57 -HPLIP_HOME=/usr/share/hplip
58 -
59 -# Binary prebuilt package
60 -QA_PRESTRIPPED="
61 - /usr/share/hplip/fax/plugins/fax_marvell.so
62 - /usr/share/hplip/prnt/plugins/hbpl1.so
63 - /usr/share/hplip/prnt/plugins/lj.so
64 - /usr/share/hplip/scan/plugins/bb_marvell.so
65 - /usr/share/hplip/scan/plugins/bb_soapht.so
66 - /usr/share/hplip/scan/plugins/bb_soap.so
67 -"
68 -
69 -# License does not allow us to redistribute the "source" package
70 -RESTRICT="mirror"
71 -
72 -src_unpack() {
73 - unpack_makeself "hplip-${PV}-plugin.run"
74 -}
75 -
76 -src_install() {
77 - local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
78 -
79 - insinto "${HPLIP_HOME}"/data/firmware
80 - doins *.fw.gz
81 -
82 - for plugin in *-${hplip_arch}.so; do
83 - local plugin_type=prnt
84 - case "${plugin}" in
85 - fax_*) plugin_type=fax ;;
86 - bb_*) plugin_type=scan ;;
87 - esac
88 -
89 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
90 - newexe ${plugin} ${plugin/-${hplip_arch}}
91 - done
92 -
93 - mkdir -p "${ED}/var/lib/hp/"
94 - cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
95 - [plugin]
96 - installed = 1
97 - eula = 1
98 - version = ${PV}
99 - _EOF_
100 -}