aboutsummaryrefslogtreecommitdiff
path: root/libraries/VTK/VTK.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/VTK/VTK.SlackBuild')
-rw-r--r--libraries/VTK/VTK.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index ff7d533818..8214625954 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2013,2014 Youjie Zhou <jmpopush@gmail.com>
# All rights reserved.
-# Copyright 2016-2024 Christoph Willing, Sydney Australia
+# Copyright 2016-2025 Christoph Willing, Sydney Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=VTK
-VERSION=${VERSION:-9.4.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-9.4.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,6 +86,12 @@ netcdf=""
#if test -e /usr/include/gl2ps.h ; then gl2ps="-DVTK_USE_SYSTEM_GL2PS:BOOL=ON" ; else gl2ps="" ; fi
gl2ps=""
+qtversion="-DVTK_QT_VERSION=Auto"
+if [ "$QTVERSION" = "5" ]; then
+ qtversion="-DVTK_QT_VERSION=5"
+elif [ "$QTVERSION" = "6" ]; then
+ qtversion="-DVTK_QT_VERSION=6"
+fi
set -e
@@ -125,10 +131,10 @@ cd build
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DBUILD_SHARED_LIBS=ON \
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \
- -DVTK_INSTALL_INCLUDE_DIR:PATH=include/VTK \
-DVTK_USE_TK=ON \
-DVTK_BUILD_EXAMPLES=ON \
-DINSTALL_DOCS=ON \
+ $qtversion \
$group_imaging \
$group_mpi \
$group_qt \