summaryrefslogtreecommitdiffstats
path: root/libraries/VTK
diff options
context:
space:
mode:
author Christoph Willing2023-04-16 01:45:05 +0200
committer Willy Sudiarto Raharjo2023-04-22 06:38:37 +0200
commit4f43730a49d893d6e50cca03eca2f8f4c5e48b7b (patch)
tree1c8e79b329d69d3d87909c45c5c0a8c474b11b6b /libraries/VTK
parent37e0acdd069dd6a69bbd20484adb5aafbef5edc5 (diff)
downloadslackbuilds-4f43730a49d893d6e50cca03eca2f8f4c5e48b7b.tar.gz
libraries/VTK: Update README & options
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/VTK')
-rw-r--r--libraries/VTK/README8
-rwxr-xr-x[-rw-r--r--]libraries/VTK/VTK.SlackBuild2
2 files changed, 7 insertions, 3 deletions
diff --git a/libraries/VTK/README b/libraries/VTK/README
index 8ebffefc04..b352886970 100644
--- a/libraries/VTK/README
+++ b/libraries/VTK/README
@@ -17,11 +17,15 @@ packages, available from SlackBuilds.org, are:
You can enable a number of optional features by passing variables to
the script (VAR=yes|no ./VTK.SlackBuild):
-IMAGING=yes|no (default: no)
+IMAGING=yes|no (default: yes)
MPI=yes|no (default: no), requires openmpi
TK=yes|no (default: yes)
-VIEWS=yes|no (default: no)
+VIEWS=yes|no (default: yes)
WEB=yes|no (default: no), requires python3-twisted
JAVA=yes|no (default: no), requires jdk
PYTHON=yes|no (default: yes)
QT=yes|no (default: yes)
+
+NB. Some combinations of options are known to result in compilation
+errors if the build machine already has VTK installed. Please remove
+any VTK installation before running the SlackBuild.
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index d1ca10671a..4c73b7828d 100644..100755
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -69,7 +69,7 @@ fi
group_imaging="" ; [ "${IMAGING:-yes}" != "no" ] && group_imaging="-DVTK_GROUP_ENABLE_Imaging=YES"
group_mpi="" ; [ "${MPI:-no}" != "no" ] && group_mpi="-DVTK_GROUP_ENABLE_MPI=YES -DVTK_USE_MPI=yes"
group_qt="" ; [ "${QT:-yes}" != "no" ] && group_qt="-DVTK_GROUP_ENABLE_Qt=YES"
-group_views="" ; [ "${VIEWS:-no}" != "no" ] && group_views="-DVTK_GROUP_ENABLE_Views=YES"
+group_views="" ; [ "${VIEWS:-yes}" != "no" ] && group_views="-DVTK_GROUP_ENABLE_Views=YES"
group_web="" ; [ "${WEB:-no}" != "no" ] && group_web="-DVTK_GROUP_ENABLE_Web=YES"
wrap_java="" ; [ "${JAVA:-no}" != "no" ] && wrap_java="-DVTK_WRAP_JAVA=true"
wrap_python="" ; [ "${PYTHON:-yes}" != "no" ] && wrap_python="-DVTK_WRAP_PYTHON=true"