vtk: rebuild for hdf5

This commit is contained in:
Gonzalo Tornaría 2024-08-15 23:08:06 -03:00 committed by Andrew J. Hesford
parent e241f256f6
commit 10b3920359

View file

@ -1,7 +1,7 @@
# Template file for 'vtk'
pkgname=vtk
version=9.3.1
revision=2
revision=3
build_style=cmake
# vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
# Build only the core modules plus python bindings for now
@ -19,7 +19,7 @@ configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON
# vtk forks libharu, bumps to v2.4.0, and requires libharu>=2.4.0
makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
libxml2-devel jsoncpp-devel openmpi-devel libogg-devel libtheora-devel
libxml2-devel jsoncpp-devel libogg-devel libtheora-devel
eigen double-conversion-devel glew-devel pugixml-devel sqlite-devel
gl2ps-devel proj-devel python3-devel json-c++ fmt-devel"
short_desc="System for 3D computer graphics, image processing, and visualization"
@ -28,6 +28,14 @@ license="BSD-3-Clause"
homepage="https://www.vtk.org"
distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
checksum=8354ec084ea0d2dc3d23dbe4243823c4bfc270382d0ce8d658939fd50061cab8
nocross="It seems to need vtk compile tools for the host"
case "$XBPS_TARGET_MACHINE" in
# List of supported architectures copied from openmpi.
x86_64*|aarch64*|ppc64*|riscv64*)
makedepends+=" openmpi-devel"
;;
esac
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"