mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-print/hplip-plugin: drop 3.20.11, 3.21.12
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST hplip-3.20.11-plugin.run 11514293 BLAKE2B b3b7698a45e5e68a25ec1216e736484d26546b657f4a519a153acf0280847667e7ca81afc988f722668746281857d51d9e1703857514ffe5b57dea85f2bae4d3 SHA512 9075c1ac8e8f6e12d33b81b633025259f54352ea00271eec07ee898fd9a164445519608fc9ea61a7157845a4a03f87c28f486c7994f0d7db81d11d3fe51f1876
|
||||
DIST hplip-3.21.12-plugin.run 11487224 BLAKE2B 601f70d6d75bc0172b6de647af43afa0ec047eb8b0a9a37611f2496d43daf1d4de4b705d6e58cb209910d7341811dc365d7aeb60d738f5e8ede71337bf36b58e SHA512 5bf6c0d7fb10f9108baac5d9c0c62f080b15cb227ae39c6647111d6dd39a3f97ab1044bccce781f224b5886842da5bd5063d3ce05db374a43e57a7152c52683b
|
||||
DIST hplip-3.22.2-plugin.run 11487296 BLAKE2B 2c953e85b3ef299066aaf158121f4a3db68b00f2e2df3cb35acc78a54a466e8a3e204592fbfa2128acb87c0f9b258178cd29faf4e93600ee4b10fe81b93f213b SHA512 5efa533863bec3e7e5fc354411216e6e4232c2bbc15a062ff829296e1357c523333df8221a341b10c940022708299a33449020e633a9873205b568959327cb24
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
|
||||
HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
|
||||
SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
|
||||
LICENSE="hplip-plugin"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE="orblite"
|
||||
|
||||
RDEPEND="
|
||||
~net-print/hplip-${PV}
|
||||
virtual/udev
|
||||
orblite? (
|
||||
media-gfx/sane-backends
|
||||
>=sys-libs/glibc-2.26
|
||||
virtual/libusb:0
|
||||
)
|
||||
"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
HPLIP_HOME=/usr/share/hplip
|
||||
|
||||
# Binary prebuilt package
|
||||
QA_PREBUILT="${HPLIP_HOME}/*.so"
|
||||
|
||||
# License does not allow us to redistribute the "source" package
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_install() {
|
||||
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
|
||||
|
||||
for plugin in *-${hplip_arch}.so; do
|
||||
local plugin_type=prnt
|
||||
case "${plugin}" in
|
||||
bb_orblite-*)
|
||||
use orblite || continue
|
||||
plugin_type=scan ;;
|
||||
bb_*)
|
||||
plugin_type=scan ;;
|
||||
fax_*)
|
||||
plugin_type=fax ;;
|
||||
esac
|
||||
|
||||
exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
|
||||
newexe ${plugin} ${plugin/-${hplip_arch}}
|
||||
done
|
||||
|
||||
insinto /var/lib/hp
|
||||
newins - hplip.state <<-_EOF_
|
||||
[plugin]
|
||||
installed = 1
|
||||
eula = 1
|
||||
version = ${PV}
|
||||
_EOF_
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
|
||||
HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
|
||||
SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
|
||||
LICENSE="hplip-plugin"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="orblite"
|
||||
|
||||
RDEPEND="
|
||||
~net-print/hplip-${PV}
|
||||
virtual/udev
|
||||
orblite? (
|
||||
media-gfx/sane-backends
|
||||
>=sys-libs/glibc-2.26
|
||||
virtual/libusb:0
|
||||
)
|
||||
"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
HPLIP_HOME=/usr/share/hplip
|
||||
|
||||
# Binary prebuilt package
|
||||
QA_PREBUILT="${HPLIP_HOME}/*.so"
|
||||
|
||||
# License does not allow us to redistribute the "source" package
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_install() {
|
||||
local hplip_arch
|
||||
case "${ARCH}" in
|
||||
amd64) hplip_arch="x86_64" ;;
|
||||
arm) hplip_arch="arm32" ;;
|
||||
arm64) hplip_arch="arm64" ;;
|
||||
x86) hplip_arch="x86_32" ;;
|
||||
*) die "Unsupported architecture." ;;
|
||||
esac
|
||||
|
||||
insinto "${HPLIP_HOME}"/data/firmware
|
||||
doins *.fw.gz
|
||||
|
||||
for plugin in *-${hplip_arch}.so; do
|
||||
local plugin_type=prnt
|
||||
case "${plugin}" in
|
||||
bb_orblite-*)
|
||||
use orblite || continue
|
||||
plugin_type=scan ;;
|
||||
bb_*)
|
||||
plugin_type=scan ;;
|
||||
fax_*)
|
||||
plugin_type=fax ;;
|
||||
esac
|
||||
|
||||
exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
|
||||
newexe ${plugin} ${plugin/-${hplip_arch}}
|
||||
done
|
||||
|
||||
insinto /var/lib/hp
|
||||
newins - hplip.state <<-_EOF_
|
||||
[plugin]
|
||||
installed = 1
|
||||
eula = 1
|
||||
version = ${PV}
|
||||
_EOF_
|
||||
}
|
||||
Reference in New Issue
Block a user