30 lines
799 B
Plaintext
30 lines
799 B
Plaintext
# 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
|
|
version=0.47.0
|
|
release=1
|
|
source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
|
|
|
|
build() {
|
|
cd poppler-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-{zlib,libjpeg,libpng} \
|
|
--enable-cms=lcms2 \
|
|
--enable-libopenjpeg=none \
|
|
--disable-utils \
|
|
--disable-gtk-test \
|
|
--disable-poppler-{qt4,qt5,cpp}
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share
|
|
rm $PKG/usr/lib/pkgconfig/poppler{,-cairo,-splash}.pc
|
|
rm $PKG/usr/lib/libpoppler.*
|
|
}
|