Commit 18c68f27 authored by boomanaiden154's avatar boomanaiden154 Committed by Leo
Browse files

community/vtk: upgrade to 9.1.0

parent bb123704
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> # Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de> # Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=vtk pkgname=vtk
pkgver=9.0.3 pkgver=9.1.0
pkgrel=1 pkgrel=0
pkgdesc="A software system for 3D computer graphics, image processing and visualization" pkgdesc="A software system for 3D computer graphics, image processing and visualization"
url="https://vtk.org/" url="https://vtk.org/"
# riscv64 blocked by libkml -> gdal -> pdal # riscv64 blocked by libkml -> gdal -> pdal
arch="all !riscv64" # s390x blocked by netcdf
arch="all !riscv64 !s390x"
license="BSD-3-Clause" license="BSD-3-Clause"
depends_dev=" depends_dev="
boost-dev boost-dev
...@@ -27,6 +28,9 @@ depends_dev=" ...@@ -27,6 +28,9 @@ depends_dev="
tk-dev tk-dev
unixodbc-dev unixodbc-dev
zlib-dev zlib-dev
netcdf-dev
hdf5-dev
curl-dev
" "
makedepends="$depends_dev makedepends="$depends_dev
cmake cmake
...@@ -38,6 +42,7 @@ source=" ...@@ -38,6 +42,7 @@ source="
https://www.vtk.org/files/release/${pkgver%.*}/VTKLargeData-$pkgver.tar.gz https://www.vtk.org/files/release/${pkgver%.*}/VTKLargeData-$pkgver.tar.gz
fix-build.patch fix-build.patch
fix-allvalues.patch fix-allvalues.patch
unistd.patch
" "
builddir="$srcdir/VTK-$pkgver" builddir="$srcdir/VTK-$pkgver"
options="!check" # No unit tests provided options="!check" # No unit tests provided
...@@ -57,7 +62,9 @@ build() { ...@@ -57,7 +62,9 @@ build() {
-DVTK_PYTHON_VERSION="3" \ -DVTK_PYTHON_VERSION="3" \
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \ -DVTK_CUSTOM_LIBRARY_SUFFIX="" \
-DVTK_INSTALL_INCLUDE_DIR=include/vtk \ -DVTK_INSTALL_INCLUDE_DIR=include/vtk \
-DCMAKE_BUILD_TYPE=None -DCMAKE_BUILD_TYPE=None \
-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=ON
cmake --build build cmake --build build
} }
...@@ -66,8 +73,10 @@ package() { ...@@ -66,8 +73,10 @@ package() {
} }
sha512sums=" sha512sums="
00528011f9206444d09fc6cea05c46930745bb70ea02be6244ab3eb510ae82af772157c025157b1761dc4c6a9ab538b57f814c03a708f30aa3598a421fdc6ae2 VTK-9.0.3.tar.gz b2c4be8795fa082e0776e6ffdb9a3fd88dbb235841a8369a34ebe26cf4c5fcb1610fcca987be314510629da3edc74ee76c0ce2cc88d5ef4b099ac550ac892b0a VTK-9.1.0.tar.gz
28ab2ecb32860d820f736e9ceb4345bcd03471f0a35b90f8c9ccbe05454f7a95a4de3c99bae2f4b9db87a27ef8fe50159cd283f5e921f4e6e69b06a50a0570c6 VTKData-9.0.3.tar.gz 134a8dd2b029d3a4959b601987e68a0caa5d050532655b6786b5b67dfc77d3639628b2b957511f8998e63864c247c501a11a6aed248c762f13e860d878778e1a VTKData-9.1.0.tar.gz
ebd6cb5f2935b77961dd68d0c0da2ea5ab900cec8c2eb641c785a604c65702e40a3e44d32bf3f2acfce9ec28dd89f41bf29f93a4f89d5b36c713f3743d7125b1 VTKLargeData-9.0.3.tar.gz 0760dfd4e92bbfec10fec9d783f548a8ca5464b1a1744dfa575d4ed4592756335dbfcf28249d2da964aa6b41933ff1ac98458e4a32484ee4bb91b5e7cfaa78c9 VTKLargeData-9.1.0.tar.gz
c814628a7ce9e1015cb02d4c9ad7ae7c6ad6d5d83b553f0c484414744488e4d0fa313924b4fd0f579a363352832347035147d1be3aca6f6a4885b6f9a1590b9e fix-build.patch c814628a7ce9e1015cb02d4c9ad7ae7c6ad6d5d83b553f0c484414744488e4d0fa313924b4fd0f579a363352832347035147d1be3aca6f6a4885b6f9a1590b9e fix-build.patch
87ffb0f1a243a10983e0313b3ca472361c74f0f5054be0eca898232f11a57369dfba80a836679a772eb641e1fdd43fa07ae7f85faecf3243b172c4206325dd9d fix-allvalues.patch" 87ffb0f1a243a10983e0313b3ca472361c74f0f5054be0eca898232f11a57369dfba80a836679a772eb641e1fdd43fa07ae7f85faecf3243b172c4206325dd9d fix-allvalues.patch
4054796e7f4cf78be3fbdf4d0befb79ff118e9a54e649da8a39b717e84ccb3d9dc05d8398de046447f789df5a8f3f84253866f3e59f7cbacfe981ffbbe5b7429 unistd.patch
"
--- ./ThirdParty/ioss/vtkioss/Ioss_FileInfo.C
+++ ./ThirdParty/ioss/vtkioss/Ioss_FileInfo.C.new
@@ -14,7 +14,7 @@
#include <tokenize.h>
#ifndef _WIN32
-#include <sys/unistd.h>
+#include <unistd.h>
#else
#include <direct.h>
#include <io.h>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment