2017-01-01 13:34:15 +01:00
|
|
|
# Description: glib wrapper for poppler
|
2020-06-06 13:00:05 +02:00
|
|
|
# URL: https://poppler.freedesktop.org/
|
2011-07-30 17:31:26 +02:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2017-01-01 13:34:15 +01:00
|
|
|
# Depends on: gobject-introspection poppler
|
2011-07-30 17:31:26 +02:00
|
|
|
|
|
|
|
name=poppler-glib
|
2020-10-03 12:10:20 +02:00
|
|
|
version=20.10.0
|
2014-09-29 12:52:08 +02:00
|
|
|
release=1
|
2017-11-13 12:48:51 +01:00
|
|
|
source=(https://poppler.freedesktop.org/poppler-$version.tar.xz)
|
2011-07-30 17:31:26 +02:00
|
|
|
|
|
|
|
build() {
|
2020-05-28 13:41:00 +02:00
|
|
|
cmake -S poppler-$version -B build\
|
2017-01-01 13:34:15 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-06 13:07:42 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
2019-01-08 12:04:43 +01:00
|
|
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=OFF \
|
2017-01-01 13:34:15 +01:00
|
|
|
-DENABLE_UTILS=OFF \
|
|
|
|
-DENABLE_SPLASH=ON \
|
|
|
|
-DENABLE_CPP=OFF \
|
|
|
|
-DENABLE_GLIB=ON \
|
|
|
|
-DENABLE_QT5=OFF \
|
|
|
|
-DENABLE_ZLIB=ON \
|
|
|
|
-DENABLE_CMS=lcms2 \
|
2017-05-22 14:48:18 +02:00
|
|
|
-DENABLE_LIBOPENJPEG=none \
|
2017-10-04 17:36:26 +02:00
|
|
|
-DWITH_NSS3=OFF
|
2011-07-30 17:31:26 +02:00
|
|
|
|
2020-05-28 13:41:00 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2011-07-30 17:31:26 +02:00
|
|
|
|
2017-01-01 13:34:15 +01:00
|
|
|
rm $PKG/usr/lib/libpoppler.so*
|
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler.pc
|
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler-splash.pc
|
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler-cairo.pc
|
2011-07-30 17:31:26 +02:00
|
|
|
}
|