diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-08 08:51:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-08 10:59:51 +0000 |
commit | 6184d6e1987702994f035b50749e98654ff0e392 (patch) | |
tree | e85701ab1aaed26e55cffe2397dd68a5ba65f28a /main/poppler-qt4 | |
parent | 410b7e824ed5427d882b978530d635db2fb18172 (diff) | |
download | aports-6184d6e1987702994f035b50749e98654ff0e392.tar.bz2 aports-6184d6e1987702994f035b50749e98654ff0e392.tar.xz |
main/poppler-qt4: upgrade to 0.48.0
Diffstat (limited to 'main/poppler-qt4')
-rw-r--r-- | main/poppler-qt4/APKBUILD | 28 |
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" |