aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2021-03-13 18:55:03 -0500
committerHorea Christian <chr@chymera.eu>2021-03-13 18:55:03 -0500
commit8ee4d009f7fdcb0f22f33dee2bf395d67868eee9 (patch)
treea274821f294ce3ac02396c9cc69a607447a4ae9d /sci-libs
parentRevert "{metadata,profiles}: add the ability to mask per profile in overlay" (diff)
downloadsci-8ee4d009f7fdcb0f22f33dee2bf395d67868eee9.tar.gz
sci-8ee4d009f7fdcb0f22f33dee2bf395d67868eee9.tar.bz2
sci-8ee4d009f7fdcb0f22f33dee2bf395d67868eee9.zip
sci-libs/itk: added optional USE flag
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Horea Christian <chr@chymera.eu>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/itk/itk-5.1.0.ebuild3
-rw-r--r--sci-libs/itk/metadata.xml1
2 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/itk/itk-5.1.0.ebuild b/sci-libs/itk/itk-5.1.0.ebuild
index f5c9cd50d..ad23b6f14 100644
--- a/sci-libs/itk/itk-5.1.0.ebuild
+++ b/sci-libs/itk/itk-5.1.0.ebuild
@@ -36,7 +36,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug doc examples fftw python review test vtkglue"
+IUSE="debug doc examples fftw itkv4-compat python review test vtkglue"
RESTRICT="!test? ( test )"
# python will not work, this is a know issue upstream:
# https://github.com/InsightSoftwareConsortium/ITK/issues/2005
@@ -131,6 +131,7 @@ src_configure() {
-DModule_ITKReview:BOOL=ON
-DWRAP_ITK_JAVA=OFF
-DWRAP_ITK_TCL=OFF
+ -DITKV4_COMPATIBILITY:BOOL=$(usex itkv4-compat)
)
if use fftw; then
mycmakeargs+=(
diff --git a/sci-libs/itk/metadata.xml b/sci-libs/itk/metadata.xml
index 7c4535324..535ae83de 100644
--- a/sci-libs/itk/metadata.xml
+++ b/sci-libs/itk/metadata.xml
@@ -14,6 +14,7 @@ that provides developers with an extensive suite of tools for image
analysis.
</longdescription>
<use>
+ <flag name="itkv4-compat">Compatibility for applications using ITKv4 API</flag>
<flag name="review">Enable compilation of methods under review</flag>
<flag name="vtkglue">PLEASE FIX MY DESCRIPTION</flag>
</use>