diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-08 08:51:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-08 10:59:51 +0000 |
commit | 410b7e824ed5427d882b978530d635db2fb18172 (patch) | |
tree | 723df924a38cb821fbe51676e146bcde4744882e /main/poppler/APKBUILD | |
parent | c39ffbc10ee32f5763d2bd5ad354f87c6032712b (diff) | |
download | aports-410b7e824ed5427d882b978530d635db2fb18172.tar.bz2 aports-410b7e824ed5427d882b978530d635db2fb18172.tar.xz |
main/poppler: upgrade to 0.48.0
Diffstat (limited to 'main/poppler/APKBUILD')
-rw-r--r-- | main/poppler/APKBUILD | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD index fd938c5a32..6547002543 100644 --- a/main/poppler/APKBUILD +++ b/main/poppler/APKBUILD @@ -4,8 +4,8 @@ # circular make dependency: qt <- cups <- poppler <- qt # So we build qt support in separate package poppler-qt4 pkgname=poppler -pkgver=0.47.0 -pkgrel=1 +pkgver=0.48.0 +pkgrel=0 pkgdesc="PDF rendering library based on xpdf 3.0" url="http://poppler.freedesktop.org/" arch="all" @@ -19,14 +19,23 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-utils $pkgname-glib " source="http://poppler.freedesktop.org/poppler-$pkgver.tar.xz" -_builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" prepare() { - cd "$_builddir" + local _linked_pkg=poppler-qt4 + 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 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -71,6 +80,6 @@ _cpp() { "$subpkgdir"/usr/lib/ || 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" |