summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-02 00:33:59 +0200
committersibel <lesibel@free.fr>2011-04-02 00:33:59 +0200
commit07ed4d304ca31749d1515f768975fbc73d2428a1 (patch)
treebb04b19a70ff09e30b95f21b109aca962d18f6c6
parentce00cfe1624db9771b9677bb541fbbd23fb5ace6 (diff)
downloadnutyx-extra-07ed4d304ca31749d1515f768975fbc73d2428a1.tar.gz
nutyx-extra-07ed4d304ca31749d1515f768975fbc73d2428a1.tar.bz2
nutyx-extra-07ed4d304ca31749d1515f768975fbc73d2428a1.tar.xz
nutyx-extra-07ed4d304ca31749d1515f768975fbc73d2428a1.zip
poppler-qt, correction port
-rwxr-xr-xkde/poppler-qt/Pkgfile40
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.*
}