diff options
Diffstat (limited to 'extra/poppler/PKGBUILD')
-rw-r--r-- | extra/poppler/PKGBUILD | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/extra/poppler/PKGBUILD b/extra/poppler/PKGBUILD index afc3662bf..1a3a0aafa 100644 --- a/extra/poppler/PKGBUILD +++ b/extra/poppler/PKGBUILD @@ -1,26 +1,29 @@ -# $Id: PKGBUILD 141011 2011-10-21 10:45:03Z ibiru $ +# $Id: PKGBUILD 142670 2011-11-12 17:46:43Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=poppler pkgname=('poppler' 'poppler-glib' 'poppler-qt') -pkgver=0.18.0 -pkgrel=2 +pkgver=0.18.1 +pkgrel=1 arch=(i686 x86_64) license=('GPL') makedepends=('libjpeg' 'gcc-libs' 'cairo' 'fontconfig' 'openjpeg' 'gtk2' 'qt' 'pkgconfig' 'lcms' 'gobject-introspection') options=('!libtool' '!emptydirs') url="http://poppler.freedesktop.org/" +_testtag=0d2bfd4af4c76a3bac27ccaff793d9129df7b57a source=(http://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.gz - fix_cairo.patch::http://cgit.freedesktop.org/poppler/poppler/patch/?id=66ab373365b8f9060ff3d117bb677520e32c7e8e) -md5sums=('4cd3bf2a0a13fa8eaf00d31368915f77' - '8f4a296fdd98446858d5ea74d7c496ab') + http://cgit.freedesktop.org/poppler/test/snapshot/test-${_testtag}.tar.bz2 + git-fixes.patch) +md5sums=('d30e883a27423c936ef338ce1d967e2d' + '9dc64c254a31e570507bdd4ad4ba629a' + 'a73ba6515aa73cb20c480692da52c79e') build() { cd "${srcdir}/${pkgbase}-${pkgver}" sed -i -e '/AC_PATH_XTRA/d' configure.ac - autoreconf + patch -Np1 -i "${srcdir}/git-fixes.patch" - patch -Np1 -i "${srcdir}/fix_cairo.patch" + autoreconf -fi ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ @@ -32,6 +35,13 @@ build() { make } +check() { + cd "${srcdir}" + ln -sf test-${_testtag} test + cd ${pkgbase}-${pkgver} + make check +} + package_poppler() { pkgdesc="PDF rendering library based on xpdf 3.0" depends=('libjpeg' 'gcc-libs' 'cairo' 'fontconfig' 'openjpeg' 'lcms' 'poppler-data') |