opt/poppler/Pkgfile
Juergen Daubert 101b625030 [notify] poppler: update to 0.61.0
ABI has been changed, rebuild of direct dependent ports
like cups-filters required.
2017-11-06 13:05:57 +01:00

33 lines
827 B
Plaintext

# Description: PDF rendering library based on xpdf 3.0
# URL: http://poppler.freedesktop.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: cmake cairo lcms2
name=poppler
version=0.61.0
release=1
source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
build() {
cd poppler-$version
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
-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 \
-DENABLE_LIBOPENJPEG=none \
-DWITH_NSS3=OFF
make
make DESTDIR=$PKG install
}