2017-01-01 13:41:55 +01:00
|
|
|
# Description: qt5 wrapper for poppler
|
|
|
|
# URL: http://poppler.freedesktop.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: qt5 poppler
|
|
|
|
|
|
|
|
name=poppler-qt5
|
2018-09-22 20:17:47 +02:00
|
|
|
version=0.68.0
|
2017-01-01 13:41:55 +01:00
|
|
|
release=1
|
2017-11-13 12:49:05 +01:00
|
|
|
source=(https://poppler.freedesktop.org/poppler-$version.tar.xz)
|
2017-01-01 13:41:55 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd poppler-$version
|
|
|
|
|
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-06 13:07:54 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
2017-01-01 13:41:55 +01:00
|
|
|
-DENABLE_XPDF_HEADERS=OFF \
|
|
|
|
-DENABLE_UTILS=OFF \
|
|
|
|
-DENABLE_SPLASH=ON \
|
|
|
|
-DENABLE_CPP=OFF \
|
|
|
|
-DENABLE_GLIB=OFF \
|
|
|
|
-DENABLE_QT5=ON \
|
|
|
|
-DENABLE_ZLIB=ON \
|
|
|
|
-DENABLE_CMS=lcms2 \
|
2017-05-22 14:48:29 +02:00
|
|
|
-DENABLE_LIBOPENJPEG=none \
|
2017-10-04 17:36:38 +02:00
|
|
|
-DWITH_NSS3=OFF
|
2017-01-01 13:41:55 +01:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm $PKG/usr/lib/libpoppler.so*
|
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler.pc
|
2017-10-04 15:12:31 +02:00
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler-{splash,cairo}.pc
|
2017-01-01 13:41:55 +01:00
|
|
|
}
|