2011-07-30 17:30:05 +02:00
|
|
|
# Description: PDF rendering library based on xpdf 3.0
|
2020-06-06 13:00:05 +02:00
|
|
|
# URL: https://poppler.freedesktop.org/
|
2011-07-30 17:30:05 +02:00
|
|
|
# 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-07-16 14:49:12 +02:00
|
|
|
version=0.90.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() {
|
2020-05-28 13:40:50 +02:00
|
|
|
cmake -S $name-$version -B build \
|
2017-01-01 13:32:00 +01:00
|
|
|
-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
|
|
|
|
2020-05-28 13:40:50 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|