summaryrefslogtreecommitdiffstats
path: root/extra/poppler/Pkgfile
diff options
context:
space:
mode:
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
}