summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mesa2020-12-26 14:15:30 -0500
committerSamuel Mesa2020-12-26 14:15:30 -0500
commit32db254b7005fad28580aac20265498eeb227058 (patch)
tree21fd8f10fe4c7aa1196d2016bd504d3e18df473a
parent14371365b9b5edad250159b0842679cb5bf6552f (diff)
downloadaur-itk4.tar.gz
Update version 4.13.3
-rwxr-xr-x[-rw-r--r--].SRCINFO8
-rwxr-xr-x[-rw-r--r--]PKGBUILD28
-rwxr-xr-x[-rw-r--r--]fix_vlc_gcc9.patch0
3 files changed, 14 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3825e0a259e..fca93e74a02 100644..100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = itk4
pkgdesc = Cross-platform system that provides developers with an extensive suite of software tools for image analysis
- pkgver = 4.13.2
+ pkgver = 4.13.3
pkgrel = 1
url = http://www.itk.org/
arch = i686
@@ -29,10 +29,8 @@ pkgbase = itk4
provides = insight-toolkit
conflicts = insight-toolkit
replaces = insight-toolkit
- source = fix_vlc_gcc9.patch
- source = http://downloads.sourceforge.net/project/itk/itk/4.13/InsightToolkit-4.13.2.tar.xz
- sha512sums = 4f9edeed47e6017bfd3abff69d8b9fa7a7d5088216c1511cd94a3aaeb7a211ed072f33b16faafe4803b668ad9f63a7afdd3899402ff46e9c5bc7720b0ecab983
- sha512sums = 7ddca802d0c4ee644eb58e621d8cb7c4b75247ceb86a559aeae9160d2456bbbbecb0a23738a0e7617c23bdfd35d5bf9adbf83bba07d6f86b067d25ee520435aa
+ source = https://github.com/InsightSoftwareConsortium/ITK/releases/download/v4.13.3/InsightToolkit-4.13.3.tar.gz
+ sha512sums = bc08bef804a4384ddf8694658bef34d30e54fa1ef5f72e460357382316dd45fed4088eb529014692cc28ffbd017782c9bcb276c8c8f4debe13af8eea93eaf5c0
pkgname = itk4
diff --git a/PKGBUILD b/PKGBUILD
index 78449182ed7..5a4af075ec2 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,13 @@
# Maintainer: Samuel Mesa <samuelmesa@gmail.com>
+# Contributor: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Chris <christopher.r.mullins g-mail>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: joel schaerer <joel.schaerer@laposte.net>
+# Contributor: Sylvain Poulain <sylvain.poulain@giscan.com>
pkgname=itk4
-pkgver=4.13.2
+pkgver=4.13.3
pkgrel=1
pkgdesc='Cross-platform system that provides developers with an extensive suite of software tools for image analysis'
arch=('i686' 'x86_64')
@@ -21,53 +23,45 @@ optdepends=('python2: build python wrapping'
'pcre: for wrapping'
'castxml-git: for wrapping and docs'
'clang: for swig'
- 'castxml-git: for ITK')
+ 'castxml-git: for ITK')
makedepends=('cmake')
conflicts=('insight-toolkit')
provides=('insight-toolkit')
replaces=('insight-toolkit')
-source=("fix_vlc_gcc9.patch" "http://downloads.sourceforge.net/project/itk/itk/${pkgver:0:4}/InsightToolkit-${pkgver}.tar.xz")
-sha512sums=('4f9edeed47e6017bfd3abff69d8b9fa7a7d5088216c1511cd94a3aaeb7a211ed072f33b16faafe4803b668ad9f63a7afdd3899402ff46e9c5bc7720b0ecab983'
- '7ddca802d0c4ee644eb58e621d8cb7c4b75247ceb86a559aeae9160d2456bbbbecb0a23738a0e7617c23bdfd35d5bf9adbf83bba07d6f86b067d25ee520435aa')
+source=(https://github.com/InsightSoftwareConsortium/ITK/releases/download/v4.13.3/InsightToolkit-${pkgver}.tar.gz)
+sha512sums=( 'bc08bef804a4384ddf8694658bef34d30e54fa1ef5f72e460357382316dd45fed4088eb529014692cc28ffbd017782c9bcb276c8c8f4debe13af8eea93eaf5c0')
_usepython=false
-prepare() {
- cd "$srcdir"
- patch -Np0 -i fix_vlc_gcc9.patch
-}
-
-
build() {
cd "$srcdir"
rm -rf build
- mkdir build
+ mkdir -p build
cd build
cmake \
+ -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
+ -DITK_USE_SYSTEM_HDF5:BOOL=ON \
+ -DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DBUILD_TESTING:BOOL=OFF \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
- -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
- -DModule_ITKReview:BOOL=ON \
-DITK_USE_SYSTEM_JPEG:BOOL=ON \
-DITK_USE_SYSTEM_PNG:BOOL=ON \
-DITK_USE_SYSTEM_ZLIB:BOOL=ON \
-DITK_USE_SYSTEM_TIFF:BOOL=ON \
- -DITK_USE_SYSTEM_GDCM:BOOL=OFF \
+ -DITK_USE_SYSTEM_GDCM:BOOL=ON \
-DITK_LEGACY_SILENT:BOOL=ON \
$( $_usepython && echo "-DITK_WRAP_PYTHON:BOOL=ON") \
$( $_usepython && echo "-DModule_ITKReview:BOOL=OFF") \
$( $_usepython && echo "-DITK_USE_SYSTEM_SWIG:BOOL=ON") \
$( $_usepython && echo "-DITK_USE_SYSTEM_CASTXML:BOOL=ON") \
- -DCMAKE_CXX_FLAGS:STRING="-std=c++98" \
-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \
-DITK_USE_SYSTEM_FFTW:BOOL=ON \
- -DITK_USE_SYSTEM_HDF5:BOOL=ON \
-DModule_ITKIOMINC:BOOL=ON \
-DModule_ITKIOTransformMINC:BOOL=ON \
../InsightToolkit-${pkgver}
diff --git a/fix_vlc_gcc9.patch b/fix_vlc_gcc9.patch
index 3a08c0c5b0a..3a08c0c5b0a 100644..100755
--- a/fix_vlc_gcc9.patch
+++ b/fix_vlc_gcc9.patch