summaryrefslogtreecommitdiffstats
path: root/test/poppler-qt/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/poppler-qt/Pkgfile')
-rwxr-xr-xtest/poppler-qt/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/poppler-qt/Pkgfile b/test/poppler-qt/Pkgfile
new file mode 100755
index 000000000..6a471f36b
--- /dev/null
+++ b/test/poppler-qt/Pkgfile
@@ -0,0 +1,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: qt, poppler
+
+name=poppler-qt
+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 \
+ --disable-xpdf-headers \
+ --disable-cairo-output \
+ --enable-poppler-qt4 \
+ --disable-poppler-glib \
+ --disable-gtk-test \
+ --disable-poppler-qt \
+ --disable-poppler-cpp
+ 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
+}
+