hplip: update to 3.16.5

Minor tweaks.
This commit is contained in:
Alessio Sergi 2016-05-05 11:16:36 +02:00
parent d8f4eea1ea
commit 9e0e83f948
1 changed files with 8 additions and 6 deletions

View File

@ -1,21 +1,21 @@
# Template file for 'hplip'
pkgname=hplip
version=3.16.3
revision=2
version=3.16.5
revision=1
#XXX: pyqt pkgs for python gui
hostmakedepends="pkg-config automake libtool python"
makedepends="libressl-devel python-devel libxml2-python cups-devel
sane-devel ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel
dbus-devel polkit-devel"
makedepends="libressl-devel python-devel libxml2-python cups-devel sane-devel
ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel"
depends="python-gobject2 python-dbus foomatic-db foomatic-db-engine desktop-file-utils"
conf_files="/etc/hp/hplip.conf"
make_dirs="/var/lib/hp 0755 root root"
pycompile_dirs="usr/share/hplip"
short_desc="HP Linux Imaging and Printing"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://hplipopensource.com/"
license="GPL-2"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum=42d2302ee38bda41caa0f2f9524a91f531e3aa432814ffd45b3e5c396dc30194
checksum=c609516003c9613c51e2ef24503e535f8d93693dd618cb6397a2d71f70315ed9
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/usr/include/python2.7"
@ -55,6 +55,8 @@ do_install() {
make rulesdir=/usr/lib/udev/rules.d DESTDIR=${DESTDIR} install
# remove config provided by sane and autostart of hp-daemon
rm -rf ${DESTDIR}/etc/{sane.d,xdg}
# remove unwanted files
rm -f ${DESTDIR}/usr/share/doc/hplip-${version}/{copyright,README_LIBJPG,COPYING}
# remove HAL .fdi file because HAL is no longer used
rm -rf ${DESTDIR}/usr/share/hal
rm -rf ${DESTDIR}/var