summaryrefslogtreecommitdiffstats
path: root/extra/poppler-glib/Pkgfile
blob: c1f4a0c4799af25f41a2ba3767df824758e28a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Contient une librairie pour le rendu des fichiers pdf
# URL: http://poppler.freedesktop.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtk, poppler

name=poppler-glib
version=0.12.3
release=1
source=(http://poppler.freedesktop.org/poppler-$version.tar.gz \
	poppler-0.10-bindings.patch)

build() {
	cd poppler-$version
	patch -Np1 -i ../poppler-0.10-bindings.patch
	libtoolize --force --copy
	AT_M4DIR="m4" autoreconf -i
	  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static \
	      --enable-zlib \
	      --enable-libjpeg \
	      --enable-cairo-output \
	      --enable-poppler-qt4 \
	      --enable-poppler-glib \
	      --disable-poppler-qt4 \
	      --disable-poppler-qt
	pushd poppler
	make libpoppler-cairo.la
	popd 
	make
	make prefix=$PKG/usr install
}