diff options
author | Yen Chi Hsuan | 2016-07-03 00:27:41 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2016-07-03 00:27:41 +0800 |
commit | aff7fb53947acc09af9048fd33a2b85ae99a0a21 (patch) | |
tree | 86d4517352bfbae3fca57a7c61ef9a72046a40de | |
parent | f714cf563a97e81129f47328f30557a3eb076b63 (diff) | |
download | aur-aff7fb53947acc09af9048fd33a2b85ae99a0a21.tar.gz |
Disable Java wrapping as it's broken
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 6 insertions, 11 deletions
@@ -1,16 +1,15 @@ # Generated by mksrcinfo v8 -# Mon Jun 20 03:42:19 UTC 2016 +# Sat Jul 2 16:27:33 UTC 2016 pkgbase = simpleitk pkgdesc = A simplified layer built on top of ITK, intended to facilitate its use in rapid prototyping, education, interpreted languages. pkgver = 0.9.1 - pkgrel = 2 + pkgrel = 3 url = http://www.simpleitk.org/ arch = i686 arch = x86_64 license = Apache makedepends = cmake makedepends = git - makedepends = java-environment makedepends = mono makedepends = python makedepends = python-pip @@ -21,7 +20,6 @@ pkgbase = simpleitk makedepends = tcl makedepends = tk depends = insight-toolkit - optdepends = java-runtime: Java bindings optdepends = mono: C# bindings optdepends = python: Python bindings optdepends = r: R bindings @@ -2,15 +2,14 @@ _pkgname=SimpleITK pkgname=simpleitk pkgver=0.9.1 -pkgrel=2 +pkgrel=3 pkgdesc="A simplified layer built on top of ITK, intended to facilitate its use in rapid prototyping, education, interpreted languages." arch=('i686' 'x86_64') url="http://www.simpleitk.org/" license=('Apache') depends=('insight-toolkit') -makedepends=('cmake' 'git' 'java-environment' 'mono' 'python' 'python-pip' 'python-virtualenv' 'r' 'ruby' 'swig' 'tcl' 'tk') +makedepends=('cmake' 'git' 'mono' 'python' 'python-pip' 'python-virtualenv' 'r' 'ruby' 'swig' 'tcl' 'tk') optdepends=( - 'java-runtime: Java bindings' 'mono: C# bindings' 'python: Python bindings' 'r: R bindings' @@ -45,7 +44,7 @@ prepare() { build() { cd "$_pkgname-$pkgver/build" - env JAVA_HOME=/usr/lib/jvm/default \ + # TODO: Java binding is broken with swig 3.0.9 and openjdk8 cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH:BOOL=ON \ @@ -53,6 +52,7 @@ build() { -DBUILD_TESTING:BOOL=OFF \ -DBUILD_EXAMPLES:BOOL=OFF \ -DSimpleITK_PYTHON_WHEEL:BOOL=ON \ + -DWRAP_JAVA:BOOL=OFF \ .. make all dist @@ -75,7 +75,4 @@ package() { install -d -Dm755 "$pkgdir/usr/lib/R/library/" cp -dr --no-preserve=ownership "$_builddir/Wrapping/Rpackaging/$_pkgname" "$pkgdir/usr/lib/R/library/" - - install -d -Dm755 "$pkgdir/usr/share/java/$_pkgname" - cp -d --no-preserve=ownership "$_builddir/Wrapping/dist/$_pkgname-$pkgver-"*"-Java-"*/* "$pkgdir/usr/share/java/$_pkgname/" } |