summaryrefslogtreecommitdiffstats
path: root/kde/poppler-qt/Pkgfile
blob: bfacb0c0d7141166e4af1b90df8d7cf70c86ca1c (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: qt, poppler

name=poppler-qt
version=0.13.0
release=3
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 \
	--disable-xpdf-headers \
	      --disable-cairo-output \
	      --enable-poppler-qt4 \
	      --disable-poppler-glib \
	      --disable-gtk-test \
	      --disable-poppler-qt
	make -j3
	make prefix=$PKG/usr install

	rm -rf $PKG/usr/{share,bin}
  	rm -f $PKG/usr/lib/libpoppler{-{glib,qt}.so*,.*}
  	rm -f $PKG/usr/lib/pkgconfig/poppler{,-{glib,qt,cairo,splash}}.pc
}