Skip to content

Commit

Permalink
openjpeg 2.1.2 - rel. 2 - Disable JPIP because causing compilation fa…
Browse files Browse the repository at this point in the history
…ilures -not sure why
  • Loading branch information
JPeterMugaas committed Oct 10, 2016
1 parent 90cb991 commit ea56c3c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions mingw-w64-openjpeg2/PKGBUILD
Expand Up @@ -4,7 +4,7 @@ _realname=openjpeg
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}2"
pkgver=2.1.2
pkgrel=1
pkgrel=2
pkgdesc="An open source JPEG 2000 codec (mingw-w64)"
arch=('any')
url="http://www.openjpeg.org"
Expand All @@ -18,11 +18,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-pkg-config"
"${MINGW_PACKAGE_PREFIX}-cmake")
options=('staticlibs' 'strip')
source=(${_realname}-${pkgver}.tar.gz::https://github.com/uclouvain/openjpeg/archive/v${pkgver}.tar.gz
source=(https://github.com/uclouvain/openjpeg/archive/v$pkgver.tar.gz
0001-fix-install-for-dlls.all.patch
0003-versioned-dlls.mingw.patch
0005-sock-jpip.all.patch
0006-openjpeg-2.1.0-stdcall-for-all-win.patch)

sha256sums=('4ce77b6ef538ef090d9bde1d5eeff8b3069ab56c4906f083475517c2c023dfa7'
'3f3bde353ca3432f157258164c5e3c345af82ca3a9d5a68f815c3030b01cbc32'
'a221300d278f1a57b1ea5c70314702cd4234a2560ed2335bd5940fd921e78eda'
Expand All @@ -34,7 +35,7 @@ prepare() {
patch -p1 -i ${srcdir}/0001-fix-install-for-dlls.all.patch
patch -p1 -i ${srcdir}/0003-versioned-dlls.mingw.patch
patch -p1 -i ${srcdir}/0005-sock-jpip.all.patch
# patch -p1 -i ${srcdir}/0006-openjpeg-2.1.0-stdcall-for-all-win.patch
patch -p1 -i ${srcdir}/0006-openjpeg-2.1.0-stdcall-for-all-win.patch
}

build() {
Expand Down Expand Up @@ -73,10 +74,11 @@ build() {
-DCMAKE_SYSTEM_PREFIX_PATH=${MINGW_PREFIX} \
-DBUILD_MJ2=ON \
-DBUILD_JPWL=ON \
-DBUILD_JPIP=ON \
-DBUILD_JPIP=OFF \
-DBUILD_JP3D=ON \
-DBUILD_DOC=OFF \
-DBUILD_PKGCONFIG_FILES=ON \
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE \
../${_realname}-${pkgver}
make
}
Expand Down

0 comments on commit ea56c3c

Please sign in to comment.