diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-08-19 04:09:45 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-08-19 04:09:45 +0000 |
commit | 11ab37f0121e5b038a51054e994a2db47a3c5789 (patch) | |
tree | 320373b5e585584683d297a93d92048e895966e2 /sci-visualization/paraview | |
parent | Fixed incomplete RDEPEND. (diff) | |
download | gentoo-2-11ab37f0121e5b038a51054e994a2db47a3c5789.tar.gz gentoo-2-11ab37f0121e5b038a51054e994a2db47a3c5789.tar.bz2 gentoo-2-11ab37f0121e5b038a51054e994a2db47a3c5789.zip |
Removed obsolete versions.
(Portage version: 2.1.3.5)
Diffstat (limited to 'sci-visualization/paraview')
10 files changed, 7 insertions, 395 deletions
diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog index 2cde58ed8816..8ba2c8ed9bdb 100644 --- a/sci-visualization/paraview/ChangeLog +++ b/sci-visualization/paraview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/paraview # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.8 2007/07/25 21:14:45 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.9 2007/08/19 04:09:45 markusle Exp $ + + 19 Aug 2007; Markus Dittrich <markusle@gentoo.org> + -files/paraview-2.4.4-hdf5-zlib.patch, -files/paraview-2.4.4-png.patch, + -files/paraview-2.4.4-python-wrap.patch, -paraview-2.4.4.ebuild, + -paraview-2.6.0.ebuild, -paraview-2.6.1.ebuild: + Removed obsolete versions. *paraview-2.6.2 (25 Jul 2007) diff --git a/sci-visualization/paraview/files/digest-paraview-2.4.4 b/sci-visualization/paraview/files/digest-paraview-2.4.4 deleted file mode 100644 index e0f6e305ef4c..000000000000 --- a/sci-visualization/paraview/files/digest-paraview-2.4.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7f8e926542268546563e8e8c1d4ad852 paraview-2.4.4.tar.gz 45431692 -RMD160 21877872a56ffa44a5cc15232fe58bdcb4c94c2d paraview-2.4.4.tar.gz 45431692 -SHA256 2af388f046ceeff87fa6241ce91bfb55ac090c47f817486f130b7c8714aa8b1e paraview-2.4.4.tar.gz 45431692 diff --git a/sci-visualization/paraview/files/digest-paraview-2.6.0 b/sci-visualization/paraview/files/digest-paraview-2.6.0 deleted file mode 100644 index 12b539866e72..000000000000 --- a/sci-visualization/paraview/files/digest-paraview-2.6.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7df79f56097230e89666f16ad65590f5 ParaView-2.6.0.tar.gz 73577038 -RMD160 1667d19c73e6dffa4e659941aea618271b308b73 ParaView-2.6.0.tar.gz 73577038 -SHA256 f379f790589dedc10d8c894a9b458fcec15a81a20a785679a784d9568f15bcc6 ParaView-2.6.0.tar.gz 73577038 diff --git a/sci-visualization/paraview/files/digest-paraview-2.6.1 b/sci-visualization/paraview/files/digest-paraview-2.6.1 deleted file mode 100644 index e5d522c63604..000000000000 --- a/sci-visualization/paraview/files/digest-paraview-2.6.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 55b3b4a47c7c64e266425a9e7e413ac6 ParaView-2.6.1.tar.gz 75658607 -RMD160 0625a7008d1456cf82e1e20575323c26eba14e34 ParaView-2.6.1.tar.gz 75658607 -SHA256 29c0459b5d829ad8683ffad8ad9bcd4625024f00767ca2a5834542eb59886859 ParaView-2.6.1.tar.gz 75658607 diff --git a/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch b/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch deleted file mode 100644 index a345e9e872c7..000000000000 --- a/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- paraview-2.4.4/CMakeLists.txt 2006-06-29 09:01:13.000000000 -0400 -+++ paraview-2.4.4-new/CMakeLists.txt 2006-09-10 16:02:12.000000000 -0400 -@@ -382,7 +382,11 @@ - SET(VTKHDF5_INSTALL_NO_RUNTIME ${PV_INSTALL_NO_RUNTIME}) - SET(VTKHDF5_INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR}) - SET(PARAVIEW_HDF5_LIBRARIES vtkhdf5) -- SET(HDF5_ZLIB_HEADER "vtk_zlib.h") -+ IF(VTK_USE_SYSTEM_ZLIB) -+ SET(HDF5_ZLIB_HEADER "zlib.h") -+ ELSE(VTK_USE_SYSTEM_ZLIB) -+ SET(HDF5_ZLIB_HEADER "vtk_zlib.h") -+ ENDIF(VTK_USE_SYSTEM_ZLIB) - SET(HDF5_INCLUDE_DIR - ${ParaView_SOURCE_DIR}/Utilities/hdf5 - ${ParaView_BINARY_DIR}/Utilities/hdf5) diff --git a/sci-visualization/paraview/files/paraview-2.4.4-png.patch b/sci-visualization/paraview/files/paraview-2.4.4-png.patch deleted file mode 100644 index ba456a6395db..000000000000 --- a/sci-visualization/paraview/files/paraview-2.4.4-png.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- paraview-2.4.4/GUI/Widgets/CMakeLists.txt 2005-10-20 10:32:11.000000000 -0400 -+++ paraview-2.4.4-new/GUI/Widgets/CMakeLists.txt 2006-09-10 19:46:55.000000000 -0400 -@@ -397,7 +397,11 @@ - TARGET_LINK_LIBRARIES (KWWidgets vtkParallel) - ENDIF(VTK_USE_PARALLEL OR VTK_USE_PARALLEL_ISSET) - ENDIF(VTK_WRAP_TCL) --TARGET_LINK_LIBRARIES (KWWidgets vtkpng) -+IF(VTK_USE_SYSTEM_PNG) -+ TARGET_LINK_LIBRARIES (KWWidgets png) -+ELSE(VTK_USE_SYSTEM_PNG) -+ TARGET_LINK_LIBRARIES (KWWidgets vtkpng) -+ENDIF(VTK_USE_SYSTEM_PNG) - - # We need KWSys - diff --git a/sci-visualization/paraview/files/paraview-2.4.4-python-wrap.patch b/sci-visualization/paraview/files/paraview-2.4.4-python-wrap.patch deleted file mode 100644 index 3a59da5398d8..000000000000 --- a/sci-visualization/paraview/files/paraview-2.4.4-python-wrap.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naur paraview-2.4.4/Servers/Common/CMakeLists.txt paraview-2.4.4-new/Servers/Common/CMakeLists.txt ---- paraview-2.4.4/Servers/Common/CMakeLists.txt 2005-10-19 13:54:17.000000000 -0400 -+++ paraview-2.4.4-new/Servers/Common/CMakeLists.txt 2006-11-27 22:19:44.000000000 -0500 -@@ -131,6 +131,7 @@ - ADD_LIBRARY(vtkPVServerCommonPython ${ServerCommonPython_SRCS}) - TARGET_LINK_LIBRARIES (vtkPVServerCommonPython - vtkPVServerCommon vtkCommonPython) -+ INSTALL_TARGETS(${PV_INSTALL_LIB_DIR} vtkPVServerCommonPython) - ENDIF (PARAVIEW_WRAP_PYTHON) - - IF(NOT PV_INSTALL_NO_LIBRARIES) -diff -Naur paraview-2.4.4/Servers/ServerManager/CMakeLists.txt paraview-2.4.4-new/Servers/ServerManager/CMakeLists.txt ---- paraview-2.4.4/Servers/ServerManager/CMakeLists.txt 2006-03-02 17:03:15.000000000 -0500 -+++ paraview-2.4.4-new/Servers/ServerManager/CMakeLists.txt 2006-11-27 22:22:40.000000000 -0500 -@@ -236,6 +236,7 @@ - ADD_LIBRARY(vtkPVServerManagerPython ${ServerManagerPython_SRCS}) - TARGET_LINK_LIBRARIES (vtkPVServerManagerPython - vtkPVServerCommonPython vtkPVServerManager vtkCommonPython) -+ INSTALL_TARGETS(${PV_INSTALL_LIB_DIR} vtkPVServerManagerPython) - ENDIF (PARAVIEW_WRAP_PYTHON) - - SET(CFG_INIT "/${CMAKE_CFG_INTDIR}") diff --git a/sci-visualization/paraview/paraview-2.4.4.ebuild b/sci-visualization/paraview/paraview-2.4.4.ebuild deleted file mode 100644 index be1b1848a1d6..000000000000 --- a/sci-visualization/paraview/paraview-2.4.4.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-2.4.4.ebuild,v 1.4 2007/07/22 06:45:08 dberkholz Exp $ - -inherit distutils eutils flag-o-matic toolchain-funcs versionator python - -DESCRIPTION="ParaView is a powerful scientific data visualization application" -HOMEPAGE="http://www.paraview.org" -SRC_URI="http://www.${PN}.org/files/v2.4/${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~x86" -SLOT="0" -IUSE="mpi python hdf5 doc examples ffmpeg threads" -RDEPEND="hdf5? ( sci-libs/hdf5 ) - doc? ( app-doc/doxygen ) - mpi? ( sys-cluster/mpich ) - python? ( >=dev-lang/python-2.0 ) - ffmpeg? ( media-video/ffmpeg ) - media-libs/libpng - media-libs/jpeg - media-libs/tiff - dev-libs/expat - sys-libs/zlib - media-libs/freetype - virtual/opengl - dev-lang/tcl - dev-lang/tk - x11-libs/libXmu" - -DEPEND="${RDEPEND} - >=dev-util/cmake-2.4.3" - -PVLIBDIR="$(get_libdir)/${PN}-$(get_version_component_range 1-2)" -BUILDDIR="${WORKDIR}/build" - -src_unpack() { - unpack ${A} - mkdir "${BUILDDIR}" || die "Failed to generate build directory" - cd "${S}" - epatch "${FILESDIR}"/${P}-hdf5-zlib.patch - epatch "${FILESDIR}"/${P}-png.patch - epatch "${FILESDIR}"/${P}-python-wrap.patch -} - -src_compile() { - cd "${BUILDDIR}" - local CMAKE_VARIABLES="" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPV_INSTALL_LIB_DIR:PATH=/${PVLIBDIR}" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON" - - if use hdf5; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON" - fi - - if use mpi; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON" - fi - - if use python; then - python_version - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_WRAP_PYTHON:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_INCLUDE_PATH:PATH=/usr/include/python${PYVER}" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_LIBRARY:PATH=/usr/$(get_libdir)/libpython${PYVER}.so" - fi - - if use ffmpeg; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_FFMPEG_ENCODER:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_FFMPEG_ENCODER:BOOL=OFF" - fi - - use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_DOCUMENTATION:BOOL=ON" - - if use examples; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF" - fi - - if use threads; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=OFF" - fi - - cmake ${CMAKE_VARIABLES} ${S} \ - || die "cmake configuration failed" - - emake || die "emake failed" - -} - -src_install() { - cd ${BUILDDIR} - make DESTDIR=${D} install || die "make install failed" - - # set up the environment - echo "LDPATH=/usr/${PVLIBDIR}" >> ${T}/40${PN} - doenvd ${T}/40${PN} -} diff --git a/sci-visualization/paraview/paraview-2.6.0.ebuild b/sci-visualization/paraview/paraview-2.6.0.ebuild deleted file mode 100644 index 8c470ed15520..000000000000 --- a/sci-visualization/paraview/paraview-2.6.0.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-2.6.0.ebuild,v 1.2 2007/07/22 06:45:08 dberkholz Exp $ - -inherit distutils eutils flag-o-matic toolchain-funcs versionator python - -MY_PN="${PN/p/P}" -MY_PN="${MY_PN/v/V}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="ParaView is a powerful scientific data visualization application" -HOMEPAGE="http://www.paraview.org" -SRC_URI="http://www.${MY_PN}.org/files/v2.4/${MY_P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~x86" -SLOT="0" -IUSE="mpi python hdf5 doc examples ffmpeg threads" -RDEPEND="hdf5? ( sci-libs/hdf5 ) - doc? ( app-doc/doxygen ) - mpi? ( sys-cluster/mpich ) - python? ( >=dev-lang/python-2.0 ) - ffmpeg? ( media-video/ffmpeg ) - media-libs/libpng - media-libs/jpeg - media-libs/tiff - dev-libs/expat - sys-libs/zlib - media-libs/freetype - virtual/opengl - dev-lang/tcl - dev-lang/tk - x11-libs/libXmu" - -DEPEND="${RDEPEND} - >=dev-util/cmake-2.4.3" - -PVLIBDIR="$(get_libdir)/${MY_PN}-$(get_version_component_range 1-2)" -BUILDDIR="${WORKDIR}/build" -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - mkdir "${BUILDDIR}" || die "Failed to generate build directory" - cd "${S}" - epatch "${FILESDIR}"/${P}-hdf5-zlib.patch - epatch "${FILESDIR}"/${P}-include.patch -} - -src_compile() { - cd "${BUILDDIR}" - local CMAKE_VARIABLES="" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPV_INSTALL_LIB_DIR:PATH=/${PVLIBDIR}" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_RPATH:BOOL=NO" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON" - - if use hdf5; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON" - fi - - if use mpi; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON" - fi - - if use python; then - python_version - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_WRAP_PYTHON:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_INCLUDE_PATH:PATH=/usr/include/python${PYVER}" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_LIBRARY:PATH=/usr/$(get_libdir)/libpython${PYVER}.so" - fi - - if use ffmpeg; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_FFMPEG_ENCODER:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_FFMPEG_ENCODER:BOOL=OFF" - fi - - use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_DOCUMENTATION:BOOL=ON" - - if use examples; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF" - fi - - if use threads; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=OFF" - fi - - cmake ${CMAKE_VARIABLES} ${S} \ - || die "cmake configuration failed" - - emake || die "emake failed" - -} - -src_install() { - cd ${BUILDDIR} - make DESTDIR=${D} install || die "make install failed" - - # set up the environment - echo "LDPATH=/usr/${PVLIBDIR}" >> ${T}/40${PN} - doenvd ${T}/40${PN} -} diff --git a/sci-visualization/paraview/paraview-2.6.1.ebuild b/sci-visualization/paraview/paraview-2.6.1.ebuild deleted file mode 100644 index 809d094dd01f..000000000000 --- a/sci-visualization/paraview/paraview-2.6.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-2.6.1.ebuild,v 1.2 2007/07/22 06:45:08 dberkholz Exp $ - -inherit distutils eutils flag-o-matic toolchain-funcs versionator python - -MY_PN="${PN/p/P}" -MY_PN="${MY_PN/v/V}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="ParaView is a powerful scientific data visualization application" -HOMEPAGE="http://www.paraview.org" -SRC_URI="http://www.${MY_PN}.org/files/v2.6/${MY_P}.tar.gz" - -LICENSE="paraview" -KEYWORDS="~x86 ~amd64" -SLOT="0" -IUSE="mpi python hdf5 doc examples threads" -RDEPEND="hdf5? ( sci-libs/hdf5 ) - doc? ( app-doc/doxygen ) - mpi? ( virtual/mpi ) - python? ( >=dev-lang/python-2.0 ) - media-libs/libpng - media-libs/jpeg - media-libs/tiff - dev-libs/expat - sys-libs/zlib - media-libs/freetype - virtual/opengl - dev-lang/tcl - dev-lang/tk - x11-libs/libXmu" - -DEPEND="${RDEPEND} - >=dev-util/cmake-2.4.3" - -PVLIBDIR="$(get_libdir)/${MY_PN}-$(get_version_component_range 1-2)" -BUILDDIR="${WORKDIR}/build" -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - mkdir "${BUILDDIR}" || die "Failed to generate build directory" - cd "${S}" - epatch "${FILESDIR}"/${PN}-2.6.0-hdf5-zlib.patch - epatch "${FILESDIR}"/${PN}-2.6.0-include.patch -} - -src_compile() { - cd "${BUILDDIR}" - local CMAKE_VARIABLES="" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_BACKWARDS_COMPATIBILITY=2.2" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPV_INSTALL_LIB_DIR:PATH=/${PVLIBDIR}" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_RPATH:BOOL=NO" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DEXPAT_INCLUDE_DIR:PATH=/usr/include" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so" - - if use hdf5; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON" - fi - - if use mpi; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON" - fi - - if use python; then - python_version - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_WRAP_PYTHON:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_INCLUDE_PATH:PATH=/usr/include/python${PYVER}" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_LIBRARY:PATH=/usr/$(get_libdir)/libpython${PYVER}.so" - fi - - use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_DOCUMENTATION:BOOL=ON" - - if use examples; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF" - fi - - if use threads; then - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=ON" - else - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=OFF" - fi - - cmake ${CMAKE_VARIABLES} ${S} \ - || die "cmake configuration failed" - - emake || die "emake failed" - -} - -src_install() { - cd "${BUILDDIR}" - emake DESTDIR="${D}" install || die "make install failed" - - # set up the environment - echo "LDPATH=/usr/${PVLIBDIR}" >> ${T}/40${PN} - doenvd ${T}/40${PN} -} |