parent
8e6e21e031
commit
917f32d486
@ -1,3 +1,2 @@
|
||||
DIST hplip-3.14.1-plugin.run 1869064 SHA256 6caa782649af73ae3ea6c2fd742437f4c79f7f1f4d7f433ac3d9bf378626879b SHA512 c6e83106d6f193e98c596948f1b2a2861e3927c2ed4afd9cec066e3976afc863f4067e4642dd6ff6bc5d7d79e42bfeda2df730e7bb9d779211c06926e0a2d4b3 WHIRLPOOL 51fec49918dcc0fccf1cd501f84ee19ebe5cef5cc0a9361d241a72ce8e37ef14c5ea28471e1a89c47c40fbfc4d3db9325b6ef25bc7e88f46550c574382bf9cd2
|
||||
DIST hplip-3.14.10-plugin.run 1869038 SHA256 b395b480ad86b9f27b6a2f63b6ecb00beb78e762a6137efb81dc1104837f9b81 SHA512 3e5bea924e989d902aea0de182941be692a124ba8c27f53ce2e4f137308bad8373462c6128c26716e481e758f76533163d311a2676df034c1b15d6ef6ed008be WHIRLPOOL 18375de4cc92cb73bcaa109927bd34f8487938b02472f0b7adbf44ad4688e5c6a1d030077b1e3c14f15f9b8e4cc86d195b0195e2d08121f746c62624db4658db
|
||||
DIST hplip-3.14.6-plugin.run 1869049 SHA256 a350e988cf2e3ba57adc9e40d891e3c407e28e96012922d5dbbdf2de24db6ede SHA512 bb6538c9be3b89881813ee7ddfeda73635cb901abd9625138dcd1dae2e169ce5a5b8e98e0c8fe11e86b9eb6254cb0ddebd81ecc55892d38122eaae93b096a662 WHIRLPOOL 1644c3aaea3586ab22e8dc8609867ae440037822eca37932d119a90a29e83bf5cff71d9b28f049768619685bd55fcd729f9800f6d4f3f9f06fde10bfc1ad9c23
|
||||
DIST hplip-3.15.2-plugin.run 1869363 SHA256 35bbb2039882ab97dff10ccaffe780f4a0f0ddfe178e2d8f9a50f1e747451f49 SHA512 ff295d5a0709e312bfe1a18130b9d1635491bbf98fb2017cdee9f4ec1701302712d0252df0d44113e9a06866ea60df32654fbfdac1874e8a4bd1848e3675ad77 WHIRLPOOL 5a47a2736ed868f675121e24edb2043f5731b761b0b4e7904340b0497b47fe40e6ca99f41b7a5815d2b66a14f4a47648ce7e9da5e69ff4a994123de7d02b358c
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 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=""
|
||||
|
||||
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…
Reference in new issue