2017-01-01 13:41:55 +01:00
|
|
|
# Description: qt5 wrapper for poppler
|
2020-06-06 13:00:05 +02:00
|
|
|
# URL: https://poppler.freedesktop.org/
|
2017-01-01 13:41:55 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: qt5 poppler
|
|
|
|
|
|
|
|
name=poppler-qt5
|
2020-09-02 13:50:34 +02:00
|
|
|
version=20.09.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() {
|
2020-05-28 13:41:12 +02:00
|
|
|
cmake -S poppler-$version -B build \
|
2017-01-01 13:41:55 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-06 13:07:54 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
2019-01-08 12:04:57 +01:00
|
|
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=OFF \
|
2017-01-01 13:41:55 +01:00
|
|
|
-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
|
|
|
|
2020-05-28 13:41:12 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2017-01-01 13:41:55 +01:00
|
|
|
|
|
|
|
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
|
|
|
}
|