blob: 283bbe283d4880fbcd17d23837d46da25f81a7ca (
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.57.0
8 release=1
9 source=(http://poppler.freedesktop.org/poppler-$version.tar.xz
10 poppler-cmake.patch)
11
12 build() {
13 cd poppler-$version
14
15 patch -p0 -i $SRC/poppler-cmake.patch
16
17 cmake . \
18 -DCMAKE_INSTALL_PREFIX=/usr \
19 -DENABLE_XPDF_HEADERS=ON \
20 -DENABLE_UTILS=ON \
21 -DENABLE_SPLASH=ON \
22 -DENABLE_CAIRO=ON \
23 -DENABLE_CPP=ON \
24 -DENABLE_GLIB=OFF \
25 -DENABLE_QT4=OFF \
26 -DENABLE_QT5=OFF \
27 -DENABLE_ZLIB=ON \
28 -DENABLE_CMS=lcms2 \
29 -DENABLE_LIBOPENJPEG=none \
30 -DENABLE_NSS3=OFF \
31 -DBUILD_GTK_TESTS=OFF \
32 -DBUILD_QT4_TESTS=OFF \
33 -DBUILD_QT5_TESTS=OFF \
34 -DBUILD_CPP_TESTS=OFF \
35
36 make
37 make DESTDIR=$PKG install
38 }
|