From 07ed4d304ca31749d1515f768975fbc73d2428a1 Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 2 Apr 2011 00:33:59 +0200 Subject: poppler-qt, correction port --- kde/poppler-qt/Pkgfile | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'kde/poppler-qt') diff --git a/kde/poppler-qt/Pkgfile b/kde/poppler-qt/Pkgfile index 75a800ee2..9b0d43678 100755 --- a/kde/poppler-qt/Pkgfile +++ b/kde/poppler-qt/Pkgfile @@ -1,4 +1,4 @@ -# Description: Contient une librairie pour le rendu des fichiers pdf +# 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 @@ -7,27 +7,31 @@ name=poppler-qt version=0.16.4 -release=1 +release=4 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 - make prefix=$PKG/usr install + 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 \ + --enable-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 - 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 + install -m755 -d $PKG/usr/lib/pkgconfig + install -m644 ../poppler-qt4.pc $PKG/usr/lib/pkgconfig/ + rm -f $PKG/usr/lib/libpoppler.* } -- cgit v1.2.3-70-g09d2