From bc196a6de3c4508bf1298f5c3edcd5f718b70348 Mon Sep 17 00:00:00 2001 From: Slawomir Lis Date: Mon, 5 Jun 2017 08:24:59 +0200 Subject: sci-visualization/visit: Added support for xdmf2 format Reported in bug #617466 Reported-By: dariusz.patryk.wojcik@gmail.com Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- sci-visualization/visit/metadata.xml | 3 +++ sci-visualization/visit/visit-2.10.3.ebuild | 13 +++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'sci-visualization') diff --git a/sci-visualization/visit/metadata.xml b/sci-visualization/visit/metadata.xml index 7e5208af07f4..1279dc32e3c3 100644 --- a/sci-visualization/visit/metadata.xml +++ b/sci-visualization/visit/metadata.xml @@ -16,5 +16,8 @@ Adds support for reading .silo files. + + Support for xdmf2 formated data. + diff --git a/sci-visualization/visit/visit-2.10.3.ebuild b/sci-visualization/visit/visit-2.10.3.ebuild index 7cf403c87f8d..a606b27ca2ad 100644 --- a/sci-visualization/visit/visit-2.10.3.ebuild +++ b/sci-visualization/visit/visit-2.10.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.g LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads" +IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads xdmf2" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" @@ -23,9 +23,11 @@ RDEPEND=" hdf5? ( sci-libs/hdf5 ) netcdf? ( sci-libs/netcdf ) silo? ( sci-libs/silo ) - >=sci-libs/vtk-6.0.0[imaging,mpi=,python,rendering,qt4,${PYTHON_USEDEP}] + >=sci-libs/vtk-6.0.0[imaging,mpi=,python,rendering,qt4,xdmf2?,${PYTHON_USEDEP}] sys-libs/zlib" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + xdmf2? ( sci-libs/xdmf2 ) +" S="${WORKDIR}/${PN}${PV}/src" PATCHES=( @@ -75,6 +77,9 @@ src_configure() { if use netcdf; then mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) fi + if use xdmf2; then + mycmakeargs+=( -DOPT_VTK_MODS="vtklibxml2" -DVISIT_XDMF_DIR=/usr/ ) + fi cmake-utils_src_configure } -- cgit v1.2.3-65-gdbad