From: | Andrew Ammerlaan <andrewammerlaan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/sci:master commit in: sci-libs/itk/ |
Date: | Thu, 15 Sep 2022 11:18:02 |
Message-Id: | 1663240349.b6218b8bd67305fbc671219a8f694e29a64a5008.andrewammerlaan@gentoo |
1 | commit: b6218b8bd67305fbc671219a8f694e29a64a5008 |
2 | Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 | AuthorDate: Thu Sep 15 11:12:29 2022 +0000 |
4 | Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 | CommitDate: Thu Sep 15 11:12:29 2022 +0000 |
6 | URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b6218b8b |
7 | |
8 | sci-libs/itk: add AdaptiveDenoising module |
9 | |
10 | Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 | |
12 | sci-libs/itk/{itk-5.2.1.ebuild => itk-5.2.1-r1.ebuild} | 4 ++++ |
13 | 1 file changed, 4 insertions(+) |
14 | |
15 | diff --git a/sci-libs/itk/itk-5.2.1.ebuild b/sci-libs/itk/itk-5.2.1-r1.ebuild |
16 | similarity index 95% |
17 | rename from sci-libs/itk/itk-5.2.1.ebuild |
18 | rename to sci-libs/itk/itk-5.2.1-r1.ebuild |
19 | index 25292269f..98e39935e 100644 |
20 | --- a/sci-libs/itk/itk-5.2.1.ebuild |
21 | +++ b/sci-libs/itk/itk-5.2.1-r1.ebuild |
22 | @@ -11,6 +11,7 @@ inherit cmake python-single-r1 virtualx |
23 | MY_PN="InsightToolkit" |
24 | MY_P="${MY_PN}-${PV}" |
25 | GLI_HASH="89da9305f5750d3990ca9fd35ecc5ce0b39c71a6" |
26 | +IAD_HASH="24825c8d246e941334f47968553f0ae388851f0c" |
27 | TEST_HASH="7ab9d41ad5b42ccbe8adcaf0b24416d439a264d0" |
28 | declare -a GLI_TEST_HASHES=( |
29 | "a5e11ea71164ff78c65fcf259db01ea5db981a9d868e60045ff2bffca92984df1174bf984a1076e450f0d5d69b4f0191ed1a61465c220e2c91a893b5df150c0a" |
30 | @@ -27,6 +28,7 @@ HOMEPAGE="https://itk.org" |
31 | SRC_URI=" |
32 | https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/${MY_P}.tar.gz |
33 | https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/${GLI_HASH}.tar.gz -> ITKGenericLabelInterpolator-${PV}.tar.gz |
34 | + https://github.com/ntustison/ITKAdaptiveDenoising/archive/${IAD_HASH}.tar.gz -> ITKAdaptiveDenoising-${PV}.tar.gz |
35 | test? ( |
36 | https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/InsightData-${PV}.tar.gz |
37 | https://github.com/InsightSoftwareConsortium/ITKTestingData/archive/${TEST_HASH}.tar.gz -> ${P}-testingdata.tar.gz |
38 | @@ -130,6 +132,7 @@ src_prepare() { |
39 | |
40 | # Remote modules |
41 | ln -sr "../ITKGenericLabelInterpolator-${GLI_HASH}" Modules/External/ITKGenericLabelInterpolator || die |
42 | + ln -sr "../ITKAdaptiveDenoising-${IAD_HASH}" Modules/External/ITKAdaptiveDenoising || die |
43 | |
44 | cmake_src_prepare |
45 | |
46 | @@ -172,6 +175,7 @@ src_configure() { |
47 | -DITK_USE_KWSTYLE=OFF |
48 | -DITK_BUILD_DEFAULT_MODULES=ON |
49 | -DITK_COMPUTER_MEMORY_SIZE="${ITK_COMPUTER_MEMORY_SIZE:-1}" |
50 | + -DModule_AdaptiveDenoising:BOOL=ON |
51 | -DModule_GenericLabelInterpolator:BOOL=ON |
52 | -DModule_ITKReview:BOOL=ON |
53 | -DWRAP_ITK_JAVA=OFF |