summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 081f449a4ff..10e2c94ec63 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Feb 11 14:08:40 UTC 2017
+# Sun Feb 26 08:18:20 UTC 2017
pkgbase = mingw-w64-jasper
pkgdesc = A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard (mingw-w64)
pkgver = 2.0.10
- pkgrel = 1
+ pkgrel = 2
url = http://www.ece.uvic.ca/~mdadams/jasper
arch = any
license = custom:JasPer2.0
diff --git a/PKGBUILD b/PKGBUILD
index cd8e07b73b5..2cb795b20ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-jasper
pkgver=2.0.10
-pkgrel=1
+pkgrel=2
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard (mingw-w64)"
arch=(any)
url="http://www.ece.uvic.ca/~mdadams/jasper"
@@ -18,6 +18,10 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare() {
cd "$srcdir/jasper-version-$pkgver"
patch -p1 -i "${srcdir}/jasper-1.900.1-fix-filename-buffer-overflow.patch"
+ # fix library name liblibjapser -> libjasper
+ sed -i "165iset_target_properties(libjasper PROPERTIES OUTPUT_NAME jasper)" src/libjasper/CMakeLists.txt
+ # disable doc
+ sed -i "s|add_subdirectory(doc)||g" CMakeLists.txt
}
build() {