Добавлен hplip-plugin 3.14.10

atratsevskiy
Alexander Tratsevskiy 10 years ago
parent 345d2272d1
commit 315ee00f01

@ -1,2 +1,3 @@
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

@ -0,0 +1,69 @@
# Copyright 1999-2014 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_
}

@ -2,11 +2,10 @@
~app-i18n/man-pages-ru-3.56.2172.1866.20140202 amd64 x86
~dev-python/py-smbpasswd-1.0.1 amd64
~dev-python/reportlab-3.1.8 amd64 x86
~net-print/hplip-3.14.6 amd64 x86
~net-print/hplip-plugin-3.14.6 amd64 x86
~net-print/hplip-3.14.10 amd64 x86
~net-print/hplip-plugin-3.14.10 amd64 x86
~net-wireless/broadcom-sta-6.30.223.248 amd64 x86
~net-wireless/madwimax-0.1.1 amd64 x86
~perl-core/ExtUtils-Manifest-1.630.0 amd64 x86
~sys-boot/plymouth-openrc-plugin-0.1.2 amd64 x86
~sys-firmware/b43-firmware-6.30.163.46 amd64 x86
~sys-fs/btrfs-progs-3.16.2 amd64 x86

@ -6,7 +6,7 @@
~media-libs/mesa-10.2.8 amd64 x86
~media-sound/pavucontrol-2.0 amd64 x86
~net-im/skype-4.3.0.37 amd64 x86
~net-misc/modemmanager-1.2.0 amd64 x86
~net-misc/modemmanager-1.4.0 amd64 x86
~net-misc/rdesktop-1.8.2 amd64 x86
~net-print/foomatic-db-4.0.20140105 amd64 x86
~net-print/foomatic-db-engine-4.0.11 amd64 x86

Loading…
Cancel
Save