2011-07-30 17:30:05 +02:00
|
|
|
# Description: PDF rendering library based on xpdf 3.0
|
|
|
|
# URL: http://poppler.freedesktop.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2017-01-01 13:32:00 +01:00
|
|
|
# Depends on: cmake cairo lcms2
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=poppler
|
2020-03-02 13:21:06 +01:00
|
|
|
version=0.86.1
|
2017-10-06 13:23:54 +02:00
|
|
|
release=1
|
2017-11-13 12:48:42 +01:00
|
|
|
source=(https://poppler.freedesktop.org/poppler-$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2011-07-30 17:30:05 +02:00
|
|
|
build() {
|
2017-01-01 13:32:00 +01:00
|
|
|
cd poppler-$version
|
2011-07-30 17:30:05 +02:00
|
|
|
|
2017-01-01 13:32:00 +01:00
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-06 13:05:57 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
2019-01-08 12:02:39 +01:00
|
|
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
|
2017-01-01 13:32:00 +01:00
|
|
|
-DENABLE_UTILS=ON \
|
|
|
|
-DENABLE_SPLASH=ON \
|
|
|
|
-DENABLE_CPP=ON \
|
|
|
|
-DENABLE_GLIB=OFF \
|
|
|
|
-DENABLE_QT5=OFF \
|
|
|
|
-DENABLE_ZLIB=ON \
|
|
|
|
-DENABLE_CMS=lcms2 \
|
2017-05-22 14:48:08 +02:00
|
|
|
-DENABLE_LIBOPENJPEG=none \
|
2017-10-04 17:35:55 +02:00
|
|
|
-DWITH_NSS3=OFF
|
2011-07-30 17:30:05 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|