opt/poppler/Pkgfile

34 lines
823 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
2017-10-04 15:07:26 +02:00
version=0.60.0
release=1
2017-10-04 15:07:26 +02:00
source=(http://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-10-04 15:07:26 +02:00
# fix version string
sed -i '/POPPLER_MINOR_VERSION/s/59/60/' CMakeLists.txt
2017-01-01 13:32:00 +01:00
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_XPDF_HEADERS=ON \
-DENABLE_UTILS=ON \
-DENABLE_SPLASH=ON \
-DENABLE_CPP=ON \
-DENABLE_GLIB=OFF \
-DENABLE_QT4=OFF \
-DENABLE_QT5=OFF \
-DENABLE_ZLIB=ON \
-DENABLE_CMS=lcms2 \
2017-05-22 14:48:08 +02:00
-DENABLE_LIBOPENJPEG=none \
2017-09-11 12:54:08 +02:00
-DENABLE_NSS3=OFF
make
make DESTDIR=$PKG install
2006-02-23 16:26:10 +01:00
}