blob: d559d8581fc18d4a7586d46b381734067d22ad77 (
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.72.0
8 release=1
9 source=(https://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 -DENABLE_XPDF_HEADERS=ON \
18 -DENABLE_UTILS=ON \
19 -DENABLE_SPLASH=ON \
20 -DENABLE_CPP=ON \
21 -DENABLE_GLIB=OFF \
22 -DENABLE_QT5=OFF \
23 -DENABLE_ZLIB=ON \
24 -DENABLE_CMS=lcms2 \
25 -DENABLE_LIBOPENJPEG=none \
26 -DWITH_NSS3=OFF
27
28 make
29 make DESTDIR=$PKG install
30 }
|