summaryrefslogtreecommitdiffstats
path: root/extra/poppler/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-02 00:33:32 +0200
committersibel <lesibel@free.fr>2011-04-02 00:33:32 +0200
commitce00cfe1624db9771b9677bb541fbbd23fb5ace6 (patch)
tree18bb3c1a6dfbd358ed14019ffbfe1cd312df8812 /extra/poppler/Pkgfile
parent370b1fce0b267bc292c199c07217c1e256146cc5 (diff)
downloadnutyx-extra-ce00cfe1624db9771b9677bb541fbbd23fb5ace6.tar.gz
nutyx-extra-ce00cfe1624db9771b9677bb541fbbd23fb5ace6.tar.bz2
nutyx-extra-ce00cfe1624db9771b9677bb541fbbd23fb5ace6.tar.xz
nutyx-extra-ce00cfe1624db9771b9677bb541fbbd23fb5ace6.zip
poppler, correction port
Diffstat (limited to 'extra/poppler/Pkgfile')
-rwxr-xr-xextra/poppler/Pkgfile35
1 files changed, 20 insertions, 15 deletions
diff --git a/extra/poppler/Pkgfile b/extra/poppler/Pkgfile
index e92490f5d..c0a06d74c 100755
--- a/extra/poppler/Pkgfile
+++ b/extra/poppler/Pkgfile
@@ -2,27 +2,32 @@
# URL: http://poppler.freedesktop.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: fontconfig, libjpeg, cairo, libxml2, openjpeg
-# Run on: fontconfig,libjpeg,cairo,libxml2,openjpeg
+# Depends on: fontconfig, libjpeg, cairo, libxml2, openjpeg, lcms
+# Run on: fontconfig,libjpeg,cairo,libxml2,openjpeg,qt
name=poppler
version=0.16.4
-release=1
+release=4
source=(http://poppler.freedesktop.org/$name-$version.tar.gz \
http://poppler.freedesktop.org/poppler-data-0.4.4.tar.gz)
build() {
- cd $name-$version
- ./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 \
- --disable-poppler-qt \
- --disable-gtk-test
- make
- make prefix=$PKG/usr install
+ 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
}