aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-visualization/paraview/ChangeLog7
-rw-r--r--sci-visualization/paraview/Manifest7
-rw-r--r--sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch34
-rw-r--r--sci-visualization/paraview/metadata.xml1
-rw-r--r--sci-visualization/paraview/paraview-3.6.1-r2.ebuild198
5 files changed, 145 insertions, 102 deletions
diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index 2e3fa6cc2..810d23384 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.43 2009/11/24 04:05:41 markusle Exp $
+ 16 Dec 2009; François Bissey <f.r.bissey@massey.ac.nz>
+ paraview-3.6.1-r2.ebuild, +files/paraview-3.6.1-VTK-cg-path.patch,
+ metadata.xml:
+ Added a patch for nvidia-cg-toolkit detection, cmake-utils eclass use
+ update, flag sorting improvement and cleaning, OverView install
+ tweaks.
+
*paraview-3.6.1-r2 (14 Dec 2009)
14 Dec 2009; François Bissey <f.r.bissey@massey.ac.nz>
diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index a628ecefe..6b4416dd6 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1,4 @@
+AUX paraview-3.6.1-VTK-cg-path.patch 1080 RMD160 2de9562c21b9b4809e47ec954b0449acab4ce108 SHA1 c42ac9da88c7d1138cad608875788ebc4a5f6e3b SHA256 2366393c65e2dc22121c1419f913112435d7349ae9fb2ab2d04b5a359dcfe9c5
AUX paraview-3.6.1-assistant.patch 1122 RMD160 4f6ecb6bd6105b3b4a5a7848782cfe92e6741d18 SHA1 81b47c0a30336fbfb45d55f2480474c994d7f820 SHA256 62fbe1310ee8f0c2405ff12cfe9edb50100e654678e7fb823f78084f284130d3
AUX paraview-3.6.1-hdf-1.8.3.patch 2763 RMD160 f6a557565e75541e74b7052cdbd797e56e39f85b SHA1 d70f2b2715b3cebecb2db82d8c05b60fbb0220d1 SHA256 97247cc3fcb887de3bbf73a80ecda270c7f282802c365b21f20c518b76f2d3be
AUX paraview-3.6.1-install-fix.patch 6861 RMD160 4c65e8f95670a740b67146cbf943e8d6340e4857 SHA1 17d02c81884f5a1c56832a26026265e53aa18566 SHA256 aa991a873f3f692981df75ff20dc67d55ab38fc8de2ee3b11d05326419d4b2c1
@@ -7,6 +8,6 @@ AUX paraview-3.6.1-qt.patch 7544 RMD160 0396a656029cc1f9562e6b16eb739a8e7960565a
DIST paraview-3.6.1-openfoam-gpl-r120.patch.bz2 3180 RMD160 224b93d767864043c26eff12fe8843d82a9c8d54 SHA1 683d29cb4e05641928435685abcf96aa296e8794 SHA256 b05e3c9ce20d149ad40f7f3e9bc63f7e197f83eeae7fca6aad6e060c3d585fc4
DIST paraview-3.6.1-openfoam-r120.patch.bz2 58046 RMD160 dec759a9d0bebd83bee6d998cefb25ab0b74ead2 SHA1 83dad388583da99600876055424df3cf7f87b4a5 SHA256 047a1908b7995ef5569c8fcf0b4e2c7aa8239b11b08f0854bbee7cabf9ac026a
DIST paraview-3.6.1.tar.gz 27119089 RMD160 8892434c1096d18e83bce6c62f1a7b07a8be1f0a SHA1 aedbe3bf8d831816972129c185565b582e331b53 SHA256 df71c052a4f85a568d3e4a4b55abb257c976795492d3991e32fe4100c3fd8a4e
-EBUILD paraview-3.6.1-r2.ebuild 9906 RMD160 0255cd12e5f104ce9f15db8d30abb4c5539381ac SHA1 fe92bcf3719dea75388ab11cb0e425f7fd046072 SHA256 6fb769cc6c3d059398483447f81a3bc2f9faca6d3e286409cd620b5338d2334c
-MISC ChangeLog 9535 RMD160 4214ec15784bdd20e45d9d7f2d3ad3f575e4772d SHA1 a4d20f003835ba6e8c20a6009346d552a15b8135 SHA256 27303e9b558ba9c42f2bd2ad13a90a720f3e2197d7b0e43bbd089122cdc2ba0a
-MISC metadata.xml 710 RMD160 d22c72e1f5c4f4d59d0ef0543b2890a42d09d296 SHA1 b1145a2848b798e643e4eb3fce989b5e2abbd2b0 SHA256 1a42ee4b773757860692ed121839e1667e9062a3b477b0f807b0ffd6ccb3aeb6
+EBUILD paraview-3.6.1-r2.ebuild 10189 RMD160 4c0e7d3e3f55afb208c9f45332bcb69302538462 SHA1 91eb401e564df785893506289c678c2607e953eb SHA256 97dee931bd45eaeaf4cf099df30b48507022650b1d9d16c33556a4c268abe21f
+MISC ChangeLog 9828 RMD160 08ca0b83588f8678eed00799c133de440b4f5f19 SHA1 7e37631d35fbefd8bc1825a85a01d15644714fc4 SHA256 17bc848378b4eee38e064b92a21b9e7b93cddcb6f620b5a0a9ad8ad3d8cd85bc
+MISC metadata.xml 628 RMD160 a27ff3d06d5c3ef3ea82a587411bc6df8495d75f SHA1 72e937e264bd147756d7a365f969c7ffc70246ca SHA256 f5e67b1b6eee1304cb3e2e54b4671894dffa071a6a704d25ab78d450b4888b53
diff --git a/sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch b/sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch
new file mode 100644
index 000000000..352b57317
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch
@@ -0,0 +1,34 @@
+--- VTK/CMake/FindCg.cmake.orig 2005-10-05 04:25:51.000000000 +1300
++++ VTK/CMake/FindCg.cmake 2009-12-15 21:54:09.000000000 +1300
+@@ -82,6 +82,7 @@
+ FIND_PROGRAM( CG_COMPILER cgc
+ /usr/bin
+ /usr/local/bin
++ /opt/nvidia-cg-toolkit/bin
+ DOC "The Cg Compiler"
+ )
+ GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH)
+@@ -89,6 +90,7 @@
+ FIND_PATH( CG_INCLUDE_PATH Cg/cg.h
+ /usr/include
+ /usr/local/include
++ /opt/nvidia-cg-toolkit/include
+ ${CG_COMPILER_SUPER_DIR}/include
+ DOC "The directory where Cg/cg.h resides"
+ )
+@@ -98,6 +100,7 @@
+ /usr/lib
+ /usr/local/lib64
+ /usr/local/lib
++ /opt/nvidia-cg-toolkit/lib
+ ${CG_COMPILER_SUPER_DIR}/lib64
+ ${CG_COMPILER_SUPER_DIR}/lib
+ DOC "The Cg runtime library"
+@@ -108,6 +111,7 @@
+ /usr/lib
+ /usr/local/lib64
+ /usr/local/lib
++ /opt/nvidia-cg-toolkit/lib
+ ${CG_COMPILER_SUPER_DIR}/lib64
+ ${CG_COMPILER_SUPER_DIR}/lib
+ DOC "The Cg runtime library"
diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index 994985733..af944324b 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -9,7 +9,6 @@
<use>
<flag name='plugins'>Build and install additional plugins</flag>
<flag name='cg'>Use nvidia's cg shaders in the shipped vtk</flag>
- <flag name='gl2ps'>Enable the usage of x11-libs/gl2ps in the shipped vtk</flag>
<flag name='streaming'>Build and install the StreamingParaView application and its associated plugin</flag>
<flag name='overview'>Build and install the experimental OverView application and its complusory plugins</flag>
</use>
diff --git a/sci-visualization/paraview/paraview-3.6.1-r2.ebuild b/sci-visualization/paraview/paraview-3.6.1-r2.ebuild
index 2c58b618d..94381bb82 100644
--- a/sci-visualization/paraview/paraview-3.6.1-r2.ebuild
+++ b/sci-visualization/paraview/paraview-3.6.1-r2.ebuild
@@ -4,7 +4,7 @@
EAPI="2"
-inherit distutils eutils flag-o-matic cmake-utils toolchain-funcs versionator python qt4
+inherit distutils eutils flag-o-matic toolchain-funcs versionator python qt4 cmake-utils
MAIN_PV=$(get_major_version)
MAJOR_PV=$(get_version_component_range 1-2)
@@ -18,7 +18,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz
LICENSE="paraview GPL-2"
KEYWORDS="~x86 ~amd64"
SLOT="0"
-IUSE="mpi python doc examples qt4 plugins overview streaming gl2ps mysql postgres odbc cg"
+IUSE="mpi python doc examples qt4 plugins overview streaming mysql postgres odbc cg"
# the database backends are exposed in some of the plugins.
# wether gl2ps and cg are exposed in paraview is a good question.
RDEPEND="sci-libs/hdf5
@@ -30,10 +30,11 @@ RDEPEND="sci-libs/hdf5
x11-libs/qt-qt3support:4
x11-libs/qt-assistant:4
x11-libs/qt-opengl:4 )
- gl2ps? ( x11-libs/gl2ps )
- mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-base )
- odbc? ( dev-db/unixODBC )
+ overview? (
+ mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-base )
+ odbc? ( dev-db/unixODBC )
+ )
cg? ( media-gfx/nvidia-cg-toolkit )
dev-libs/libxml2
media-libs/libpng
@@ -50,8 +51,7 @@ RDEPEND="sci-libs/hdf5
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
- overview? ( >=dev-libs/boost-1.37 )
- >=dev-util/cmake-2.6.4"
+ overview? ( >=dev-libs/boost-1.37 )"
PVLIBDIR="$(get_libdir)/${PN}-${MAJOR_PV}"
S="${WORKDIR}"/ParaView${MAIN_PV}
@@ -64,6 +64,13 @@ pkg_setup() {
einfo "if you really want overview"
die
fi
+
+ if( !( use overview ) && ( ( use mysql ) || ( use postgres ) || ( use odbc ) ) ); then
+ einfo "The database backends for mysql, postgresql and odbc"
+ einfo "are only useful with overview as far as I can tell."
+ einfo "Therefore these backend are currently disabled."
+ einfo "If you have a use for them inside paraview let us know."
+ fi
}
src_prepare() {
@@ -73,6 +80,7 @@ src_prepare() {
epatch "${DISTDIR}/${P}-openfoam-r120.patch.bz2"
epatch "${DISTDIR}/${P}-openfoam-gpl-r120.patch.bz2"
epatch "${FILESDIR}/${P}-no-doc-finder.patch"
+ epatch "${FILESDIR}/${P}-VTK-cg-path.patch"
has_version '>=sci-libs/hdf5-1.8.0' epatch "${FILESDIR}"/${P}-hdf-1.8.3.patch
@@ -91,115 +99,113 @@ src_configure(){
# we do not depend on an external sci-libs/proj - doing so is incompatible
# with building shared libraries. But we can use gsl or pthreads.
# Building vtk with the boost library is only required if you want to build OverView and its plugins.
- mycmakeargs="${mycmakeargs}
- -DPV_INSTALL_LIB_DIR:PATH=${PVLIBDIR}
- -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON
- -DBUILD_SHARED_LIBS:BOOL=ON
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_RPATH:BOOL=YES
- -DCMAKE_INSTALL_PREFIX:PATH=/usr
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF
- -DCMAKE_USE_PTHREADS:BOOL=ON
- -DCMAKE_COLOR_MAKEFILE:BOOL=TRUE
- -DEXPAT_INCLUDE_DIR:PATH=/usr/include
- -DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so
- -DOPENGL_gl_LIBRARY=/usr/$(get_libdir)/libGL.so
- -DOPENGL_glu_LIBRARY=/usr/$(get_libdir)/libGLU.so
- -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON
- -DVTK_USE_SYSTEM_JPEG:BOOL=ON
- -DVTK_USE_SYSTEM_PNG:BOOL=ON
- -DVTK_USE_SYSTEM_TIFF:BOOL=ON
- -DVTK_USE_SYSTEM_ZLIB:BOOL=ON
- -DVTK_USE_SYSTEM_EXPAT:BOOL=ON
- -DVTK_USE_RPATH:BOOL=OFF
- -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON
- -DVTK_USE_OFFSCREEN=TRUE
- -DVTK_USE_GEOVIS:BOOL=ON
- -DVTK_USE_GLSL_SHADERS:BOOL=ON
- -DVTK_USE_GUISUPPORT:BOOL=ON
- -DVTK_USE_INFOVIS:BOOL=ON
- -DVTK_USE_METAIO:BOOL=ON
- -DVTK_USE_VIEWS:BOOL=ON
+ local mycmakeargs+=(
+ "-DPV_INSTALL_LIB_DIR:PATH=${PVLIBDIR}"
+ "-DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON"
+ "-DBUILD_SHARED_LIBS:BOOL=ON"
+ "-DBUILD_TESTING:BOOL=OFF"
+ "-DCMAKE_SKIP_RPATH:BOOL=YES"
+ "-DCMAKE_INSTALL_PREFIX:PATH=/usr"
+ "-DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF"
+ "-DCMAKE_USE_PTHREADS:BOOL=ON"
+ "-DCMAKE_COLOR_MAKEFILE:BOOL=TRUE"
+ "-DEXPAT_INCLUDE_DIR:PATH=/usr/include"
+ "-DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so"
+ "-DOPENGL_gl_LIBRARY=/usr/$(get_libdir)/libGL.so"
+ "-DOPENGL_glu_LIBRARY=/usr/$(get_libdir)/libGLU.so"
+ "-DVTK_USE_SYSTEM_FREETYPE:BOOL=ON"
+ "-DVTK_USE_SYSTEM_JPEG:BOOL=ON"
+ "-DVTK_USE_SYSTEM_PNG:BOOL=ON"
+ "-DVTK_USE_SYSTEM_TIFF:BOOL=ON"
+ "-DVTK_USE_SYSTEM_ZLIB:BOOL=ON"
+ "-DVTK_USE_SYSTEM_EXPAT:BOOL=ON"
+ "-DVTK_USE_RPATH:BOOL=OFF"
+ "-DVTK_USE_SYSTEM_LIBXML2:BOOL=ON"
+ "-DVTK_USE_OFFSCREEN=TRUE"
+ "-DVTK_USE_GEOVIS:BOOL=ON"
+ "-DVTK_USE_GL2PS:BOOL=ON"
+ "-DVTK_USE_GLSL_SHADERS:BOOL=ON"
+ "-DVTK_USE_GUISUPPORT:BOOL=ON"
+ "-DVTK_USE_INFOVIS:BOOL=ON"
+ "-DVTK_USE_METAIO:BOOL=ON"
+ "-DVTK_USE_VIEWS:BOOL=ON"
$(cmake-utils_use cg VTK_USE_CG_SHADERS)
- $(cmake-utils_use odbc VTK_USE_ODBC)
- $(cmake-utils_use mysql VTK_USE_MYSQL)
- $(cmake-utils_use mysql XDMF_USE_MYSQL)
- $(cmake-utils_use postgres VTK_USE_POSTGRES)
$(cmake-utils_use streaming PARAVIEW_BUILD_StreamingParaView)
$(cmake-utils_use mpi PARAVIEW_USE_MPI)
- $(cmake-utils_use gl2ps VTK_USE_GL2PS)
$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
+ $(cmake-utils_use qt4 PARAVIEW_BUILD_QT_GUI)
$(cmake-utils_use_build doc DOCUMENTATION)
- $(cmake-utils_use_build examples EXAMPLES)"
+ $(cmake-utils_use_build examples EXAMPLES)
+ )
# Building OverView requires boost and some plugins
# VTK_USE_N_WAY_ARRAYS is needed for the Array and TableToSparseArrayPanel plugins,
# it also probably enables some functionality in the Infovis plugin.
# Plugins in the first list are both required and enabled by OverView
if use overview; then
- mycmakeargs="${mycmakeargs}
- -DVTK_USE_BOOST:BOOL=ON
- -DVTK_USE_N_WAY_ARRAYS:BOOL=ON
- -DPARAVIEW_BUILD_OverView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientGraphView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientGraphViewFrame:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientRecordView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientTableView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientTreeView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_Infovis:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_SQLDatabaseGraphSourcePanel:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_SQLDatabaseTableSourcePanel:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_TableToGraphPanel:BOOL=ON"
- # The following plugins needs overview to build but are not needed to build OverView.
- use plugins && mycmakeargs="${mycmakeargs}
- -DPARAVIEW_BUILD_PLUGIN_Array:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientGeoView2D:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientGeoView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_SplitTableFieldPanel:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ThresholdTablePanel:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_StatisticsToolbar:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_ClientHierarchyView:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_CommonToolbar:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_TableToSparseArrayPanel:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_GraphLayoutFilterPanel:BOOL=ON"
+ mycmakeargs+=(
+ "-DVTK_USE_BOOST:BOOL=ON"
+ "-DVTK_USE_N_WAY_ARRAYS:BOOL=ON"
+ "-DPARAVIEW_BUILD_OverView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientGraphView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientGraphViewFrame:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientRecordView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientTableView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientTreeView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_Infovis:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_SQLDatabaseGraphSourcePanel:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_SQLDatabaseTableSourcePanel:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_TableToGraphPanel:BOOL=ON"
+ $(cmake-utils_use odbc VTK_USE_ODBC)
+ $(cmake-utils_use mysql VTK_USE_MYSQL)
+ $(cmake-utils_use mysql XDMF_USE_MYSQL)
+ $(cmake-utils_use postgres VTK_USE_POSTGRES)
+ )
+ # The following plugins need overview to build but are not needed to build OverView.
+ use plugins && mycmakeargs+=(
+ "-DPARAVIEW_BUILD_PLUGIN_Array:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientGeoView2D:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientGeoView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_SplitTableFieldPanel:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ThresholdTablePanel:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_StatisticsToolbar:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_ClientHierarchyView:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_CommonToolbar:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_TableToSparseArrayPanel:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_GraphLayoutFilterPanel:BOOL=ON"
+ )
fi
# FIXME: compiling against ffmpeg is currently broken
- mycmakeargs="${mycmakeargs}
- -DVTK_USE_FFMPEG_ENCODER:BOOL=OFF"
+ mycmakeargs+=("-DVTK_USE_FFMPEG_ENCODER:BOOL=OFF")
# May be if someone is interested we should test this
# source include a stub of visit but it tries to find an installed copy of visit.
# It may just need to be pointed there manually
- mycmakeargs="${mycmakeargs}
- -DPARAVIEW_BUILD_PLUGIN_VisItReaderPlugin:BOOL=OFF"
+ mycmakeargs+=("-DPARAVIEW_BUILD_PLUGIN_VisItReaderPlugin:BOOL=OFF")
# PointSprite: Does it require mpi (seems to build without)? say it really should need cmake>2.7 .
if use plugins; then
- mycmakeargs="${mycmakeargs}
- -DPARAVIEW_BUILD_PLUGIN_CosmoFilters:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_Moments,:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_Prism:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=ON
- -DPARAVIEW_BUILD_PLUGIN_netCDFReaders:BOOL=ON
+ mycmakeargs+=(
+ "-DPARAVIEW_BUILD_PLUGIN_CosmoFilters:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_Moments,:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_Prism:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=ON"
+ "-DPARAVIEW_BUILD_PLUGIN_netCDFReaders:BOOL=ON"
$(cmake-utils_use examples PointSpritePlugin_BUILD_EXAMPLES)
- $(cmake-utils_use python PARAVIEW_BUILD_PLUGIN_pvblot)"
-
+ $(cmake-utils_use python PARAVIEW_BUILD_PLUGIN_pvblot)
+ )
# note about -DPARAVIEW_BUILD_PLUGIN_Streaming
# it is enabled if the streaming application is built - off otherwise.
fi
- if use qt4; then
- mycmakeargs="${mycmakeargs}
- -DPARAVIEW_BUILD_QT_GUI:BOOL=ON
- -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer
- -DVTK_USE_QT:BOOL=ON
- -DVTK_USE_QVTK_QTOPENGL:BOOL=ON"
- else
- mycmakeargs="${mycmakeargs}
- -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF"
- fi
+ # Extra options to build the QT4 client
+ use qt4 && mycmakeargs+=(
+ "-DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer"
+ "-DVTK_USE_QT:BOOL=ON"
+ "-DVTK_USE_QVTK_QTOPENGL:BOOL=ON"
+ )
# we also need to append -DH5Tget_array_dims_vers=1 to our CFLAGS
append-flags -DH5_USE_16_API
@@ -210,10 +216,6 @@ src_configure(){
use overview && cmake-utils_src_configure
}
-src_compile() {
- cmake-utils_src_compile
-}
-
src_install() {
cmake-utils_src_install
# rename the assistant wrapper
@@ -233,9 +235,9 @@ src_install() {
dolib.so "${CMAKE_BUILD_DIR}"/bin/libOverViewCore.so
mkdir "${D}/usr/${PVLIBDIR}"/OverView-startup
cd "${CMAKE_BUILD_DIR}"/bin/OverView-startup
- for i in ./* ;
- do dosym /usr/"${PVLIBDIR}"/"$i" "/usr/${PVLIBDIR}"/OverView-startup/"$i" ;
- done
+ insinto "/usr/${PVLIBDIR}"/OverView-startup
+ insopts -m0755
+ doins lib*.so
dosym /usr/"${PVLIBDIR}"/OverView-real /usr/bin/OverView
newicon "${S}"/Applications/OverView/Icon.png overview.png
make_desktop_entry OverView "OverView" overview.png