From: Stefan Huber Date: Fri, 15 Nov 2013 21:45:49 +0000 (+0100) Subject: sci-libs/itk-4.4.2-r1: Add vtkglue use flag X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=c122b57e0b3a81082034ca36d74b62f4404252c3;p=shuber-gentoo-overlay.git sci-libs/itk-4.4.2-r1: Add vtkglue use flag Enable Module_ITKVtkGlue if vtkglue use flag is set. VtkGlue is used for glueing an ITK pipeline and a VTK pipeline together. --- diff --git a/sci-libs/itk/itk-4.4.2-r1.ebuild b/sci-libs/itk/itk-4.4.2-r1.ebuild index 542216b..5671bb0 100644 --- a/sci-libs/itk/itk-4.4.2-r1.ebuild +++ b/sci-libs/itk/itk-4.4.2-r1.ebuild @@ -19,7 +19,7 @@ RESTRICT="primaryuri" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug examples fftw itkv3compat python review sse2 test" +IUSE="debug examples fftw itkv3compat python review sse2 test vtkglue" RDEPEND=" sci-libs/hdf5[cxx] @@ -28,6 +28,7 @@ RDEPEND=" media-libs/tiff:0 sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) + vtkglue? ( sci-libs/vtk ) " DEPEND="${RDEPEND} python? ( ${PYTHON_DEPS} @@ -82,6 +83,11 @@ src_configure() { -DITK_WRAP_complex_double=ON ) fi + if use vtkglue; then + mycmakeargs+=( + -DModule_ITKVtkGlue=ON + ) + fi if use python; then mycmakeargs+=( -DITK_WRAP_PYTHON=ON