summaryrefslogtreecommitdiffstats
path: root/kde/poppler-qt/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:11:28 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:11:28 +0200
commitc36dafe08b957e443515fac06282b414672cce84 (patch)
treee7696084722bd8aeb9fc485bf5b2afed95638333 /kde/poppler-qt/Pkgfile
parentbd73497b62a22311b2ef123c353bab534da40a7c (diff)
downloadnutyx-pakxe-c36dafe08b957e443515fac06282b414672cce84.tar.gz
nutyx-pakxe-c36dafe08b957e443515fac06282b414672cce84.tar.bz2
nutyx-pakxe-c36dafe08b957e443515fac06282b414672cce84.tar.xz
nutyx-pakxe-c36dafe08b957e443515fac06282b414672cce84.zip
Ajout de poppler-qt#0.10.7-1
Diffstat (limited to 'kde/poppler-qt/Pkgfile')
-rwxr-xr-xkde/poppler-qt/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/kde/poppler-qt/Pkgfile b/kde/poppler-qt/Pkgfile
new file mode 100755
index 000000000..43aeae14c
--- /dev/null
+++ b/kde/poppler-qt/Pkgfile
@@ -0,0 +1,35 @@
+# 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.10.7
+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 \
+ --disable-poppler-glib \
+ --disable-gtk-test \
+ --disable-poppler-qt
+ sed -i -e 's|^LDFLAGS =|LDFLAGS = -lqt-mt|' qt/Makefile
+ make -C goo libgoo.la
+ make -C splash libsplash.la
+ make -C fofi libfofi.la
+ make -C poppler libpoppler.la libpoppler-cairo.la libpoppler-arthur.la
+ make
+ make prefix=$PKG/usr install
+ rm -f $PKG/usr/lib/pkgconfig/poppler-cairo.pc
+}