aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2016-11-17 20:54:08 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-19 07:31:18 +0700
commit5d9e349319e5f20000643e301a941e524862ab57 (patch)
treea11dd468477042436641806e88c0f8b24100a280 /libraries
parente3fcce415691529bd614a13231d44bed685776e0 (diff)
libraries/VTK: Updated for version 7.1.0. New maintainer
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/VTK/VTK.SlackBuild20
-rw-r--r--libraries/VTK/VTK.info12
2 files changed, 13 insertions, 19 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index 88497e9a2afa7..68dce971fe0ab 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -4,6 +4,8 @@
# Copyright 2013,2014 Youjie Zhou <jmpopush@gmail.com>
# All rights reserved.
+# Copyright 2016 Christoph Willing Brisbane, Australia
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,15 +24,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# 2014-02-14 Merge lib64 patch from Christoph Willing <c.willing@uq.edu.au>
-# 2014-02-16 Update to 6.1.0
-# 2014-11-16 Support VTK features
-# 2015-12-12 Update to 6.3.0, use external deps, move to /opt
-# 2016-07-14 Move back to /usr
PRGNAM=VTK
-VERSION=${VERSION:-6.3.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-7.1.0}
+SHORT_VERSION=${SHORT_VERSION:-7.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -89,8 +87,6 @@ find -L . \
# patch CMakefile first for lib64 issue
patch -p0 <$CWD/patch-handle-64bit.diff
-# patch for gdal-2.x (gdal is an optional dep) - thanks to Arch
-patch -p1 <$CWD/patch-gdal2.diff
# -DVTK_CUSTOM_LIBRARY_SUFFIX and -DVTK_INSTALL_INCLUDE_DIR
# See https://bugs.archlinux.org/task/43378?project=5&cat[0]=33&string=vtk
@@ -148,12 +144,10 @@ cp -a \
CONTRIBUTING.md Copyright.txt README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
mv \
- $PKG/usr/share/doc/vtk-6.3/verdict/ \
+ $PKG/usr/share/doc/vtk-$SHORT_VERSION/verdict/ \
$PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
rm -rf $PKG/usr/share/doc
-rm -rf $PKG/usr/share/cmake
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/VTK/VTK.info b/libraries/VTK/VTK.info
index 48ad1222ff140..a86e55b2b4763 100644
--- a/libraries/VTK/VTK.info
+++ b/libraries/VTK/VTK.info
@@ -1,10 +1,10 @@
PRGNAM="VTK"
-VERSION="6.3.0"
-HOMEPAGE="http://www.vtk.org/VTK/project/project.html"
-DOWNLOAD="http://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz"
-MD5SUM="0231ca4840408e9dd60af48b314c5b6d"
+VERSION="7.1.0"
+HOMEPAGE="http://www.vtk.org"
+DOWNLOAD="http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz"
+MD5SUM="a7e814c1db503d896af72458c2d0228f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Youjie Zhou"
-EMAIL="jmpopush@gmail.com"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"