extra/vtk to 9.3.0-10

This commit is contained in:
Kevin Mihelich 2024-03-09 15:16:05 +00:00
parent 96a10b18e5
commit 3da134a911
2 changed files with 9 additions and 8 deletions

View file

@ -1,10 +1,10 @@
pkgbase = vtk
pkgdesc = Software system for 3D computer graphics, image processing, and visualization
pkgver = 9.3.0
pkgrel = 9
url = https://www.vtk.org/
pkgrel = 10
url = https://www.vtk.org
arch = x86_64
license = BSD
license = BSD-3-Clause
makedepends = adios2
makedepends = boost
makedepends = cgns
@ -105,7 +105,7 @@ pkgbase = vtk
optdepends = unixodbc
optdepends = verdict
options = staticlibs
source = https://www.vtk.org//files/release/9.3/VTK-9.3.0.tar.gz
source = https://www.vtk.org/files/release/9.3/VTK-9.3.0.tar.gz
source = vtk-occt.patch
source = https://gitlab.kitware.com/vtk/vtk/-/commit/5055371e.patch
source = ospray-3.patch

View file

@ -16,11 +16,11 @@
pkgname=vtk
# May need bootstrapping on upgrades due to circular vtk <-> opencascade dependency
pkgver=9.3.0
pkgrel=9
pkgrel=10
pkgdesc="Software system for 3D computer graphics, image processing, and visualization"
arch=(x86_64)
url="https://www.vtk.org/"
license=(BSD)
url="https://www.vtk.org"
license=(BSD-3-Clause)
depends=(
double-conversion
gcc-libs
@ -135,7 +135,8 @@ sha256sums=('fdc7b9295225b34e4fdddc49cd06e66e94260cb00efee456e0f66568c9681be9'
prepare() {
cd ${pkgname^^}-${pkgver}
sed -i "s|3.9.0|5.1.0|" ThirdParty/fast_float/CMakeLists.txt
_fast_float_version=$(pacman -Q fast_float | sed -e 's/.* //; s/-.*//g')
sed -i "s|3.9.0|${_fast_float_version}|" ThirdParty/fast_float/CMakeLists.txt
patch -Np1 -i "$srcdir"/vtk-occt.patch
patch -Np1 -i ../5055371e.patch # Fix link to PDAL 2.6