summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2017-06-05 08:24:59 +0200
committerSlawomir Lis <slis@gentoo.org>2017-06-05 08:25:47 +0200
commitbc196a6de3c4508bf1298f5c3edcd5f718b70348 (patch)
treeb1f2f3ce708632fbc7519d3108824c63ef736a48 /sci-visualization
parentprofiles/f/p/s/legacy/profile.bashrc: disable utimensat syscall (diff)
downloadgentoo-bc196a6de3c4508bf1298f5c3edcd5f718b70348.tar.gz
gentoo-bc196a6de3c4508bf1298f5c3edcd5f718b70348.tar.bz2
gentoo-bc196a6de3c4508bf1298f5c3edcd5f718b70348.zip
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
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/visit/metadata.xml3
-rw-r--r--sci-visualization/visit/visit-2.10.3.ebuild13
2 files changed, 12 insertions, 4 deletions
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 @@
<flag name="silo">
Adds support for reading .silo files.
</flag>
+ <flag name="xdmf2">
+ Support for xdmf2 formated data.
+ </flag>
</use>
</pkgmetadata>
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
}