diff options
Diffstat (limited to 'libraries/VTK/VTK.SlackBuild')
-rw-r--r-- | libraries/VTK/VTK.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild index 68dce971fe0ab..f63d33d452f32 100644 --- a/libraries/VTK/VTK.SlackBuild +++ b/libraries/VTK/VTK.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=VTK VERSION=${VERSION:-7.1.0} SHORT_VERSION=${SHORT_VERSION:-7.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,6 +70,9 @@ wrap_python="" ; [ "${PYTHON:-yes}" != "no" ] && wrap_python="-DVTK_WRAP_PYTH wrap_java="" ; [ "${JAVA:-no}" != "no" ] && wrap_java="-DVTK_WRAP_JAVA=true" wrap_tcl="" ; [ "${TCL:-yes}" != "no" ] && wrap_tcl="-DVTK_WRAP_TCL=true" +# Also +vtk_qt_version=""; [ "${VTKQT5:-no}" = "yes" ] && vtk_qt_version="-DVTK_QT_VERSION=5" + set -e rm -rf $PKG @@ -115,6 +118,7 @@ cd build $wrap_python \ $wrap_java \ $wrap_tcl \ + $vtk_qt_version \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \ -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ |