From d0e58d2e7fc1db97cf8123b0bb55b1b8aa8e9d55 Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 2 Apr 2011 05:53:34 +0200 Subject: poppler-glib, correction port --- extra/poppler-glib/Pkgfile | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) (limited to 'extra/poppler-glib/Pkgfile') diff --git a/extra/poppler-glib/Pkgfile b/extra/poppler-glib/Pkgfile index 271da0934..9228f8059 100755 --- a/extra/poppler-glib/Pkgfile +++ b/extra/poppler-glib/Pkgfile @@ -2,32 +2,36 @@ # URL: http://poppler.freedesktop.org/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: gtk, poppler, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama, xorg-libxcursor +# Depends on: gtk, poppler # Run on: gtk,poppler name=poppler-glib version=0.16.4 -release=1 +release=2 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 \ - --enable-cairo-output \ - --disable-poppler-qt4 \ - --enable-poppler-glib \ - --disable-poppler-cpp \ - --disable-poppler-qt - pushd poppler - make libpoppler-cairo.la - popd - make - make prefix=$PKG/usr install - rm -r $PKG/usr/{bin,share} - rm -r $PKG/usr/lib/libpoppler.* - rm -r $PKG/usr/lib/pkgconfig/poppler{.pc,-splash.pc,-cairo.pc} + 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 \ + --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/glib + make DESTDIR=$PKG install + + install -m755 -d $PKG/usr/lib/pkgconfig + install -m644 ../poppler-glib.pc $PKG/usr/lib/pkgconfig/ + rm -f $PKG/usr/lib/libpoppler.* } - +i -- cgit v1.2.3-70-g09d2