summaryrefslogtreecommitdiffstats
path: root/extra/poppler-glib/Pkgfile
blob: 4cd7771e8fc1aa88c402834b96112bab6e5f414b (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
33
# 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, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama, xorg-libxcursor
# Run on: gtk,poppler

name=poppler-glib
version=0.16.3
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
	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}
}