blob: 2ad81288655df3019f2fe4aa0c885944c08b1000 (
plain)
1 # Description: PDF rendering library based on xpdf 3.0
2 # URL: http://poppler.freedesktop.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: cmake cairo lcms2
5
6 name=poppler
7 version=0.61.0
8 release=1
9 source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
10
11 build() {
12 cd poppler-$version
13
14 cmake . \
15 -DCMAKE_INSTALL_PREFIX=/usr \
16 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
17 -DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
18 -DENABLE_XPDF_HEADERS=ON \
19 -DENABLE_UTILS=ON \
20 -DENABLE_SPLASH=ON \
21 -DENABLE_CPP=ON \
22 -DENABLE_GLIB=OFF \
23 -DENABLE_QT4=OFF \
24 -DENABLE_QT5=OFF \
25 -DENABLE_ZLIB=ON \
26 -DENABLE_CMS=lcms2 \
27 -DENABLE_LIBOPENJPEG=none \
28 -DWITH_NSS3=OFF
29
30 make
31 make DESTDIR=$PKG install
32 }
|