Install this version:
emerge -a =net-print/hplip-plugin-3.26.4
# Copyright 1999-2026 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"
# openprinting.org does not yet mirror 3.26.4; HP publishes on developers.hp.com
# with a date-specific path segment that cannot be derived from ${PV}.
SRC_URI="https://developers.hp.com/sites/default/files/2026-05/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_
}
Manage flags for this package:
euse -i <flag> -p net-print/hplip-plugin |
euse -E <flag> -p net-print/hplip-plugin |
euse -D <flag> -p net-print/hplip-plugin
~net-print/hplip-3.26.4 virtual/udev orblite? ( media-gfx/sane-backends >=sys-libs/glibc-2.26 virtual/libusb:0 )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | hplip-3.26.4-plugin.run | 11493127 bytes | https://developers.hp.com/sites/default/files/2026-05/hplip-3.26.4-plugin.run |