community/vtk to 9.2.6-6

This commit is contained in:
Kevin Mihelich 2023-05-14 16:27:38 +00:00
parent d2f3c3e5a4
commit 476e5ea42a

View file

@ -15,7 +15,7 @@
pkgname=vtk
pkgver=9.2.6
pkgrel=5
pkgrel=6
pkgdesc="Software system for 3D computer graphics, image processing, and visualization"
arch=(x86_64)
url="https://www.vtk.org/"
@ -120,13 +120,20 @@ optdepends=(
verdict
)
options=(staticlibs)
source=(${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz)
sha256sums=('06fc8d49c4e56f498c40fcb38a563ed8d4ec31358d0101e8988f0bb4d539dd12')
source=(${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz
https://github.com/Kitware/VTK/commit/1233ceec.patch
https://github.com/Kitware/VTK/commit/4d8283bc.patch)
sha256sums=('06fc8d49c4e56f498c40fcb38a563ed8d4ec31358d0101e8988f0bb4d539dd12'
'5f662d5052dc07ee43d690c5ffdc1880c5c6c4236945c03a40177ae3a6dc5917'
'82eae5864704b1d955c905d75e565380829b05bb6300c4614da2d19834e15014')
prepare() {
cd ${pkgname^^}-${pkgver}
# We have a patched fmt
sed -i "s|8.1.0|9.0.0|" ThirdParty/fmt/CMakeLists.txt
patch -p1 -i ../1233ceec.patch # Fix build with GCC 13
patch -p1 -i ../4d8283bc.patch
}
build() {