aboutsummaryrefslogtreecommitdiffstats
path: root/main/poppler-qt4
diff options
context:
space:
mode:
Diffstat (limited to 'main/poppler-qt4')
-rw-r--r--main/poppler-qt4/APKBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/main/poppler-qt4/APKBUILD b/main/poppler-qt4/APKBUILD
index 18c0fd86e6..55e2b89ec9 100644
--- a/main/poppler-qt4/APKBUILD
+++ b/main/poppler-qt4/APKBUILD
@@ -6,7 +6,7 @@
pkgname=poppler-qt4
_realname=poppler
-pkgver=0.47.0
+pkgver=0.48.0
pkgrel=0
pkgdesc="PDF rendering library based on xpdf 3.0"
url="http://poppler.freedesktop.org/"
@@ -14,7 +14,7 @@ arch="all"
license="GPL"
subpackages="$pkgname-dev"
makedepends="jpeg-dev cairo-dev libxml2-dev fontconfig-dev qt-dev
- poppler-dev lcms2-dev openjpeg-dev"
+ poppler-dev>=$pkgver lcms2-dev openjpeg-dev"
depends=
replaces="poppler-glib"
depends_dev="$makedepends"
@@ -23,18 +23,16 @@ source="http://poppler.freedesktop.org/poppler-$pkgver.tar.xz"
_builddir="$srcdir/$_realname-$pkgver"
prepare() {
- cd "$startdir"
- # get the pkgver from poppler
- (
- if [ -r ../../main/poppler/APKBUILD ]; then
- _popplerqtver=$pkgver
- . ../../main/poppler/APKBUILD
- if [ "$_popplerqtver" != "$pkgver" ]; then
- pkgname=poppler-qt4
- die "pkgver must correspond with poppler ($pkgver)"
+ local _linked_pkg=poppler
+ local _linked_apkbuild="$startdir"/../$_linked_pkg/APKBUILD
+ cd "$builddir"
+ if [ -f "$_linked_apkbuild" ]; then
+ local _linked_ver=$( . "$_linked_apkbuild"; echo "$pkgver")
+ if [ "$_linked_ver" != "$pkgver" ]; then
+ error "pkgver needs to be identical with $_linked_pkg ($_linked_ver)"
+ return 1
fi
fi
- ) || return 1
}
build() {
@@ -64,6 +62,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="669b195ff24173d35cacf1d20b6fe4fa poppler-0.47.0.tar.xz"
-sha256sums="b872e7228fc34a71ce4b47a5aea2a57ae67528818fa846e1e0eda089319bd242 poppler-0.47.0.tar.xz"
-sha512sums="44b5b1546f66f1b95e1359f4fdf79458d902604dababbcc0ecb0d45ed90451680bb1f3b5e163bd17e16fda1b8656bec6c9072964f9d8f276cb38a7be95db63a5 poppler-0.47.0.tar.xz"
+md5sums="8d61c91cb9e99ad38bba1b0b4432f174 poppler-0.48.0.tar.xz"
+sha256sums="85a003968074c85d8e13bf320ec47cef647b496b56dcff4c790b34e5482fef93 poppler-0.48.0.tar.xz"
+sha512sums="20db22ab071479ba46f1a59b5bb5b2b5ba65da7d81037241b9aeb11234eaca007900b0368ffeb7a3b983807b1c39735ffabe9719f5856075d3a286461830a0d5 poppler-0.48.0.tar.xz"