summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/jasper/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/user/jasper/APKBUILD b/user/jasper/APKBUILD
index 006a2f7eb..a9b18d2ea 100644
--- a/user/jasper/APKBUILD
+++ b/user/jasper/APKBUILD
@@ -1,6 +1,6 @@
-# Maintainer:
+# Maintainer: Zach van Rijn <me@zv.io>
pkgname=jasper
-pkgver=2.0.16
+pkgver=2.0.33
pkgrel=0
pkgdesc="Library implementing JPEG-2000"
url="http://www.ece.uvic.ca/~mdadams/jasper/"
@@ -9,8 +9,7 @@ license="JasPer-2.0"
depends=""
makedepends="libjpeg-turbo-dev cmake"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mdadams/jasper/archive/version-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-version-$pkgver"
+source="https://github.com/jasper-software/$pkgname/releases/download/version-$pkgver/$pkgname-$pkgver.tar.gz"
# secfixes:
# 2.0.12-r1:
@@ -23,6 +22,9 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DJAS_ENABLE_OPENGL=OFF \
+ -DJAS_ENABLE_LIBJPEG=ON \
+ -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \
-Bbuild
make -C build
}
@@ -41,4 +43,4 @@ libs() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr
}
-sha512sums="b3bca227f833567c9061c4a29c0599784ed6a131b5cceddfd1696542d19add821eda445ce6d83782b454b266723b24d0f028cbc644a25c0e3a75304e615b34ee jasper-2.0.16.tar.gz"
+sha512sums="b243be296b9e7adc86c5eee1deb50afab9e9361861fa3bc010d0fb10d29712fb872f685e7caeb15a6ecf25a7684ecd03bc2ebf851573e3930e8ee9bb2fa65a22 jasper-2.0.33.tar.gz"