summaryrefslogtreecommitdiff
path: root/libre/cups-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/cups-libre/PKGBUILD')
-rw-r--r--libre/cups-libre/PKGBUILD32
1 files changed, 22 insertions, 10 deletions
diff --git a/libre/cups-libre/PKGBUILD b/libre/cups-libre/PKGBUILD
index d9531974c..f50b04848 100644
--- a/libre/cups-libre/PKGBUILD
+++ b/libre/cups-libre/PKGBUILD
@@ -1,23 +1,31 @@
-# $Id: PKGBUILD 135897 2011-08-20 06:24:46Z andyrtr $
+# $Id: PKGBUILD 149429 2012-02-07 16:59:12Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgbase="cups"
pkgname=('libcups' 'cups-libre')
-pkgver=1.5.0
+pkgver=1.5.2
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.cups.org/"
-makedepends=('libtiff>=3.9.2-2' 'libpng>=1.4.0' 'acl' 'openslp' 'pam' 'xdg-utils' 'krb5' 'gnutls>=2.8.3' 'poppler>=0.12.3'
+makedepends=('libtiff>=4.0.0' 'libpng>=1.5.7' 'acl' 'openslp' 'pam' 'xdg-utils' 'krb5' 'gnutls>=2.8.3' 'poppler>=0.12.3'
'xinetd' 'gzip' 'autoconf' 'php' 'libusb-compat' 'dbus-core' 'avahi' 'hicolor-icon-theme')
source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2
- cups-avahi.patch
+ cups-avahi-1-config.patch
+ cups-avahi-2-backend.patch
+ cups-avahi-3-timeouts.patch
+ cups-avahi-4-poll.patch
+ cups-avahi-5-services.patch
cups-no-export-ssllibs.patch
cups-no-gcrypt.patch
cups cups.logrotate cups.pam)
#options=('!emptydirs')
-md5sums=('e54ed09ede2340fc3014913333520fe4'
- 'e0843e8d8c345792ac73a185260e69fe'
+md5sums=('9471d2a7c920cfbb17133c32d2e6866f'
+ '8496c48a7ab5918ce546cfb72472def3'
+ '7df4c2e0a69bf072d7b7e96523df9dce'
+ '9a207c5d5189b1c2fc55907b7ed09372'
+ '5da4ba0837f9a685f146797fcfcd455e'
+ 'fe782a8fd4351741120d485d476abe8a'
'9b8467a1e51d360096b70e2c3c081e6c'
'3733c23e77eb503bd94cc368e02830dc'
'9657daa21760bb0b5fa3d8b51d5e01a1'
@@ -28,8 +36,13 @@ md5sums=('e54ed09ede2340fc3014913333520fe4'
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
- # Avahi support in the dnssd backend. patch from Debian based on the Fedora work but brings it in a single file http://patch-tracker.debian.org/package/cups
- patch -Np1 -i ${srcdir}/cups-avahi.patch
+ # http://www.cups.org/str.php?L3066
+ # Avahi support in the dnssd backend. patches from upstream/FC RawHide
+ patch -Np1 -i ${srcdir}/cups-avahi-1-config.patch
+ patch -Np1 -i ${srcdir}/cups-avahi-2-backend.patch
+ patch -Np1 -i ${srcdir}/cups-avahi-3-timeouts.patch
+ patch -Np1 -i ${srcdir}/cups-avahi-4-poll.patch
+ patch -Np1 -i ${srcdir}/cups-avahi-5-services.patch
# Do not export SSL libs in cups-config
patch -Np1 -i "${srcdir}/cups-no-export-ssllibs.patch"
@@ -69,7 +82,7 @@ check() {
package_libcups() {
pkgdesc="The CUPS Printing System - client libraries and headers"
-depends=('gnutls>=2.8.3' 'libtiff>=3.9.2-2' 'libpng>=1.4.0' 'krb5' 'avahi')
+depends=('gnutls>=2.8.3' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi')
cd ${srcdir}/${pkgbase}-${pkgver}
make BUILDROOT=${pkgdir} install-headers install-libs
@@ -144,4 +157,3 @@ optdepends=('php: for included phpcups.so module'
# compress some driver files, adopted from Fedora
find ${pkgdir}/usr/share/cups/model -name "*.ppd" | xargs gzip -n9f
}
-