35 lines
881 B
Plaintext
35 lines
881 B
Plaintext
# 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
|
|
version=0.87.0
|
|
release=1
|
|
source=(https://poppler.freedesktop.org/poppler-$version.tar.xz)
|
|
|
|
build() {
|
|
cd poppler-$version
|
|
|
|
cmake . \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=OFF \
|
|
-DENABLE_UTILS=OFF \
|
|
-DENABLE_SPLASH=ON \
|
|
-DENABLE_CPP=OFF \
|
|
-DENABLE_GLIB=OFF \
|
|
-DENABLE_QT5=ON \
|
|
-DENABLE_ZLIB=ON \
|
|
-DENABLE_CMS=lcms2 \
|
|
-DENABLE_LIBOPENJPEG=none \
|
|
-DWITH_NSS3=OFF
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm $PKG/usr/lib/libpoppler.so*
|
|
rm $PKG/usr/lib/pkgconfig/poppler.pc
|
|
rm $PKG/usr/lib/pkgconfig/poppler-{splash,cairo}.pc
|
|
}
|