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, 05 Mar 2022 17:28:40
Message-Id: 1646501297.6f117c6d4923606769272b0794701e2b85f4863f.billie@gentoo
1 commit: 6f117c6d4923606769272b0794701e2b85f4863f
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 5 17:28:17 2022 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 5 17:28:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f117c6d
7
8 net-print/hplip-plugin: Remove old.
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
12
13 net-print/hplip-plugin/Manifest | 1 -
14 net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild | 73 ----------------------
15 2 files changed, 74 deletions(-)
16
17 diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
18 index 6a5db3529f6d..3b629108edcb 100644
19 --- a/net-print/hplip-plugin/Manifest
20 +++ b/net-print/hplip-plugin/Manifest
21 @@ -1,3 +1,2 @@
22 DIST hplip-3.20.11-plugin.run 11514293 BLAKE2B b3b7698a45e5e68a25ec1216e736484d26546b657f4a519a153acf0280847667e7ca81afc988f722668746281857d51d9e1703857514ffe5b57dea85f2bae4d3 SHA512 9075c1ac8e8f6e12d33b81b633025259f54352ea00271eec07ee898fd9a164445519608fc9ea61a7157845a4a03f87c28f486c7994f0d7db81d11d3fe51f1876
23 -DIST hplip-3.21.10-plugin.run 11514107 BLAKE2B a5e0d9d76e4575e8b99cf32749590d1b5209bfd9b33827f3d6f918a4574fb7452c68c816933fe6142b9acd8e336fd57a5a4ef6cf126e767ce37a05872db666ef SHA512 ee5c36b42e3f8e59607bf4e5a2b0e2b594f19aa7302125fff5dd5fdf392cc7cd142d6c44cbd35a53e1f160ee8293a25419caec2de7e09ecc926551723c793b67
24 DIST hplip-3.21.12-plugin.run 11487224 BLAKE2B 601f70d6d75bc0172b6de647af43afa0ec047eb8b0a9a37611f2496d43daf1d4de4b705d6e58cb209910d7341811dc365d7aeb60d738f5e8ede71337bf36b58e SHA512 5bf6c0d7fb10f9108baac5d9c0c62f080b15cb227ae39c6647111d6dd39a3f97ab1044bccce781f224b5886842da5bd5063d3ce05db374a43e57a7152c52683b
25
26 diff --git a/net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild b/net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild
27 deleted file mode 100644
28 index f253c082d73c..000000000000
29 --- a/net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild
30 +++ /dev/null
31 @@ -1,73 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -inherit unpacker
38 -
39 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
40 -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
41 -SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
42 -LICENSE="hplip-plugin"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 -IUSE="orblite"
46 -
47 -RDEPEND="
48 - ~net-print/hplip-${PV}
49 - virtual/udev
50 - orblite? (
51 - media-gfx/sane-backends
52 - >=sys-libs/glibc-2.26
53 - virtual/libusb:0
54 - )
55 -"
56 -DEPEND=""
57 -
58 -S=${WORKDIR}
59 -
60 -HPLIP_HOME=/usr/share/hplip
61 -
62 -# Binary prebuilt package
63 -QA_PREBUILT="${HPLIP_HOME}/*.so"
64 -
65 -# License does not allow us to redistribute the "source" package
66 -RESTRICT="mirror"
67 -
68 -src_install() {
69 - local hplip_arch
70 - case "${ARCH}" in
71 - amd64) hplip_arch="x86_64" ;;
72 - arm) hplip_arch="arm32" ;;
73 - arm64) hplip_arch="arm64" ;;
74 - x86) hplip_arch="x86_32" ;;
75 - *) die "Unsupported architecture." ;;
76 - esac
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 - bb_orblite-*)
85 - use orblite || continue
86 - plugin_type=scan ;;
87 - bb_*)
88 - plugin_type=scan ;;
89 - fax_*)
90 - plugin_type=fax ;;
91 - esac
92 -
93 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
94 - newexe ${plugin} ${plugin/-${hplip_arch}}
95 - done
96 -
97 - insinto /var/lib/hp
98 - newins - hplip.state <<-_EOF_
99 - [plugin]
100 - installed = 1
101 - eula = 1
102 - version = ${PV}
103 - _EOF_
104 -}