vtk: nocross, check-update, forbid download, dup license, fix build dep

This commit is contained in:
yopito 2019-01-23 22:06:12 +01:00 committed by maxice8
parent d727b68b4b
commit 279728f7cb
2 changed files with 19 additions and 11 deletions

View file

@ -4,38 +4,44 @@
# Here only the bare minimum set of modules for freecad is enabled
pkgname=vtk
version=8.1.0
revision=6
revision=7
wrksrc=VTK-${version}
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
-DVTK_Group_StandAlone=ON
-DModule_vtkIOMPIParallel=ON
-DModule_vtkParallelMPI=ON"
-DVTK_FORBID_DOWNLOADS=ON
-DVTK_Group_StandAlone=ON
-DModule_vtkIOMPIParallel=ON
-DModule_vtkParallelMPI=ON"
# vtk needs specific libharu patches, so use built-in.
# fails, so use built-in
# vtk needs specific libharu patches:
# https://github.com/libharu/libharu/pull/157
configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
# fails, so use built-in
# netcdf XBPS package lacks of c++ interface ?
# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
# may be disabled when gl2ps > 1.4.0 is available
# vtk relies on gl2psTextOptColorBL(), which is not yet in a realeased gl2ps
# fails, so use built-in
# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
libXt-devel libjpeg-turbo-devel tiff-devel proj-devel hdf5-devel netcdf-devel
gl2ps-devel libxml2-devel jsoncpp-devel openmpi-devel libogg-devel
libtheora-devel"
libXt-devel libjpeg-turbo-devel tiff-devel proj-devel hdf5-devel netcdf-devel
libxml2-devel jsoncpp-devel openmpi-devel libogg-devel libtheora-devel"
short_desc="System for 3D computer graphics, image processing, and visualization"
maintainer="Piraty <piraty1@inbox.ru>"
license="3-clause-BSD"
license="BSD-3-Clause"
homepage="https://www.vtk.org"
distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
checksum=6e269f07b64fb13774f5925161fb4e1f379f4e6a0131c8408c555f6b58ef3cb7
nocross="hdf5 is nocross"
post_install() {
rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
vlicense Copyright.txt
}

2
srcpkgs/vtk/update Normal file
View file

@ -0,0 +1,2 @@
site="https://www.vtk.org/download/"
ignore="*rc*"