summaryrefslogtreecommitdiffstats
path: root/poppler/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot org>2012-04-16 02:54:34 +0200
committertnut <tnut at nutyx dot org>2012-04-16 02:54:34 +0200
commit7d82a87071202e42e5b464702857df8345ed2693 (patch)
tree99e652e2247aaae9fbe6e32da8e3e775cd4d1588 /poppler/Pkgfile
parent99bdf71d229e36be173d619b4eac8cc1c555908a (diff)
downloadnutyx-pakxe-7d82a87071202e42e5b464702857df8345ed2693.tar.gz
nutyx-pakxe-7d82a87071202e42e5b464702857df8345ed2693.tar.bz2
nutyx-pakxe-7d82a87071202e42e5b464702857df8345ed2693.tar.xz
nutyx-pakxe-7d82a87071202e42e5b464702857df8345ed2693.zip
qt et serie poppler dans pakxe
Diffstat (limited to 'poppler/Pkgfile')
-rwxr-xr-xpoppler/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/poppler/Pkgfile b/poppler/Pkgfile
new file mode 100755
index 000000000..5c87c62cb
--- /dev/null
+++ b/poppler/Pkgfile
@@ -0,0 +1,34 @@
+# 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: fontconfig, libjpeg, cairo, libxml2, openjpeg, lcms
+# Run on: fontconfig,libjpeg,cairo,libxml2,openjpeg,lcms
+
+name=poppler
+version=0.18.0
+#0.16.7
+release=1
+source=(http://poppler.freedesktop.org/$name-$version.tar.gz \
+ http://poppler.freedesktop.org/poppler-data-0.4.5.tar.gz)
+
+build() {
+ cd poppler-$version
+ sed -i -e '/AC_PATH_XTRA/d' configure.ac
+ autoreconf
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-cairo-output \
+ --enable-xpdf-headers \
+ --enable-libjpeg --enable-zlib \
+ --disable-poppler-qt4 \
+ --disable-poppler-glib
+ make
+ sed -e 's/^glib_subdir =.*/glib_subdir =/' \
+ -e 's/^qt4_subdir =.*/qt4_subdir =/' -i Makefile
+
+ make DESTDIR=$PKG install
+
+ rm -f $PKG/usr/lib/pkgconfig/poppler-{glib,qt4}.pc
+}
+