summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-21 13:18:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-21 13:18:11 (GMT)
commit7b2f36b150567bb095f4f7d6842db9e4ee2cfdff (patch)
tree1e259750f75db3bf7e84a1cab72da713917a3b23 /abs/core
parent756c27483da9dc25fa404ef5c03bad99816c6cbe (diff)
downloadlinhes_pkgbuild-7b2f36b150567bb095f4f7d6842db9e4ee2cfdff.zip
linhes_pkgbuild-7b2f36b150567bb095f4f7d6842db9e4ee2cfdff.tar.gz
linhes_pkgbuild-7b2f36b150567bb095f4f7d6842db9e4ee2cfdff.tar.bz2
poppler: update to 0.39.0
Diffstat (limited to 'abs/core')
-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