summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c81ae298891..0aa24a7eb35 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-jasper
pkgdesc = A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard (32-bit)
pkgver = 2.0.14
- pkgrel = 1
+ pkgrel = 2
url = http://www.ece.uvic.ca/~mdadams/jasper/
arch = x86_64
license = custom:JasPer2.0
@@ -16,7 +16,7 @@ pkgbase = lib32-jasper
optdepends = lib32-freeglut: jiv support
optdepends = lib32-glu: jiv support
options = staticlibs
- source = lib32-jasper-2.0.14.tar.gz::https://github.com/mdadams/jasper/archive/version-2.0.14.tar.gz
+ source = jasper-2.0.14.tar.gz::https://github.com/mdadams/jasper/archive/version-2.0.14.tar.gz
source = jasper-1.900.1-fix-filename-buffer-overflow.patch
sha512sums = 6b270cb1eb55f777f30016f3258e5e2297627e7d086334814c308464f5a4552c23241b0fdbc81ea715a6f4746294657f96c1cb6ceb320629ce57db7e81d84940
sha512sums = b8d798bf75523c5db263783e42c653dd0cb03deee90be32eddf878bb6893cca02abadd94de6a8c737a5b7fe76f7fb245979f010765e6a95fc520b215e3a2a7f0
diff --git a/PKGBUILD b/PKGBUILD
index d026d6e47cb..bd9f1d9c1ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=jasper
pkgname=lib32-${_pkgname}
pkgver=2.0.14
-pkgrel=1
+pkgrel=2
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard (32-bit)"
arch=('x86_64')
url="http://www.ece.uvic.ca/~mdadams/jasper/"
@@ -16,7 +16,7 @@ optdepends=('jasper-doc: documentation'
'lib32-glu: jiv support')
makedepends=('lib32-freeglut' 'lib32-libxmu' 'lib32-glu' 'cmake' 'doxygen')
options=('staticlibs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mdadams/jasper/archive/version-${pkgver}.tar.gz
+source=(${_pkgname}-${pkgver}.tar.gz::https://github.com/mdadams/jasper/archive/version-${pkgver}.tar.gz
jasper-1.900.1-fix-filename-buffer-overflow.patch)
sha512sums=('6b270cb1eb55f777f30016f3258e5e2297627e7d086334814c308464f5a4552c23241b0fdbc81ea715a6f4746294657f96c1cb6ceb320629ce57db7e81d84940'
'b8d798bf75523c5db263783e42c653dd0cb03deee90be32eddf878bb6893cca02abadd94de6a8c737a5b7fe76f7fb245979f010765e6a95fc520b215e3a2a7f0')
@@ -29,14 +29,15 @@ prepare() {
}
build() {
+ cd ${_pkgname}-version-${pkgver}
+
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- cd ${_pkgname}-version-${pkgver}
local options=(
-DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_INSTALL_LIBDIR=lib32
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib32
-DCMAKE_BUILD_TYPE=Release
-DJAS_ENABLE_OPENGL=ON
-DJAS_ENABLE_LIBJPEG=ON