extra/vtk to 9.4.1-2

This commit is contained in:
Kevin Mihelich 2025-01-05 21:30:08 +00:00
parent 596a01fb5c
commit 2f9cd1a8a4
2 changed files with 177 additions and 160 deletions

View file

@ -1,114 +1,115 @@
pkgbase = vtk
pkgdesc = Software system for 3D computer graphics, image processing, and visualization
pkgver = 9.4.1
pkgrel = 1
pkgrel = 2
url = https://www.vtk.org
arch = x86_64
license = BSD-3-Clause
makedepends = cmake
makedepends = java-environment=11
makedepends = python
makedepends = python-matplotlib
makedepends = python-mpi4py
makedepends = qt5-base
makedepends = qt5-declarative
makedepends = qt5-tools
makedepends = tk
makedepends = openmpi
makedepends = libx11
makedepends = freetype2
makedepends = libxcursor
makedepends = hdf5
makedepends = netcdf
makedepends = sqlite
makedepends = adios2
makedepends = cgns
makedepends = gdal
makedepends = gl2ps
makedepends = proj
makedepends = alembic
makedepends = anari-sdk
makedepends = boost
makedepends = cgns
makedepends = cli11
makedepends = cmake
makedepends = doxygen
makedepends = eigen
makedepends = expat
makedepends = fast_float
makedepends = ffmpeg
makedepends = fmt
makedepends = freetype2
makedepends = gdal
makedepends = git
makedepends = gl2ps
makedepends = glew
makedepends = gnuplot
makedepends = hdf5
makedepends = java-environment=11
makedepends = jsoncpp
makedepends = imath
makedepends = libharu
makedepends = libjpeg-turbo
makedepends = liblas
makedepends = libogg
makedepends = libpng
makedepends = libtheora
makedepends = libxml2
makedepends = libxt
makedepends = lz4
makedepends = mariadb-libs
makedepends = netcdf
makedepends = nlohmann-json
makedepends = opencascade
makedepends = openimagedenoise
makedepends = openmp
makedepends = openmpi
makedepends = openvdb
makedepends = openvr
makedepends = openxr
makedepends = ospray
makedepends = pdal
makedepends = postgresql-libs
makedepends = proj
makedepends = python-matplotlib
makedepends = python-mpi4py
makedepends = qt5-base
makedepends = qt5-tools
makedepends = qt5-declarative
makedepends = rapidjson
makedepends = sqlite
makedepends = tk
makedepends = unixodbc
makedepends = fontconfig
makedepends = boost
makedepends = cli11
makedepends = eigen
makedepends = fast_float
makedepends = nlohmann-json
makedepends = utf8cpp
makedepends = verdict
makedepends = wget
makedepends = xz
makedepends = zfp
makedepends = zlib
depends = double-conversion
depends = gcc-libs
depends = glibc
depends = libtiff
depends = onetbb
depends = double-conversion
depends = verdict
depends = fmt
depends = libarchive
depends = lz4
depends = pugixml
optdepends = adios2
optdepends = alembic
optdepends = anari-sdk
optdepends = cgns
optdepends = ffmpeg
optdepends = fmt
optdepends = gdal
optdepends = gl2ps
optdepends = glew
optdepends = gnuplot: plotting tools
depends = xz
depends = zlib
depends = libjpeg-turbo
depends = libpng
depends = libtiff
depends = expat
depends = jsoncpp
depends = libxml2
optdepends = graphviz: drawing tools
optdepends = hdf5
optdepends = libglvnd: OpenGL rendering
optdepends = java-runtime=11: java bindings
optdepends = jsoncpp
optdepends = libarchive
optdepends = libharu
optdepends = liblas
optdepends = lz4
optdepends = mariadb-libs
optdepends = netcdf
optdepends = opencascade
optdepends = openimagedenoise
optdepends = openmpi: OpenMPI support
optdepends = openvdb
optdepends = openvr
optdepends = openxr
optdepends = ospray
optdepends = pdal
optdepends = postgresql-libs
optdepends = proj
optdepends = python: python bindings
optdepends = python-matplotlib: for Matplotlib rendering
optdepends = python-mpi4py: OpenMPI python support
optdepends = qt5-declarative: QML plugin
optdepends = sqlite
optdepends = tk: tcl bindings
optdepends = unixodbc
optdepends = verdict
optdepends = libx11: rendering
optdepends = libxcursor: rendering
optdepends = fontconfig: rendering fonts with fontconfig support
optdepends = freetype2: rendering fonts
optdepends = gl2ps: rendering to PostScript, PDF, and SVG
optdepends = anari-sdk: ANARI rendering module
optdepends = openvr: rendering for virtual reality
optdepends = openxr: rendering for virtual and augmented reality
optdepends = openimagedenoise: rendering with raytracing support
optdepends = ospray: rendering with raytracing support
optdepends = openmpi: OpenMPI support
optdepends = adios2: IO module
optdepends = alembic: IO module
optdepends = cgns: IO module
optdepends = ffmpeg: IO module
optdepends = gdal: IO module
optdepends = hdf5: IO module
optdepends = imath: IO module
optdepends = libharu: IO module
optdepends = liblas: IO module
optdepends = libogg: IO module
optdepends = libtheora: IO module
optdepends = mariadb-libs: IO module
optdepends = netcdf: IO module
optdepends = opencascade: IO module
optdepends = openvdb: IO module
optdepends = pdal: IO module
optdepends = postgresql-libs: IO module
optdepends = proj: IO module
optdepends = sqlite: IO module
optdepends = unixodbc: IO module
optdepends = fast_float: for building downstream projects
optdepends = nlohmann-json: for building downstream projects
optdepends = openmp: OpenMP support for downstream projects built with Clang
options = staticlibs
source = https://www.vtk.org/files/release/9.4/VTK-9.4.1.tar.gz
source = vtk-occt.patch

