commit:     b195298086d280b2d45a328fd13bdbcaeda25d28
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 14 01:34:54 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 02:33:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1952980

sci-visualization/paraview: maintenance

 - remove "coprocessing" USE flag, this had been rendered useless by a
   previous maintenance commit/version bump

 - remove "development" USE flag, we cannot build without

 - remove some seamingly superfluous configuration options

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.9.0.ebuild | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild 
b/sci-visualization/paraview/paraview-5.9.0.ebuild
index 25e6990f5b5..826f9ea31de 100644
--- a/sci-visualization/paraview/paraview-5.9.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz";
 LICENSE="paraview GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql 
nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+IUSE="boost cg doc examples ffmpeg mpi mysql nvcontrol openmp offscreen 
plugins python +qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"
 
@@ -29,6 +29,10 @@ REQUIRED_USE="
        qt5? ( sqlite )
        ?? ( offscreen qt5 )"
 
+# TODO: Verify that these two are not needed any more for the catalyst
+# module:
+#  - dev-python/PyQt5
+#  - dev-qt/qtgui:5[-gles2-only]
 RDEPEND="
        app-arch/lz4
        dev-libs/expat
@@ -52,10 +56,6 @@ RDEPEND="
        x11-libs/libXext
        x11-libs/libXmu
        x11-libs/libXt
-       coprocessing? (
-               dev-python/PyQt5
-               dev-qt/qtgui:5[-gles2-only]
-       )
        ffmpeg? ( media-video/ffmpeg )
        mpi? ( virtual/mpi[cxx,romio] )
        mysql? ( dev-db/mysql-connector-c )
@@ -135,21 +135,9 @@ src_configure() {
                -DPARAVIEW_BUILD_SHARED_LIBS=ON
                -DCMAKE_VERBOSE_MAKEFILE=ON
 
-               -DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
-
-               -DVTK_USE_OGGTHEORA_ENCODER=TRUE
-
-               -DVTK_GROUP_ENABLE_Imaging=YES
-               -DVTK_GROUP_ENABLE_Rendering=YES
-               -DVTK_GROUP_ENABLE_StandAlone=YES
-               -DVTK_GROUP_ENABLE_Views=YES
-
                # boost
                -DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
 
-               # coprocessing
-               -DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES 
NO)"
-
                # doc
                -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
 
@@ -169,7 +157,6 @@ src_configure() {
                -DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
 
                # offscreen
-               -DVTK_USE_X="$(usex !offscreen)"
                -DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
                -DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
 
@@ -181,7 +168,6 @@ src_configure() {
                -DPARAVIEW_USE_PYTHON="$(usex python)"
 
                # qt5
-               -DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
                -DPARAVIEW_USE_QT="$(usex qt5)"
                -DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
                -DVTK_USE_NVCONTROL="$(usex nvcontrol)"

Reply via email to