summaryrefslogtreecommitdiffstats
path: root/poppler-qt/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
commit50e5ce5b17e69be13228e2393c5804b0a79acfab (patch)
tree9845fa9af128d7fdd791755bb2be320f3ba2be4e /poppler-qt/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8548e8d6882b55dfb509b18dedfb7db17630037d (diff)
downloadnutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'poppler-qt/Pkgfile')
-rwxr-xr-xpoppler-qt/Pkgfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/poppler-qt/Pkgfile b/poppler-qt/Pkgfile
new file mode 100755
index 000000000..6a4dd67fb
--- /dev/null
+++ b/poppler-qt/Pkgfile
@@ -0,0 +1,38 @@
+# Description: Conitient 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
+# Run on: qt,poppler
+
+name=poppler-qt
+version=0.18.0
+#0.16.7
+release=1
+source=(http://poppler.freedesktop.org/poppler-$version.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 \
+ --enable-poppler-qt4 \
+ --disable-poppler-glib
+ make
+ sed -e 's/^glib_subdir =.*/glib_subdir =/' \
+ -e 's/^qt4_subdir =.*/qt4_subdir =/' -i Makefile
+
+ cd poppler
+ make DESTDIR=$PKG install-libLTLIBRARIES
+ cd $SRC/poppler-$version/qt4
+ make DESTDIR=$PKG install
+
+ install -m755 -d $PKG/usr/lib/pkgconfig
+ install -m644 ../poppler-qt4.pc $PKG/usr/lib/pkgconfig/
+ rm -f $PKG/usr/lib/libpoppler.*
+}
+