2017-01-01 13:34:15 +01:00
|
|
|
# Description: glib wrapper for poppler
|
2011-07-30 17:31:26 +02:00
|
|
|
# URL: http://poppler.freedesktop.org/
|
|
|
|
# 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
|
2017-12-04 13:26:01 +01:00
|
|
|
version=0.62.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() {
|
|
|
|
cd poppler-$version
|
2017-10-04 15:11:11 +02:00
|
|
|
|
2017-01-01 13:34:15 +01:00
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-06 13:07:42 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
2017-01-01 13:34:15 +01:00
|
|
|
-DENABLE_XPDF_HEADERS=OFF \
|
|
|
|
-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
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
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
|
|
|
}
|