summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-11-12 06:23:15 +0000
committerZach van Rijn <me@zv.io>2022-11-12 06:23:17 +0000
commitba5d7cb711846ba45c6879c038eda7b704dce811 (patch)
tree4871fedb481d1e9912ffd9aa85187ad5670bfa53
parent05949840ccfe78184549e5c1fc342333aeb65d6c (diff)
downloadpackages-ba5d7cb711846ba45c6879c038eda7b704dce811.tar.gz
packages-ba5d7cb711846ba45c6879c038eda7b704dce811.tar.bz2
packages-ba5d7cb711846ba45c6879c038eda7b704dce811.tar.xz
packages-ba5d7cb711846ba45c6879c038eda7b704dce811.zip
user/jasper: bump { 2.0.16 --> 2.0.33 }. fixes #253. closes !549.
This is the latest 2.x release. There are now 3.x and 4.x releases. The CVEs are now mitigated, but there's more bumping/testing to do.
-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"