opt/poppler/Pkgfile

31 lines
763 B
Plaintext
Raw Normal View History

# 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 16:26:10 +01:00
name=poppler
2020-04-28 14:29:03 +02:00
version=0.88.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() {
2017-01-01 13:32:00 +01:00
cd poppler-$version
2017-01-01 13:32:00 +01:00
cmake . \
-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
make
make DESTDIR=$PKG install
2006-02-23 16:26:10 +01:00
}