summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2019-07-07 12:32:44 +0200
committerMichel Zou2019-07-07 12:32:44 +0200
commitd80796bda039bfafc8cb2ad5b10ac2df5f91130d (patch)
treefb4ac24671b382e9c535211c664b529050393f03 /PKGBUILD
parent8de5e59c7af7b3c83168d1f83b58883b78535b5d (diff)
downloadaur-d80796bda039bfafc8cb2ad5b10ac2df5f91130d.tar.gz
ionetcdf
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 64621a929c2..d033f1adee5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-vtk-git
-pkgver=r71294.1082e57012
+pkgver=r71351.152728eb5d
pkgrel=1
pkgdesc='A software system for 3D computer graphics, image processing, and visualization (mingw-w64)'
arch=('any')
@@ -21,9 +21,12 @@ pkgver () {
prepare() {
cd "${srcdir}/vtk"
+ # https://gitlab.kitware.com/vtk/vtk/issues/17637
+ sed -i "s|find_package(netCDF|#find_package(netCDF|g" CMake/FindNetCDF.cmake
+ # https://gitlab.kitware.com/vtk/vtk/issues/17630
+ sed -i "s|VTK::netcdf|VTK::netcdf VTK::hdf5|g" ThirdParty/exodusII/vtk.module
}
-
build() {
cd "${srcdir}/vtk"
for _arch in ${_architectures}; do
@@ -37,7 +40,6 @@ build() {
-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON \
- -DHDF5_ROOT=/usr/${_arch}/ \
-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=OFF \