Удалён hplip-plugin/hplip-plugin, т.к. он теперь есть в портежах

atratsevskiy 300
Alexander Tratsevskiy 8 years ago
parent 8919ed4b6c
commit 914312f0ec

@ -1 +0,0 @@
DIST hplip-3.16.3-plugin.run 2084271 SHA256 b7edef2a1c5c0a5e001deb4a18c0ef7202e653596e97144b8908ae093818070f SHA512 2ae8aeb40c2604a2c6b9725700f9addf7a82e819d603631158a5d5feac931248e53e7533178100df1fc12b0dc2340cb3ae0d85f145cd023a311f77bbe67e7c7f WHIRLPOOL 928117f862030eca9c3e5813eb8c4db66570923695b0c7af17df1992f339d2478f42af67ca0e0eb8cfa1d7425b522082fde3b8c829c3f5167e1ec503c95a986b

@ -1,69 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit udev unpacker
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
LICENSE="hplip-plugin"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
QA_PREBUILT="*"
RDEPEND="
~net-print/hplip-${PV}
virtual/udev
"
DEPEND=""
S=${WORKDIR}
HPLIP_HOME=/usr/share/hplip
# Binary prebuilt package
QA_PRESTRIPPED="
/usr/share/hplip/scan/plugins/bb_marvell.so
/usr/share/hplip/scan/plugins/bb_soapht.so
/usr/share/hplip/scan/plugins/bb_soap.so
/usr/share/hplip/fax/plugins/fax_marvell.so
/usr/share/hplip/prnt/plugins/lj.so"
# 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')
insinto "${HPLIP_HOME}"/data/firmware
doins *.fw.gz
for plugin in *-${hplip_arch}.so; do
local plugin_type=prnt
case "${plugin}" in
fax_*) plugin_type=fax ;;
bb_*) plugin_type=scan ;;
esac
exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
newexe ${plugin} ${plugin/-${hplip_arch}}
done
mkdir -p "${ED}/var/lib/hp/"
cat >> "${ED}/var/lib/hp/hplip.state" << _EOF_
[plugin]
installed = 1
eula = 1
version = ${PV}
_EOF_
}
Loading…
Cancel
Save