mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
net-print/hplip-plugin: drop 3.25.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
2fb5caf883
commit
33e1acc8ed
@ -1,3 +1,2 @@
|
||||
DIST hplip-3.25.2-plugin.run 11494026 BLAKE2B b9ee3a3ecea272ae1354883fcc2b539df58c37b4a1b15da3b49b3b0129ef72a36a7c4e6ef06cb96d642631f95d259432309d5a3d663f9a3500658395e58c3ab9 SHA512 7afe547123e9f25b4b6b18d807e66ef707f4fccf3bd7a234ae21880203121d7eab722765cc2da7a3bc77184f81b22937ed534728a2ec78e62ea16a6bcb5e2cf5
|
||||
DIST hplip-3.25.6-plugin.run 11491358 BLAKE2B 8ccf9f0da53fc7c78d18b0beafe5e82e2680369aaa2623618469913b38921dd415c3f0ecb5caaf533f442704b192e4facd5709869ff41437d0038a52cd333323 SHA512 f48ca1532344ceb336c76043fa1e745846599c2bed8839f3f17ff4e81c28526bd1f09a3ed4ecf20be1f279188ccfe47aea6225f1f14d6898c0e3bf0f490e598a
|
||||
DIST hplip-3.25.8-plugin.run 11491307 BLAKE2B 62347337186d1af9617cc09163ac4e49b19375823cb468ee747e914bcc566de4aa6faab70da251720569e65dfb4588c6335c1d10e7aa4c6679b387e89b89f6f2 SHA512 93c77da187dd35f04124f52eb845d683d2ed748e350e1678f402c457f4d9d5d51a6031ce3dfe8d0ca178dc342dea1dec306d6fd10835a34d10b3ef3429f0e4f2
|
||||
|
||||
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2025 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://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="hplip-plugin"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="orblite"
|
||||
# License does not allow us to redistribute the "source" package
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="
|
||||
~net-print/hplip-${PV}
|
||||
virtual/udev
|
||||
orblite? (
|
||||
media-gfx/sane-backends
|
||||
>=sys-libs/glibc-2.26
|
||||
virtual/libusb:0
|
||||
)
|
||||
"
|
||||
|
||||
HPLIP_HOME=/usr/share/hplip
|
||||
|
||||
# Binary prebuilt package
|
||||
QA_PREBUILT="${HPLIP_HOME}/*.so"
|
||||
|
||||
src_install() {
|
||||
local hplip_arch plugin
|
||||
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_
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user