summaryrefslogtreecommitdiff
path: root/net-print/hplip-plugin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /net-print/hplip-plugin
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'net-print/hplip-plugin')
-rw-r--r--net-print/hplip-plugin/Manifest8
-rw-r--r--net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild (renamed from net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild)2
-rw-r--r--net-print/hplip-plugin/hplip-plugin-3.20.2.ebuild (renamed from net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild)26
3 files changed, 19 insertions, 17 deletions
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
index 5aaf4646a1c9..faf9510eb98d 100644
--- a/net-print/hplip-plugin/Manifest
+++ b/net-print/hplip-plugin/Manifest
@@ -1,5 +1,5 @@
-DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f
-DIST hplip-3.19.11-plugin.run 11517119 BLAKE2B d7eefde4e579abbb019cfbb5bf7541360884b0d18240c87c0b532981ad3542a60dae139a623db0eaee3057d6fb5e805287ad5bddb2ec87df5b85ffd604f748f4 SHA512 9ef568aa297eb58370e7f01e54d83c53fbfb02494a0f4cfa3b9f92fd11bfae7b9f54d60516d5cf0436a882864505aab68f70b462b820e918a6ad4104987c9295
-EBUILD hplip-plugin-3.18.12.ebuild 1635 BLAKE2B 421610d7a88268aced86e4b30a4e6798fcdb07fd1b321b3caf65c1e444d9034b461e606f42fe75879a6f19cddc7b5d6264a02febb24e11d126a073b50c517b9c SHA512 3ec01211d1ce65e56e3b2a904390a7ead68a4fec8681b26ed36d2dae7daf7c78d79fec06684b1fccf675290bfed8214693f429b58c2a395ce682016750337865
-EBUILD hplip-plugin-3.19.11.ebuild 1582 BLAKE2B c154a00fae8a57e1b210714728fac79256f14fc8e850936caa1fd6273199f60087cb8cbaf96ba3d0afaf0109638031f9de010812f585676e6af8cca4e2d6cad6 SHA512 eca251a0e72c19a4bf4809a84de741b9704ee20fb82bf669eaeb4f4e9125ead78b3635002120e96c4fd1fbda2060bc8672a8d81caea048eb240ee7305bea7b51
+DIST hplip-3.19.12-plugin.run 11512079 BLAKE2B 534cbba51b2254f8227611b8f0449e100361fb445400f664e43e30412be8eb554bb35c2fe260d45cd5ad742b083af6d551532a9d14585029b0ff93675fab578a SHA512 ac2022d555f5084d5bf1e4519ddbb29828e9ca385aa6dff818ae9e79b60b4b2745e31ad4146cb01bca3747fae0d61b96e4a823b81179d2e2c55a643831165e4b
+DIST hplip-3.20.2-plugin.run 11517273 BLAKE2B 2e1a4829fad70c575ee86b02b80057cf5e3bd7d6ef2e5d76a532290b699ec908ef57e568938607ce8ee7ff8150aa4096ce6425023ce671150b7fac69310ec82b SHA512 632e9d5a0381b568fb1766df493134b9d8c53c13bd5da1e7e06fdf8369d8f30205378e64fec3372104b44ce6ed6a5e9c1f587914f0ad6454a750d07d384e5d28
+EBUILD hplip-plugin-3.19.12.ebuild 1582 BLAKE2B a32bc580eaf2ee335739306a8f5661bd7bf3a0a49f2bd7fdf0ddab0265418807122d680d385e76a5eae243d2e56029ddb7d74ee9f362ec338290ff226b33e003 SHA512 a423e2ef0f2663ed772cebf37517d5373737c6c68ff387ece0aa17a43a934b4338ba2f2ff395b67ca00ae8f9e7b29f587e86c69cfb461dde6c0e9273358e851b
+EBUILD hplip-plugin-3.20.2.ebuild 1582 BLAKE2B a32bc580eaf2ee335739306a8f5661bd7bf3a0a49f2bd7fdf0ddab0265418807122d680d385e76a5eae243d2e56029ddb7d74ee9f362ec338290ff226b33e003 SHA512 a423e2ef0f2663ed772cebf37517d5373737c6c68ff387ece0aa17a43a934b4338ba2f2ff395b67ca00ae8f9e7b29f587e86c69cfb461dde6c0e9273358e851b
MISC metadata.xml 334 BLAKE2B 8f1a0784c57af6204db98f443bdb09df2a6432674d711a5ecf577c20e29f04a030549ea19c6e04f51cd9a36e60a6da94bebafbfcc10d52da87109e59c32d42ee SHA512 105a5442ba05b94b2886f9075bd89268d4f2e0567ad69a637a1bd7d7d0eafdc280dfdb198aab5d72525300a9be0d4ad78f6bfe6398c896cc9de0f591651d102c
diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild
index b497f4a93fa1..315136510139 100644
--- a/net-print/hplip-plugin/hplip-plugin-3.19.11.ebuild
+++ b/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild b/net-print/hplip-plugin/hplip-plugin-3.20.2.ebuild
index 7714ffa082db..315136510139 100644
--- a/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild
+++ b/net-print/hplip-plugin/hplip-plugin-3.20.2.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit udev unpacker
+inherit unpacker
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
-#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
LICENSE="hplip-plugin"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND="
~net-print/hplip-${PV}
+ virtual/libusb:0
virtual/udev
"
DEPEND=""
@@ -38,12 +38,14 @@ QA_PRESTRIPPED="
# License does not allow us to redistribute the "source" package
RESTRICT="mirror"
-src_unpack() {
- unpack_makeself "hplip-${PV}-plugin.run"
-}
-
src_install() {
- local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
+ local hplip_arch
+ case "${ARCH}" in
+ amd64) hplip_arch="x86_64" ;;
+ arm) hplip_arch="arm32" ;;
+ x86) hplip_arch="x86_32" ;;
+ *) die "Unsupported architecture." ;;
+ esac
insinto "${HPLIP_HOME}"/data/firmware
doins *.fw.gz
@@ -59,8 +61,8 @@ src_install() {
newexe ${plugin} ${plugin/-${hplip_arch}}
done
- mkdir -p "${ED}/var/lib/hp/"
- cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
+ insinto /var/lib/hp
+ newins - hplip.state <<-_EOF_
[plugin]
installed = 1
eula = 1