summaryrefslogtreecommitdiffstats
path: root/extra/poppler-glib/Pkgfile
blob: 2f36d3ebee0a87386d85ad54ff8dd70715d77f69 (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
# 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.14.0
release=1
source=(http://poppler.freedesktop.org/poppler-$version.tar.gz)

build() {
	cd poppler-$version
	./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static \
	      --enable-zlib \
	      --enable-libjpeg \
	      --enable-cairo-output \
	      --disable-poppler-qt4 \
	      --enable-poppler-glib \
		--disable-poppler-cpp \
	      --disable-poppler-qt
	pushd poppler
	make libpoppler-cairo.la
	popd 
	make -j3
	make prefix=$PKG/usr install
	rm -r $PKG/usr/{bin,share}
	rm -r $PKG/usr/lib/libpoppler.*
	rm -r $PKG/usr/lib/pkgconfig/poppler{.pc,-splash.pc,-cairo.pc}
}