diff options
Diffstat (limited to 'kde')
-rwxr-xr-x | kde/poppler-qt/Pkgfile | 40 |
1 files changed, 22 insertions, 18 deletions
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.* } |