diff options
Diffstat (limited to 'kde/poppler-qt/Pkgfile')
-rwxr-xr-x | kde/poppler-qt/Pkgfile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/kde/poppler-qt/Pkgfile b/kde/poppler-qt/Pkgfile index e9e56b94d..bfacb0c0d 100755 --- a/kde/poppler-qt/Pkgfile +++ b/kde/poppler-qt/Pkgfile @@ -6,33 +6,26 @@ name=poppler-qt version=0.13.0 -release=2 +release=3 source=(http://poppler.freedesktop.org/poppler-$version.tar.gz) build() { cd poppler-$version - libtoolize --force --copy - AT_M4DIR="m4" autoreconf -i ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --enable-zlib \ --enable-libjpeg \ - --enable-cairo-output \ + --disable-xpdf-headers \ + --disable-cairo-output \ --enable-poppler-qt4 \ --disable-poppler-glib \ --disable-gtk-test \ --disable-poppler-qt - sed -i -e 's|^LDFLAGS =|LDFLAGS = -lqt-mt|' qt/Makefile - make -C goo libgoo.la - make -C splash libsplash.la - make -C fofi libfofi.la - make -C poppler libpoppler.la libpoppler-cairo.la libpoppler-arthur.la - make + make -j3 make prefix=$PKG/usr install - rm -rf $PKG/usr/include/poppler/{glib,qt3,qt4} - rm -f $PKG/usr/lib/libpoppler-{glib,qt,qt4}.so* - rm -f $PKG/usr/lib/pkgconfig/poppler-{glib,qt,qt4}.pc - rm -rf $PKG/usr/share/gtk-doc + 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 } |