1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: catweazle
9 pkgdesc="Poppler Qt3 bindings"
12 depends=('qt3>=3.3.8' "poppler>=${pkgver}")
13 makedepends=('pkgconfig')
15 url="http://poppler.freedesktop.org/"
16 source=(http://poppler.freedesktop.org/poppler-${pkgver}.tar.gz
17 poppler-bindings.patch)
18 sha256sums=('fab4e8af2d34d4142a718819fd747d40930b71ef520ee0e6bcc94e2c44f22bcd'
19 '0f9fa33dca271c6c0e31d66cce1847099b63c1443a002aa9bde99a8cb20ad770')
22 . /etc/profile.d/qt3.sh
24 cd "${srcdir}/poppler-${pkgver}"
26 patch -Np2 -i ../poppler-bindings.patch
28 libtoolize --force --copy
29 AT_M4DIR="m4" autoreconf -i
30 ./configure --prefix=/usr --sysconfdir=/etc \
31 --localstatedir=/var --disable-static \
34 --enable-cairo-output \
36 --disable-poppler-glib \
39 sed -i -e 's|^LDFLAGS =|LDFLAGS = -L/opt/qt/lib -lqt-mt|' qt/Makefile
41 make libpoppler-cairo.la
47 cd "${srcdir}/poppler-${pkgver}"
48 make DESTDIR="${pkgdir}" install