summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreric2013-10-24 19:16:59 +0000
committerJakob Gahde2016-09-26 11:27:19 +0200
commitee5666c55006c5219e55f86f2ec43534aa334db4 (patch)
treed8792510735bf4bfe67d60c7be6df3655f58a341
parent609d1d3c0f4a6d56ce758ad88da6b0bff89711b6 (diff)
downloadaur-ee5666c55006c5219e55f86f2ec43534aa334db4.tar.gz
upgpkg: jasper 1.900.1-9
Rebuild without static libraries git-svn-id: file:///srv/repos/svn-packages/svn@197250 eb2447ed-0c53-47e4-bac8-5bc4a241df78
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD19
2 files changed, 14 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dcc044b5d45..bce32b39909 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@
pkgbase = jasper
pkgdesc = A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard
pkgver = 1.900.1
- pkgrel = 8
+ pkgrel = 9
url = http://www.ece.uvic.ca/~mdadams/jasper/
arch = i686
arch = x86_64
@@ -12,16 +12,15 @@ pkgbase = jasper
depends = freeglut
depends = libxmu
depends = glu
- options = !libtool
source = http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.900.1.zip
- source = jpc_dec.c.patch
source = patch-libjasper-stepsizes-overflow.diff
source = jasper-1.900.1-CVE-2008-3520.patch
+ source = jpc_dec.c.patch
source = jasper-1.900.1-CVE-2008-3522.patch
sha1sums = 9c5735f773922e580bf98c7c7dfda9bbed4c5191
- sha1sums = c1a0176a15210c0af14d85e55ce566921957d780
sha1sums = f298566fef08c8a589d072582112cd51c72c3983
sha1sums = 2483dba925670bf29f531d85d73c4e5ada513b01
+ sha1sums = c1a0176a15210c0af14d85e55ce566921957d780
sha1sums = 0e7b6142cd9240ffb15a1ed7297c43c76fa09ee4
pkgname = jasper
diff --git a/PKGBUILD b/PKGBUILD
index 630cbac52c2..42293c3ff7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,34 +3,37 @@
pkgname=jasper
pkgver=1.900.1
-pkgrel=8
+pkgrel=9
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
arch=('i686' 'x86_64')
url="http://www.ece.uvic.ca/~mdadams/jasper/"
license=('custom:JasPer2.0')
depends=('libjpeg' 'freeglut' 'libxmu' 'glu')
-options=('!libtool')
-source=(http://www.ece.uvic.ca/~mdadams/${pkgname}/software/${pkgname}-${pkgver}.zip jpc_dec.c.patch
+source=(http://www.ece.uvic.ca/~mdadams/${pkgname}/software/${pkgname}-${pkgver}.zip
patch-libjasper-stepsizes-overflow.diff jasper-1.900.1-CVE-2008-3520.patch
- jasper-1.900.1-CVE-2008-3522.patch)
+ jpc_dec.c.patch jasper-1.900.1-CVE-2008-3522.patch)
sha1sums=('9c5735f773922e580bf98c7c7dfda9bbed4c5191'
- 'c1a0176a15210c0af14d85e55ce566921957d780'
'f298566fef08c8a589d072582112cd51c72c3983'
'2483dba925670bf29f531d85d73c4e5ada513b01'
+ 'c1a0176a15210c0af14d85e55ce566921957d780'
'0e7b6142cd9240ffb15a1ed7297c43c76fa09ee4')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/jpc_dec.c.patch"
patch -p1 -i "${srcdir}/patch-libjasper-stepsizes-overflow.diff"
patch -p1 -i "${srcdir}/jasper-1.900.1-CVE-2008-3520.patch"
patch -p1 -i "${srcdir}/jasper-1.900.1-CVE-2008-3522.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --enable-shared
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}