summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-12-16 13:07:25 -0800
committer Benjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-12-16 13:07:29 -0800
commit2ceca58c1725db51f6137b5ecd10952c7a28d6e8 (patch)
tree61078381a905032ac01d93bf04742ce3bcd0cf73
parentb601e9a665ddc51caea11276a9a0cc6d22281b27 (diff)
downloadslackbuilds-2ceca58c1725db51f6137b5ecd10952c7a28d6e8.tar.gz
slackbuilds-2ceca58c1725db51f6137b5ecd10952c7a28d6e8.tar.xz
academic/ITK: Updated for version 5.0.1.
Not compatible with 14.2 due to cmake version.
-rw-r--r--academic/ITK/ITK.SlackBuild33
-rw-r--r--academic/ITK/ITK.info6
2 files changed, 8 insertions, 31 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index afeb3068c8..89ebd04575 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=ITK
SRCNAM=InsightToolkit
-VERSION=${VERSION:-4.13.2}
+VERSION=${VERSION:-5.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,30 +75,6 @@ find -L . \
sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" CMakeLists.txt
sed -i "s|/opj_config.h|& \$\{CMAKE_CURRENT_BINARY_DIR\}/openjpeg_mangle.h|" \
Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/src/lib/openjp2/CMakeLists.txt
-patch -p1 <<'endpatch'
-diff --git a/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h b/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
-index 4865361421e..220b9cd49a8 100644
---- a/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
-+++ b/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
-@@ -97,6 +97,17 @@
- # else
- # define VCL_GCC_80
- # endif
-+# elif (__GNUC__==9)
-+# define VCL_GCC_9
-+# if (__GNUC_MINOR__ > 2 )
-+# define VCL_GCC_93
-+# elif (__GNUC_MINOR__ > 1 )
-+# define VCL_GCC_92
-+# elif (__GNUC_MINOR__ > 0 )
-+# define VCL_GCC_91
-+# else
-+# define VCL_GCC_90
-+# endif
- # else
- # error "Dunno about this gcc"
- # endif
-endpatch
mkdir -p build
cd build
@@ -107,14 +83,15 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DITK_FORBID_DOWNLOADS:BOOL=ON \
- -DITK_WRAP_PYTHON:BOOL=OFF \
- -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DITK_WRAP_PYTHON:BOOL=ON \
+ -DBUILD_SHARED_LIBS:BOOL=OFF \
-DBUILD_EXAMPLES:BOOL=OFF \
-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \
-DITK_USE_SYSTEM_DCMTK:BOOL=ON \
-DITK_USE_SYSTEM_DOUBLECONVERSION:BOOL=ON \
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \
-DITK_USE_SYSTEM_FFTW:BOOL=ON \
+ -DITK_USE_SYSTEM_GOOGLETEST:BOOL=ON \
-DITK_USE_SYSTEM_HDF5:BOOL=ON \
-DITK_USE_SYSTEM_JPEG:BOOL=ON \
-DITK_USE_SYSTEM_PNG:BOOL=ON \
diff --git a/academic/ITK/ITK.info b/academic/ITK/ITK.info
index d72260cfa6..733ef60b12 100644
--- a/academic/ITK/ITK.info
+++ b/academic/ITK/ITK.info
@@ -1,8 +1,8 @@
PRGNAM="ITK"
-VERSION="4.13.2"
+VERSION="5.0.1"
HOMEPAGE="https://itk.org"
-DOWNLOAD="https://github.com/InsightSoftwareConsortium/ITK/releases/download/v4.13.2/InsightToolkit-4.13.2.tar.xz"
-MD5SUM="d140ddabe22428e86bc5053e0d268872"
+DOWNLOAD="https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.0.1/InsightToolkit-5.0.1.tar.gz"
+MD5SUM="0d5b6726279f16884b7acc87e71d08e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="double-conversion gtest hdf5"