aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-06-17 00:47:32 -0300
committerTimo Teräs <timo.teras@iki.fi>2017-06-19 13:05:47 +0000
commit7181abe5f6e49720f98e50114dfd7362b3f5cc37 (patch)
treefd50ca1207895600d8ea62f73c0b00e11fc2284f /main
parentf365da074680c8379d44e58bd2ab054bb359fde0 (diff)
downloadaports-7181abe5f6e49720f98e50114dfd7362b3f5cc37.tar.bz2
aports-7181abe5f6e49720f98e50114dfd7362b3f5cc37.tar.xz
main/jasper: upgrade to 2.0.12
Diffstat (limited to 'main')
-rw-r--r--main/jasper/APKBUILD24
1 files changed, 7 insertions, 17 deletions
diff --git a/main/jasper/APKBUILD b/main/jasper/APKBUILD
index d526dfcebc..828885f809 100644
--- a/main/jasper/APKBUILD
+++ b/main/jasper/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jasper
-pkgver=2.0.10
-pkgrel=1
+pkgver=2.0.12
+pkgrel=0
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
url="http://www.ece.uvic.ca/~mdadams/jasper/"
arch="all"
@@ -9,18 +9,9 @@ license="custom:JasPer2.0"
depends= #"libjpeg>=8 freeglut libxi libxmu mesa"
makedepends="libjpeg-turbo-dev cmake"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-source="http://www.ece.uvic.ca/~frodo/jasper/software/jasper-$pkgver.tar.gz
- "
+source="http://www.ece.uvic.ca/~frodo/jasper/software/jasper-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -Np1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
build () {
mkdir "$builddir"/obj
@@ -28,15 +19,14 @@ build () {
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- || return 1
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib
- make || return 1
+ make
}
package() {
cd "$builddir"/obj
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
libs() {
@@ -45,4 +35,4 @@ libs() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr
}
-sha512sums="3cc08c9bc1f9ad1e4bac78a3246d6ee1a35a75d5b89b3b0f27cb5980420101256a2e05eeb7bf8a0c73d1a73c044b83b4cbca441c1418dced53d7a142e69129ed jasper-2.0.10.tar.gz"
+sha512sums="3b0f5a5640838b328d989a80461a23ca8ac98af054a7f15c13a543e769c98bb632b74114923c02c3b2de76747187747aec6e18a2cf14035a8d79eb3482fd553b jasper-2.0.12.tar.gz"