vlc, cups & cups-pdf updates

This commit is contained in:
abveritas 2011-07-16 16:27:33 +00:00
parent 2a8b72fa8e
commit 572b7a7bf7
3 changed files with 26 additions and 18 deletions

View File

@ -1,9 +1,14 @@
# $Id: PKGBUILD 30279 2009-03-18 07:40:11Z andyrtr $
# Maintainer: Andreas Radke <andyrtr at archlinux.org>
# Contributor: Thomas Baechler <thomas.baechler@rwth-aachen.de>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cups-pdf
pkgver=2.5.0
pkgver=2.5.1
pkgrel=1
pkgdesc="PDF printer for cups"
arch=(i686 x86_64)
@ -13,19 +18,22 @@ url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
license=('GPL2')
source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_$pkgver.tar.gz)
backup=(etc/cups/cups-pdf.conf)
md5sums=('9194af099a8c0e9aa213505b29ec6818')
md5sums=('4b4cf1a249d02a38045db74b5f259aac')
build() {
# Build and install
cd $srcdir/$pkgname-$pkgver/src
[ -z "$CC" ] && CC=gcc
$CC $CFLAGS -Wall -o cups-pdf cups-pdf.c || return 1
install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf || return 1
$CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
}
package() {
cd $srcdir/$pkgname-$pkgver/src
install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf
# Install Postscript Color printer
cd ../extra
install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd || return 1
install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd
# Install config file
install -D -m644 cups-pdf.conf $startdir/pkg/etc/cups/cups-pdf.conf || return 1
install -D -m644 cups-pdf.conf $pkgdir/etc/cups/cups-pdf.conf
}

View File

@ -8,7 +8,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.4.6
pkgver=1.4.7
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL')
@ -19,7 +19,7 @@ source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2
cups-avahi.patch
cups cups.logrotate cups.pam)
#options=('!emptydirs')
md5sums=('de8fb5a29c36554925c0c6a6e2c0dae1'
md5sums=('1590033ab4c739b859aeb672fe849089'
'8ebd390197501ffd709f0ee546937fd5'
'5c85b7d8d2ddd02c2c64955cebbf55ea'
'f861b18f4446c43918c8643dcbbd7f6d'
@ -28,7 +28,7 @@ md5sums=('de8fb5a29c36554925c0c6a6e2c0dae1'
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
# Avahi support in the dnssd backend. patch from Fedora
patch -Np1 -i ${srcdir}/cups-avahi.patch || return 1
patch -Np1 -i ${srcdir}/cups-avahi.patch
# Rebuild configure script for --enable-avahi.
aclocal -I config-scripts
@ -40,7 +40,7 @@ build() {
--disable-ldap --libdir=/usr/lib --enable-raw-printing \
--enable-dbus --with-dbusdir=/etc/dbus-1 --enable-ssl=yes --enable-gnutls --disable-threads --enable-avahi\
--with-php=/usr/bin/php-cgi --with-pdftops=pdftops --with-optim="$CFLAGS"
make || return 1
make
}
package_libcups() {
@ -48,7 +48,7 @@ pkgdesc="The CUPS Printing System - client libraries and headers"
depends=('gnutls>=2.8.3' 'libtiff>=3.9.2-2' 'libpng>=1.4.0' 'heimdal>=1.3.1' 'avahi')
cd ${srcdir}/${pkgbase}-${pkgver}
make BUILDROOT=${pkgdir} install-headers install-libs || return 1
make BUILDROOT=${pkgdir} install-headers install-libs
# put this into the libs pkg to make other software find the libs(no pkg-config file included)
mkdir -p ${pkgdir}/usr/bin
install -m755 ${srcdir}/${pkgbase}-${pkgver}/cups-config ${pkgdir}/usr/bin/cups-config
@ -73,7 +73,7 @@ depends=('acl' 'openslp' 'pam' "libcups>=${pkgver}" 'xdg-utils' 'poppler>=0.12.3
optdepends=('php: for included phpcups.so module')
cd ${srcdir}/${pkgbase}-${pkgver}
make BUILDROOT=${pkgdir} install-data install-exec || return 1
make BUILDROOT=${pkgdir} install-data install-exec
# this one we ship in the libcups pkg
rm -f ${pkgdir}/usr/bin/cups-config

View File

@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=vlc
pkgname=('vlc'
'vlc-plugin')
pkgver=1.1.10
pkgver=1.1.11
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
@ -26,7 +26,7 @@ makedepends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'lirc-utils'
'libraw1394' 'libdc1394' 'libavc1394' 'libva')
options=('!libtool')
source=("http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('066cb94b1e3aa848d828121354d6be4d')
md5sums=('a64846d6f21ea179ae8e8bfb6f9447fe')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"