extra/hplip to 3.18.6-2

This commit is contained in:
Kevin Mihelich 2018-10-14 19:31:01 +00:00
parent bd9300ecd3
commit 47ef3663b0

View file

@ -1,4 +1,3 @@
# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor : Rémy Oudompheng <remy@archlinux.org>
@ -10,11 +9,12 @@
pkgname=hplip
pkgver=3.18.6
pkgrel=3
pkgrel=2
epoch=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('x86_64')
url="http://hplipopensource.com"
license=('GPL')
license=('GPL2' 'custom')
depends=('python-dbus' 'ghostscript' 'net-snmp' 'foomatic-db-engine')
makedepends=('python-pyqt5' 'python-gobject' 'sane' 'rpcbind' 'cups' 'libusb')
optdepends=('cups: for printing support'
@ -33,13 +33,15 @@ source=(https://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.a
disable_upgrade.patch
0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
0023-Fix-handling-of-unicode-filenames-in-sixext.py.patch
hplip-colorlaserjet-mfp-m278-m281.patch)
sha1sums=('2a7c64595099c50e6c665260f4de7a7106e0b3fc'
'SKIP'
'2348bcbca0c52dc09cceb47ed13281a4ccb9d83e'
'2ef86972ab51c0fdcb8bfc653b9f6f69459449a5'
'0e36f31b98faf2f14137431bc8f82b74de22705b'
'89e0ed0ed9acc6e50812c843ffb5f996fffb829e')
fix_install.patch
python.patch)
sha512sums=('deb4e6e1c7e9ea7452967f7d7d7fd93e92eb59406b4978bb9b874db93bc5022b25aab012a7420ac3e991259032bc7cb749cd924c93a164544e29a4152962184f'
'SKIP'
'ee0bd240568a7dbb4dc6ef64dba28ea84c4bedf7d688d054960c686666f8f0bc4562961c40845107ef0c936e60d3e676bffb2a1ba708039690bb0520cda3a525'
'22aeb5b851f78bc6bc62e0bc3da99fecaf42d7604af41e2f3343f8d3666541f7b06b7d1a7d0ddf24f1731ac7b12dfe582375a98e3b94dfa323d6ce954549ca67'
'763949a0bc460dcc9faefc86f2a91cf342781bfce696ed0c3826758572dd03ac266bbeb7b6a4f9376ac298d7d3c9c4def42d94921a8e1d1695e39396e36d95ff'
'86ef78e5359b49a04b517654f44c1a89bf40ec36aed8b6034247fc327845c9f861fc937f04c11f937199be4fb59061677dfe9baf3d84a99c044f3629842cc438'
'ebcc40cac00b9fb63d378d42ac258eeaf6e0967f34fd1e204c690f34457a0a2b634ef65f1deb79a0740d8c6047f718c10fa205ee2f239b667f7e06c065590528')
validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>
prepare() {
@ -52,8 +54,10 @@ prepare() {
patch -Np1 -i ${srcdir}/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
# fix some handling unicode file names FS#58412
patch -Np1 -i ${srcdir}/0023-Fix-handling-of-unicode-filenames-in-sixext.py.patch
# add support for some missing models - FS#57683
# patch -Np1 -i ${srcdir}/hplip-colorlaserjet-mfp-m278-m281.patch
# fix installation of missing library - FS#59548
# patch -Np1 -i ${srcdir}/fix_install.patch
# fix python issue - FS#59548
# patch -Np1 -i ${srcdir}/python.patch
export AUTOMAKE='automake --foreign'
autoreconf --force --install
@ -84,4 +88,7 @@ package() {
# remove rc script
rm -vrf "$pkgdir"/etc/init.d
# add mixed license file
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 COPYING
}