blob: e7592a2e2e9ce851a8f1efe5e0629b1cb1836d39 (
plain)
1 # Description: QT4-based shared library for poppler
2 # URL: http://poppler.freedesktop.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: qt4 poppler
5
6 name=poppler-qt4
7 version=0.50.0
8 release=1
9 source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
10
11 build() {
12 cd poppler-$version
13
14 ./configure --prefix=/usr \
15 --mandir=/usr/man \
16 --enable-{zlib,libjpeg,libpng} \
17 --enable-cms=lcms2 \
18 --enable-libopenjpeg=none \
19 --disable-utils \
20 --disable-poppler-{qt5,glib,cpp}
21
22 make
23 make DESTDIR=$PKG install
24
25 rm $PKG/usr/lib/pkgconfig/poppler{,-cairo,-splash}.pc
26 rm $PKG/usr/lib/libpoppler.*
27 }
|