2011-07-30 17:31:26 +02:00
|
|
|
# Description: GLib-based shared library for poppler
|
|
|
|
# URL: http://poppler.freedesktop.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: glib poppler
|
|
|
|
|
|
|
|
name=poppler-glib
|
2016-12-16 15:33:33 +01:00
|
|
|
version=0.50.0
|
2014-09-29 12:52:08 +02:00
|
|
|
release=1
|
2013-08-11 11:30:09 +02:00
|
|
|
source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
|
2011-07-30 17:31:26 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd poppler-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
2013-02-13 18:44:49 +01:00
|
|
|
--enable-{zlib,libjpeg,libpng} \
|
2013-08-11 11:30:09 +02:00
|
|
|
--enable-cms=lcms2 \
|
2015-01-05 12:20:47 +01:00
|
|
|
--enable-libopenjpeg=none \
|
2011-07-30 17:31:26 +02:00
|
|
|
--disable-utils \
|
2011-12-19 17:25:01 +01:00
|
|
|
--disable-gtk-test \
|
2014-08-26 19:17:19 +02:00
|
|
|
--disable-poppler-{qt4,qt5,cpp}
|
2011-07-30 17:31:26 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2012-09-11 11:02:41 +02:00
|
|
|
rm -r $PKG/usr/share
|
2011-12-19 17:25:01 +01:00
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler{,-cairo,-splash}.pc
|
2011-07-30 17:31:26 +02:00
|
|
|
rm $PKG/usr/lib/libpoppler.*
|
|
|
|
}
|