Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/
Date: Tue, 05 Apr 2022 08:55:02
Message-Id: 1649148886.26d3b8443847994cdd70b040bba85d9de8512f7e.soap@gentoo
1 commit: 26d3b8443847994cdd70b040bba85d9de8512f7e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 5 08:54:46 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 5 08:54:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d3b844
7
8 net-print/hplip-plugin: canonical variable order
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild | 12 +++++-------
13 1 file changed, 5 insertions(+), 7 deletions(-)
14
15 diff --git a/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild b/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild
16 index 354cee23d950..54c789992915 100644
17 --- a/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild
18 +++ b/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild
19 @@ -8,10 +8,14 @@ inherit unpacker
20 DESCRIPTION="Proprietary plugins and firmware for HPLIP"
21 HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
22 SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
23 +S="${WORKDIR}"
24 +
25 LICENSE="hplip-plugin"
26 SLOT="0"
27 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
28 IUSE="orblite"
29 +# License does not allow us to redistribute the "source" package
30 +RESTRICT="mirror"
31
32 RDEPEND="
33 ~net-print/hplip-${PV}
34 @@ -22,20 +26,14 @@ RDEPEND="
35 virtual/libusb:0
36 )
37 "
38 -DEPEND=""
39 -
40 -S=${WORKDIR}
41
42 HPLIP_HOME=/usr/share/hplip
43
44 # Binary prebuilt package
45 QA_PREBUILT="${HPLIP_HOME}/*.so"
46
47 -# License does not allow us to redistribute the "source" package
48 -RESTRICT="mirror"
49 -
50 src_install() {
51 - local hplip_arch
52 + local hplip_arch plugin
53 case "${ARCH}" in
54 amd64) hplip_arch="x86_64" ;;
55 arm) hplip_arch="arm32" ;;