mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user