summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/poppler/PKGBUILD21
-rw-r--r--abs/core/poppler/__changelog1
2 files changed, 17 insertions, 5 deletions
diff --git a/abs/core/poppler/PKGBUILD b/abs/core/poppler/PKGBUILD
index aed359e..6048751 100644
--- a/abs/core/poppler/PKGBUILD
+++ b/abs/core/poppler/PKGBUILD
@@ -2,17 +2,17 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=poppler
-pkgname=('poppler' 'poppler-glib' 'poppler-qt4')
-pkgver=0.29.0
+pkgname=('poppler' 'poppler-glib' 'poppler-qt4' 'poppler-qt5')
+pkgver=0.39.0
pkgrel=1
arch=(i686 x86_64)
license=('GPL')
-makedepends=('libjpeg' 'gcc-libs' 'cairo' 'fontconfig' 'openjpeg' 'gtk2' 'qt4' 'pkgconfig' 'lcms2' 'gobject-introspection' 'icu' 'git' 'python2')
+makedepends=('libjpeg' 'gcc-libs' 'cairo' 'fontconfig' 'openjpeg' 'gtk2' 'qt4' 'pkgconfig' 'lcms2' 'gobject-introspection' 'icu' 'qt5-base' 'git' 'python2')
options=('!emptydirs')
url="http://poppler.freedesktop.org/"
source=(http://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.xz
git://anongit.freedesktop.org/poppler/test)
-md5sums=('7a5d87b7f62db636cc59f73bbd240811'
+md5sums=('5100960c61b932430b5d74068d71f530'
'SKIP')
build() {
@@ -23,6 +23,7 @@ build() {
--enable-xpdf-headers \
--enable-libjpeg --enable-zlib \
--enable-poppler-qt4 \
+ --enable-poppler-qt5 \
--enable-poppler-glib
make
}
@@ -74,3 +75,15 @@ package_poppler-qt4() {
install -m644 poppler-qt4.pc "${pkgdir}/usr/lib/pkgconfig/"
rm -f "${pkgdir}"/usr/lib/libpoppler.*
}
+
+package_poppler-qt5() {
+ pkgdesc="Poppler Qt5 bindings"
+ depends=("poppler=${pkgver}" 'qt5-base')
+
+ cd "${pkgbase}-${pkgver}"
+ make -C poppler DESTDIR="${pkgdir}" install-libLTLIBRARIES
+ make -C qt5 DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
+ install -m644 poppler-qt5.pc "${pkgdir}/usr/lib/pkgconfig/"
+ rm -f "${pkgdir}"/usr/lib/libpoppler.*
+}
diff --git a/abs/core/poppler/__changelog b/abs/core/poppler/__changelog
deleted file mode 100644
index 0701dff..0000000
--- a/abs/core/poppler/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-PKGBUILD: remove qt5 stuff