diff options
author | sibel <lesibel@free.fr> | 2011-04-02 00:33:59 +0200 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-04-02 00:33:59 +0200 |
commit | 07ed4d304ca31749d1515f768975fbc73d2428a1 (patch) | |
tree | bb04b19a70ff09e30b95f21b109aca962d18f6c6 /kde/poppler-qt/Pkgfile | |
parent | ce00cfe1624db9771b9677bb541fbbd23fb5ace6 (diff) | |
download | nutyx-pakxe-07ed4d304ca31749d1515f768975fbc73d2428a1.tar.gz nutyx-pakxe-07ed4d304ca31749d1515f768975fbc73d2428a1.tar.bz2 nutyx-pakxe-07ed4d304ca31749d1515f768975fbc73d2428a1.tar.xz nutyx-pakxe-07ed4d304ca31749d1515f768975fbc73d2428a1.zip |
poppler-qt, correction port
Diffstat (limited to 'kde/poppler-qt/Pkgfile')
-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.* } |