summaryrefslogtreecommitdiffstats
path: root/extra/poppler-glib/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-02 05:53:34 +0200
committersibel <lesibel@free.fr>2011-04-02 05:53:34 +0200
commitd0e58d2e7fc1db97cf8123b0bb55b1b8aa8e9d55 (patch)
tree78b5b16c406f596c0d7ce9fb27aefad618240211 /extra/poppler-glib/Pkgfile
parent09bb9d1cee0028f59ede25599c644bd9b96a5b9e (diff)
downloadnutyx-pakxe-d0e58d2e7fc1db97cf8123b0bb55b1b8aa8e9d55.tar.gz
nutyx-pakxe-d0e58d2e7fc1db97cf8123b0bb55b1b8aa8e9d55.tar.bz2
nutyx-pakxe-d0e58d2e7fc1db97cf8123b0bb55b1b8aa8e9d55.tar.xz
nutyx-pakxe-d0e58d2e7fc1db97cf8123b0bb55b1b8aa8e9d55.zip
poppler-glib, correction port
Diffstat (limited to 'extra/poppler-glib/Pkgfile')
-rwxr-xr-xextra/poppler-glib/Pkgfile46
1 files changed, 25 insertions, 21 deletions
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