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-09-11 12:54:18 +02:00
|
|
|
version=0.59.0
|
2014-09-29 12:52:08 +02:00
|
|
|
release=1
|
2017-01-01 13:34:15 +01:00
|
|
|
source=(http://poppler.freedesktop.org/poppler-$version.tar.xz
|
|
|
|
poppler-cmake.patch)
|
2011-07-30 17:31:26 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd poppler-$version
|
|
|
|
|
2017-01-01 13:34:15 +01:00
|
|
|
patch -p0 -i $SRC/poppler-cmake.patch
|
|
|
|
|
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DENABLE_XPDF_HEADERS=OFF \
|
|
|
|
-DENABLE_UTILS=OFF \
|
|
|
|
-DENABLE_SPLASH=ON \
|
|
|
|
-DENABLE_CAIRO=ON \
|
|
|
|
-DENABLE_CPP=OFF \
|
|
|
|
-DENABLE_GLIB=ON \
|
|
|
|
-DENABLE_QT4=OFF \
|
|
|
|
-DENABLE_QT5=OFF \
|
|
|
|
-DENABLE_ZLIB=ON \
|
|
|
|
-DENABLE_CMS=lcms2 \
|
2017-05-22 14:48:18 +02:00
|
|
|
-DENABLE_LIBOPENJPEG=none \
|
2017-09-11 12:54:18 +02:00
|
|
|
-DENABLE_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
|
|
|
}
|