diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-24 10:23:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-24 13:02:21 +0000 |
commit | 807a6729ac73c3fd72842e40f5acef01ac5c1439 (patch) | |
tree | 820bee6d6e9d8d0d1fa47e156c93ed4adde793b4 /main/poppler-qt4 | |
parent | a057811dcf936d6de8316127e2ccf385171198c0 (diff) | |
download | aports-807a6729ac73c3fd72842e40f5acef01ac5c1439.tar.bz2 aports-807a6729ac73c3fd72842e40f5acef01ac5c1439.tar.xz |
main/poppler-qt4: upgrade to 0.32.0
Diffstat (limited to 'main/poppler-qt4')
-rw-r--r-- | main/poppler-qt4/APKBUILD | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/main/poppler-qt4/APKBUILD b/main/poppler-qt4/APKBUILD index e20bfbd4f6..d3d2307c07 100644 --- a/main/poppler-qt4/APKBUILD +++ b/main/poppler-qt4/APKBUILD @@ -3,19 +3,10 @@ # this aport only includes glib/gtk support in order to break the # circular make dependency: gtk <- cups <- poppler <- gtk -_ver=0.29.0 -# get the pkgver from poppler -if [ -r ../../main/poppler/APKBUILD ]; then - . ../../main/poppler/APKBUILD - pkgname=poppler-qt4 - if [ "$_ver" != "$pkgver" ]; then - die "please set _ver to $pkgver" - fi -fi pkgname=poppler-qt4 _realname=poppler -pkgver=$_ver +pkgver=0.32.0 pkgrel=0 pkgdesc="PDF rendering library based on xpdf 3.0" url="http://poppler.freedesktop.org/" @@ -23,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" + poppler-dev lcms2-dev openjpeg-dev" depends= replaces="poppler-glib" depends_dev="$makedepends" @@ -32,7 +23,18 @@ source="http://poppler.freedesktop.org/poppler-$pkgver.tar.xz" _builddir="$srcdir/$_realname-$pkgver" prepare() { - cd "$_builddir" + 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)" + fi + fi + ) || return 1 } build() { @@ -63,6 +65,6 @@ package() { rm "$pkgdir"/usr/lib/*.la || return 1 } -md5sums="7a5d87b7f62db636cc59f73bbd240811 poppler-0.29.0.tar.xz" -sha256sums="3c1e16dc8d5d846d085baf65844ed3e05cbde5d44f6682f9f1e2b120d66c62c4 poppler-0.29.0.tar.xz" -sha512sums="67849fb888e2bda71599f525634c9c334734296a98d1c381a68d0cc196a2d4bbc260c45ce5117dc0a3a662b869752418d1139d007280deef586983e4c3b80452 poppler-0.29.0.tar.xz" +md5sums="a97985f7af6c388e42a53dead85d4ef4 poppler-0.32.0.tar.xz" +sha256sums="4963e31ba5e17530a87b16588e22928bc044e8d28d02303dded981bff6725b98 poppler-0.32.0.tar.xz" +sha512sums="f68355a0242ce467b9d7d7f47cc0c3b08f015c38b147eaeddc392e693239bce2b1b3832bd5e5411f25edddab6d3cea8ca0be151372a86963610a4eae3ea50eee poppler-0.32.0.tar.xz" |