opt/poppler/Pkgfile

29 lines
789 B
Plaintext
Raw Normal View History

# Description: PDF rendering library based on xpdf 3.0
2020-06-06 13:00:05 +02:00
# URL: https://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 16:26:10 +01:00
name=poppler
2020-08-11 10:49:46 +02:00
version=20.08.0
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 16:26:10 +01: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 \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-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 \
-DWITH_NSS3=OFF
2020-05-28 13:40:50 +02:00
cmake --build build
DESTDIR=$PKG cmake --install build
2006-02-23 16:26:10 +01:00
}