View file

@ -18,115 +18,131 @@
pkgname=vtk
# May need bootstrapping on upgrades due to circular vtk <-> opencascade dependency
pkgver=9.4.1
pkgrel=1
pkgrel=2
pkgdesc="Software system for 3D computer graphics, image processing, and visualization"
arch=(x86_64)
url="https://www.vtk.org"
license=(BSD-3-Clause)
depends=(
double-conversion
gcc-libs
glibc
libtiff
onetbb
pugixml
gcc-libs # used by >400 libs
glibc # used by >400 libs
onetbb # used by 57 direct libs, 388 total libs
double-conversion # libvtkCommonCore.so (1 direct lib, 372 total libs)
verdict # libvtkFiltersVerdict.so (1 direct lib, 192 total libs)
fmt # libvtkFiltersGeneral.so etc. (5 direct libs, 189 total libs)
libarchive # libvtkCommonArchive.so (1 direct lib, 2 total libs)
# dependencies of libvtkCommonDataModel.so and libvtkIOCore.so
lz4 # 1 direct lib, 172 total libs
pugixml # 4 direct libs, 351 total libs
xz # 1 direct lib, 172 total libs
zlib # 5 direct libs, 204 total libs
# dependencies of libvtkIOImage.so
libjpeg-turbo # 1 direct lib, 97 total libs
libpng # 1 direct lib, 97 total libs
libtiff # 1 direct lib, 97 total libs
# common data libraries
expat # 1 direct lib, 101 total libs
jsoncpp # 7 direct libs, 26 total libs
libxml2 # 3 direct libs, 13 total libs
)
makedepends=(
boost
alembic
cgns
cli11
# build system
cmake
doxygen
eigen
expat
fast_float
ffmpeg
fmt
freetype2
gdal
git
gl2ps
glew
gnuplot
hdf5
# bindings
java-environment=11
jsoncpp
libharu
libjpeg-turbo
liblas
libogg
libpng
libtheora
libxml2
libxt
lz4
mariadb-libs
netcdf
nlohmann-json
opencascade
nlohmann-json
openmp
openmpi
openvdb
openvr
openxr
pdal
postgresql-libs
proj
python
python-matplotlib
python-mpi4py
qt5-base
# graphical toolkits
qt5-base # libvtkGUISupportQt.so etc. (5 direct libs, 6 total libs)
qt5-declarative # libvtkGUISupportQtQuick.so (1 direct lib, 1 total lib)
qt5-tools
qt5-declarative
rapidjson
sqlite
tk
unixodbc
tk # libvtkRenderingTk.so (1 direct lib, 1 total lib)
# direct dependencies of "some" VTK libs/modules
openmpi # 13 direct libs, 67 total libs
libx11 # libvtkglad.so, libvtkRenderingUI.so, libvtkRenderingTk.so, libvtkRenderingOpenGL2.so (4 direct libs, 58 total libs)
freetype2 # libvtkRenderingFreeType.so, libvtkRenderingFreeTypeFontConfig.so (2 direct libs, 55 total libs)
libxcursor # libvtkRenderingOpenGL2.so (1 direct lib, 51 total lib)
hdf5 # 16 direct libs, 39 total libs
netcdf # libvtkIOParallelNetCDF.so, libvtkIONetCDF.so, libvtkexodusII.so, libvtkIOMINC.so, libvtkioss.so (5 direct libs, 14 total libs)
sqlite # libvtkIOSQL.so (1 direct lib, 10 total libs)
cgns # libvtkIOCGNSReader.so, libvtkioss.so (2 direct libs, 5 total libs)
gdal # libvtkGeovisGDAL.so, libvtkIOGDAL.so (2 direct libs, 4 total libs)
gl2ps # libvtkRenderingGL2PSOpenGL2.so, libvtkIOExportGL2PS.so (2 direct libs, 4 total libs)
proj # libvtkGeovisCore.so, libvtkIOCesium3DTiles.so (2 direct libs, 4 total libs)
alembic # libvtkIOAlembic.so (1 direct lib, 2 total libs)
ffmpeg # libvtkIOFFMPEG.so (1 direct lib, 2 total libs)
imath # libvtkIOOpenVDB.so (1 direct lib, 2 total libs)
libharu # libvtkIOExportPDF.so (1 direct lib, 2 total libs)
liblas # libvtkIOLAS.so (1 direct lib, 2 total libs)
libogg # libvtkIOOggTheora.so (1 direct lib, 2 total libs)
libtheora # libvtkIOOggTheora.so (1 direct lib, 2 total libs)
mariadb-libs # libvtkIOMySQL.so (1 direct lib, 2 total libs)
opencascade # libvtkIOOCCT.so (1 direct lib, 2 total libs)
openvdb # libvtkIOOpenVDB.so (1 direct lib, 2 total libs)
openvr # libvtkRenderingOpenVR.so (1 direct lib, 2 total libs)
openxr # libvtkRenderingOpenXR.so (1 direct lib, 2 total libs)
pdal # libvtkIOPDAL.so (1 direct lib, 2 total libs)
postgresql-libs # libvtkIOPostgreSQL.so (1 direct lib, 2 total libs)
unixodbc # libvtkIOODBC.so (1 direct lib, 2 total libs)
fontconfig # libvtkRenderingFreeTypeFontConfig.so (1 direct lib, 1 total lib)
nlohmann-json
tbb
# header-only libraries (all except two are only private or test dependencies
# in all modules that use them)
boost
cli11
eigen
fast_float # interface dependency of the VTK::CommonCore module
nlohmann-json # interface dependency of the VTK::CommonCore module
utf8cpp
verdict
wget
xz
zfp
zlib
)
# pegtl: https://gitlab.kitware.com/vtk/vtk/-/issues/18151
# exprtk, ioss: not packaged
optdepends=(
cgns
ffmpeg
fmt
alembic
gdal
gl2ps
glew
'gnuplot: plotting tools'
# additional tools not listed in makedepends
'graphviz: drawing tools'
hdf5
'libglvnd: OpenGL rendering' # checked at runtime rather than compile-time
# bindings
'java-runtime=11: java bindings'
jsoncpp
libarchive
libharu
liblas
lz4
mariadb-libs
netcdf
'openmpi: OpenMPI support'
openvdb
opencascade
openvr
openxr
pdal
postgresql-libs
proj
'python: python bindings'
'python-matplotlib: for Matplotlib rendering'
'python-mpi4py: OpenMPI python support'
# graphical toolkits
'qt5-declarative: QML plugin'
sqlite
'tk: tcl bindings'
unixodbc
verdict
# direct dependencies of "some" VTK libs/modules
'libx11: rendering'
'libxcursor: rendering'
'fontconfig: rendering fonts with fontconfig support'
'freetype2: rendering fonts'
'gl2ps: rendering to PostScript, PDF, and SVG'
'openvr: rendering for virtual reality'
'openxr: rendering for virtual and augmented reality'
'openmpi: OpenMPI support'
'alembic: IO module'
'cgns: IO module'
'ffmpeg: IO module'
'gdal: IO module'
'hdf5: IO module'
'imath: IO module'
'libharu: IO module'
'liblas: IO module'
'libogg: IO module'
'libtheora: IO module'
'mariadb-libs: IO module'
'netcdf: IO module'
'opencascade: IO module'
'openvdb: IO module'
'pdal: IO module'
'postgresql-libs: IO module'
'proj: IO module'
'sqlite: IO module'
'unixodbc: IO module'
# building downstream projects
'fast_float: for building downstream projects'
'nlohmann-json: for building downstream projects'
'openmp: OpenMP support for downstream projects built with Clang'
)
options=(staticlibs)
source=(${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz