pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vtk graphics/vtk: add Qt support (on by default)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d33ba0771a59
branches:  trunk
changeset: 452307:d33ba0771a59
user:      thor <thor%pkgsrc.org@localhost>
date:      Sat May 08 13:55:19 2021 +0000

description:
graphics/vtk: add Qt support (on by default)

It is an option because VTK is usable for some without it, but it
is strongly recommened to keep it on, as it is common for interactive
software seems to use VTK via Qt.

diffstat:

 graphics/vtk/Makefile   |   5 ++++-
 graphics/vtk/PLIST      |  46 +++++++++++++++++++++++++++++++++++++++++++++-
 graphics/vtk/options.mk |  19 +++++++++++++++++++
 3 files changed, 68 insertions(+), 2 deletions(-)

diffs (102 lines):

diff -r 7de92dd77965 -r d33ba0771a59 graphics/vtk/Makefile
--- a/graphics/vtk/Makefile     Sat May 08 13:21:17 2021 +0000
+++ b/graphics/vtk/Makefile     Sat May 08 13:55:19 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2021/05/04 14:48:34 prlw1 Exp $
+# $NetBSD: Makefile,v 1.15 2021/05/08 13:55:19 thor Exp $
 
 DISTNAME=      VTK-9.0.1
 PKGNAME=       ${DISTNAME:S/VTK/vtk/}
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  https://www.vtk.org/files/release/9.0/
 
@@ -42,6 +43,8 @@
 # https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933
 CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES
 
+.include "options.mk"
+
 .include "../../archivers/lz4/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/hdf5/buildlink3.mk"
diff -r 7de92dd77965 -r d33ba0771a59 graphics/vtk/PLIST
--- a/graphics/vtk/PLIST        Sat May 08 13:21:17 2021 +0000
+++ b/graphics/vtk/PLIST        Sat May 08 13:55:19 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/05/04 14:48:34 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/05/08 13:55:19 thor Exp $
 bin/vtkProbeOpenGLVersion-9.0
 include/vtk-9.0/DICOMAppHelper.h
 include/vtk-9.0/DICOMCMakeConfig.h
@@ -3093,3 +3093,47 @@
 share/licenses/VTK/vtkmetaio/License.txt
 share/licenses/VTK/vtksys/Copyright.txt
 share/licenses/VTK/vtkverdict/Copyright.txt
+${PLIST.qt}include/vtk-9.0/QFilterTreeProxyModel.h
+${PLIST.qt}include/vtk-9.0/QVTKApplication.h
+${PLIST.qt}include/vtk-9.0/QVTKInteractorAdapter.h
+${PLIST.qt}include/vtk-9.0/QVTKInteractor.h
+${PLIST.qt}include/vtk-9.0/QVTKOpenGLNativeWidget.h
+${PLIST.qt}include/vtk-9.0/QVTKOpenGLStereoWidget.h
+${PLIST.qt}include/vtk-9.0/QVTKOpenGLWindow.h
+${PLIST.qt}include/vtk-9.0/QVTKRenderWindowAdapter.h
+${PLIST.qt}include/vtk-9.0/QVTKWin32Header.h
+${PLIST.qt}include/vtk-9.0/vtkEventQtSlotConnect.h
+${PLIST.qt}include/vtk-9.0/vtkGUISupportQtModule.h
+${PLIST.qt}include/vtk-9.0/vtkQImageToImageSource.h
+${PLIST.qt}include/vtk-9.0/vtkQtAbstractModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtAnnotationLayersModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtAnnotationView.h
+${PLIST.qt}include/vtk-9.0/vtkQtConnection.h
+${PLIST.qt}include/vtk-9.0/vtkQtDebugLeaksModel.h
+${PLIST.qt}include/vtk-9.0/vtkQtDebugLeaksView.h
+${PLIST.qt}include/vtk-9.0/vtkQtInitialization.h
+${PLIST.qt}include/vtk-9.0/vtkQtLabelRenderStrategy.h
+${PLIST.qt}include/vtk-9.0/vtkQtListView.h
+${PLIST.qt}include/vtk-9.0/vtkQtRecordView.h
+${PLIST.qt}include/vtk-9.0/vtkQtStringToImage.h
+${PLIST.qt}include/vtk-9.0/vtkQtTableModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtTableRepresentation.h
+${PLIST.qt}include/vtk-9.0/vtkQtTableView.h
+${PLIST.qt}include/vtk-9.0/vtkQtTreeModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtTreeRingLabelMapper.h
+${PLIST.qt}include/vtk-9.0/vtkQtTreeView.h
+${PLIST.qt}include/vtk-9.0/vtkQtView.h
+${PLIST.qt}include/vtk-9.0/vtkQWidgetRepresentation.h
+${PLIST.qt}include/vtk-9.0/vtkQWidgetTexture.h
+${PLIST.qt}include/vtk-9.0/vtkQWidgetWidget.h
+${PLIST.qt}include/vtk-9.0/vtkRenderingQtModule.h
+${PLIST.qt}include/vtk-9.0/vtkViewsQtModule.h
+${PLIST.qt}lib/libvtkGUISupportQt-9.0.so
+${PLIST.qt}lib/libvtkGUISupportQt-9.0.so.1
+${PLIST.qt}lib/libvtkGUISupportQt-9.0.so.9.0.1
+${PLIST.qt}lib/libvtkRenderingQt-9.0.so
+${PLIST.qt}lib/libvtkRenderingQt-9.0.so.1
+${PLIST.qt}lib/libvtkRenderingQt-9.0.so.9.0.1
+${PLIST.qt}lib/libvtkViewsQt-9.0.so
+${PLIST.qt}lib/libvtkViewsQt-9.0.so.1
+${PLIST.qt}lib/libvtkViewsQt-9.0.so.9.0.1
diff -r 7de92dd77965 -r d33ba0771a59 graphics/vtk/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vtk/options.mk   Sat May 08 13:55:19 2021 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2021/05/08 13:55:19 thor Exp $
+PKG_OPTIONS_VAR=       PKG_OPTIONS.vtk
+
+PKG_SUPPORTED_OPTIONS= qt
+PKG_SUGGESTED_OPTIONS= qt
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   qt
+.if !empty(PKG_OPTIONS:Mqt)
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=NO
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_RenderingQt=YES
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_ViewsQt=YES
+PLIST.qt=      yes
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DVTK_GROUP_ENABLE_Qt=NO
+.endif



Home | Main Index | Thread Index | Old Index