[arch-commits] Commit in vtk/repos (6 files)

2017-09-27 Thread Evgeniy Alekseev
Date: Wednesday, September 27, 2017 @ 14:56:16
  Author: arcanis
Revision: 260694

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  vtk/repos/community-staging-i686/
  vtk/repos/community-staging-i686/.contrib
(from rev 260693, vtk/trunk/.contrib)
  vtk/repos/community-staging-i686/PKGBUILD
(from rev 260693, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 260693, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 260693, vtk/trunk/PKGBUILD)

---+
 community-staging-i686/.contrib   |6 +
 community-staging-i686/PKGBUILD   |  125 
 community-staging-x86_64/.contrib |6 +
 community-staging-x86_64/PKGBUILD |  125 
 4 files changed, 262 insertions(+)

Copied: vtk/repos/community-staging-i686/.contrib (from rev 260693, 
vtk/trunk/.contrib)
===
--- community-staging-i686/.contrib (rev 0)
+++ community-staging-i686/.contrib 2017-09-27 14:56:16 UTC (rev 260694)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-i686/PKGBUILD (from rev 260693, 
vtk/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-09-27 14:56:16 UTC (rev 260694)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.0.0
+_majorver=8.0
+pkgrel=1
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('boost' 'cmake' 'doxygen' 'ffmpeg' 'gdal' 'glew' 'gnuplot'
+ 'hdf5' 'java-environment' 'jsoncpp' 'libharu'
+ 'mariadb' 'openmpi' 'proj' 'python-autobahn' 'python-matplotlib'
+ 'python-mpi4py' 'python-twisted' 'qt5-base' 'qt5-tools'
+ 'qt5-webkit' 'qt5-x11extras' 'tk' 'unixodbc' 'wget')
+optdepends=('python: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools'
+'python-matplotlib: for Matplotlib rendering'
+'python-twisted: for vtkWeb'
+'python-autobahn: for vtkWeb'
+'python-mpi4py: OpenMPI python support'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'ffmpeg'
+'gdal'
+'glew'
+'hdf5'
+'jsoncpp'
+'libharu'
+'mariadb'
+'proj'
+'unixodbc')
+source=("http://www.vtk.org/files/release/${_majorver}/VTK-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKData-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKLargeData-${pkgver}.tar.gz";)
+options=(staticlibs)
+sha512sums=('6ffb3ed94f2e06a92aac4c13143774e4ade2341c8d8eba23d4ff60a7ead932c20593d388d11fa026edda58ab7655237784ff70e89613e6fab88f1848683bcca0'
+
'dcd7e5f87be7f9d25380518eea7f21d48d757c0c8cb83dba3f72cef829f25df8e718bd8076ce8a05431b1607dcb57cbbd446bca6863bd481d6613c8aa86549e7'
+
'e1c8c67f56919359e817f8c8ed360f8830f6e824e078aac2da894edca0e686399003cf5886c861dbdb9cadda39a7a69c72d6537d117dcd17d7698421b6cbe5c9')
+
+prepare() {
+  rm -rf "build"
+  mkdir "build"
+}
+
+build() {
+  cd "build"
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  # TODO: try to use system provided XDMF2, XDMF3, NETCDF, GL2PS
+  # VTK fails to compile with recent netcdf-cxx package, VTK should be ported 
to the latest API
+  # VTK does not work with XDMF2 compiled from git. TODO: make vtk compatible 
with system XDMF library.
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  # system gl2ps is not used because of 
http://www.vtk.org/Bug/view.php?id=16083
+  for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED ZOPE 
SIX AUTOBAHN MPI4PY JSONCPP GLEW HDF HDF5 LIBPROJ4 LIBHARU; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake \
+-Wno-dev \
+-DCMAKE_SKIP_RPATH=ON \
+-DBUILD_SHARED_LIBS:BOOL=ON \
+-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
+-DBUILD_DOCUMENTATION:BOOL=OFF \
+-DDOXYGEN_KE

[arch-commits] Commit in vtk/repos (6 files)

2017-06-10 Thread Anatol Pomozov
Date: Saturday, June 10, 2017 @ 08:05:14
  Author: anatolik
Revision: 235828

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  vtk/repos/community-staging-i686/
  vtk/repos/community-staging-i686/.contrib
(from rev 235827, vtk/trunk/.contrib)
  vtk/repos/community-staging-i686/PKGBUILD
(from rev 235827, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 235827, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 235827, vtk/trunk/PKGBUILD)

---+
 community-staging-i686/.contrib   |6 +
 community-staging-i686/PKGBUILD   |  125 
 community-staging-x86_64/.contrib |6 +
 community-staging-x86_64/PKGBUILD |  125 
 4 files changed, 262 insertions(+)

Copied: vtk/repos/community-staging-i686/.contrib (from rev 235827, 
vtk/trunk/.contrib)
===
--- community-staging-i686/.contrib (rev 0)
+++ community-staging-i686/.contrib 2017-06-10 08:05:14 UTC (rev 235828)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-i686/PKGBUILD (from rev 235827, 
vtk/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-10 08:05:14 UTC (rev 235828)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=vtk
+pkgver=7.1.1
+_majorver=7.1
+pkgrel=3
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('boost' 'cmake' 'ninja' 'java-environment' 'doxygen' 'gnuplot' 
'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 
'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 
'lesstif' 'qt5-base' 'qt5-x11extras' 'qt5-tools' 'qt5-webkit' 'jsoncpp')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools'
+'python2-matplotlib: for Matplotlib rendering'
+'python2-twisted: for vtkWeb'
+'python2-autobahn: for vtkWeb'
+'openmpi: OpenMPI support'
+'python2-mpi4py: OpenMPI python support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'unixodbc'
+'glew'
+'gdal'
+'mariadb'
+'ffmpeg'
+'jsoncpp')
+source=("http://www.vtk.org/files/release/${_majorver}/VTK-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKData-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKLargeData-${pkgver}.tar.gz";)
+options=(staticlibs)
+sha1sums=('8b3433e408ba3408354356dee4d295ea599a817c'
+  'e0021056162e72e0dac20fa833ea4f9ee29dee48'
+  '1ba20c351ac8237c168198a89504c3d93ea699c7')
+
+prepare() {
+  cd "${srcdir}"/VTK-$pkgver
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "${srcdir}"
+  rm -rf build
+  mkdir build
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  # TODO: try to use system provided XDMF2, XDMF3, LIBPROJ4 NETCDF, HDF5
+  # VTK fails to compile with recent netcdf-cxx package, VTK should be ported 
to the latest API
+  # VTK does not work with XDMF2 compiled from git. TODO: make vtk compatible 
with system XDMF library. 
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  # Note: system HDF5 is incompatible
+  for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED ZOPE 
SIX AUTOBAHN MPI4PY JSONCPP GLEW; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  # system gl2ps is not used because of 
http://www.vtk.org/Bug/view.php?id=16083
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake \
+-Wno-dev \
+-DVTK_USE_SYSTEM_HDF5:BO

[arch-commits] Commit in vtk/repos (6 files)

2017-05-26 Thread Evangelos Foutras
Date: Friday, May 26, 2017 @ 07:59:06
  Author: foutrelis
Revision: 230406

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  vtk/repos/community-staging-i686/
  vtk/repos/community-staging-i686/.contrib
(from rev 230405, vtk/trunk/.contrib)
  vtk/repos/community-staging-i686/PKGBUILD
(from rev 230405, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 230405, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 230405, vtk/trunk/PKGBUILD)

---+
 community-staging-i686/.contrib   |6 +
 community-staging-i686/PKGBUILD   |  125 
 community-staging-x86_64/.contrib |6 +
 community-staging-x86_64/PKGBUILD |  125 
 4 files changed, 262 insertions(+)

Copied: vtk/repos/community-staging-i686/.contrib (from rev 230405, 
vtk/trunk/.contrib)
===
--- community-staging-i686/.contrib (rev 0)
+++ community-staging-i686/.contrib 2017-05-26 07:59:06 UTC (rev 230406)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-i686/PKGBUILD (from rev 230405, 
vtk/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-26 07:59:06 UTC (rev 230406)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=vtk
+pkgver=7.1.1
+_majorver=7.1
+pkgrel=2
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('boost' 'cmake' 'ninja' 'java-environment' 'doxygen' 'gnuplot' 
'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 
'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 
'lesstif' 'qt5-base' 'qt5-x11extras' 'qt5-tools' 'qt5-webkit' 'jsoncpp')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools'
+'python2-matplotlib: for Matplotlib rendering'
+'python2-twisted: for vtkWeb'
+'python2-autobahn: for vtkWeb'
+'openmpi: OpenMPI support'
+'python2-mpi4py: OpenMPI python support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'unixodbc'
+'glew'
+'gdal'
+'mariadb'
+'ffmpeg'
+'jsoncpp')
+source=("http://www.vtk.org/files/release/${_majorver}/VTK-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKData-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKLargeData-${pkgver}.tar.gz";)
+options=(staticlibs)
+sha1sums=('8b3433e408ba3408354356dee4d295ea599a817c'
+  'e0021056162e72e0dac20fa833ea4f9ee29dee48'
+  '1ba20c351ac8237c168198a89504c3d93ea699c7')
+
+prepare() {
+  cd "${srcdir}"/VTK-$pkgver
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "${srcdir}"
+  rm -rf build
+  mkdir build
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  # TODO: try to use system provided XDMF2, XDMF3, LIBPROJ4 NETCDF, HDF5
+  # VTK fails to compile with recent netcdf-cxx package, VTK should be ported 
to the latest API
+  # VTK does not work with XDMF2 compiled from git. TODO: make vtk compatible 
with system XDMF library. 
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  # Note: system HDF5 is incompatible
+  for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED ZOPE 
SIX AUTOBAHN MPI4PY JSONCPP GLEW; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  # system gl2ps is not used because of 
http://www.vtk.org/Bug/view.php?id=16083
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake \
+-Wno-dev \
+-DVTK_USE_SYSTEM_HDF5:BOOL

[arch-commits] Commit in vtk/repos (6 files)

2017-03-21 Thread Anatol Pomozov
Date: Tuesday, March 21, 2017 @ 16:22:33
  Author: anatolik
Revision: 218204

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  vtk/repos/community-testing-i686/
  vtk/repos/community-testing-i686/.contrib
(from rev 218203, vtk/trunk/.contrib)
  vtk/repos/community-testing-i686/PKGBUILD
(from rev 218203, vtk/trunk/PKGBUILD)
  vtk/repos/community-testing-x86_64/
  vtk/repos/community-testing-x86_64/.contrib
(from rev 218203, vtk/trunk/.contrib)
  vtk/repos/community-testing-x86_64/PKGBUILD
(from rev 218203, vtk/trunk/PKGBUILD)

---+
 community-testing-i686/.contrib   |6 +
 community-testing-i686/PKGBUILD   |  125 
 community-testing-x86_64/.contrib |6 +
 community-testing-x86_64/PKGBUILD |  125 
 4 files changed, 262 insertions(+)

Copied: vtk/repos/community-testing-i686/.contrib (from rev 218203, 
vtk/trunk/.contrib)
===
--- community-testing-i686/.contrib (rev 0)
+++ community-testing-i686/.contrib 2017-03-21 16:22:33 UTC (rev 218204)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-testing-i686/PKGBUILD (from rev 218203, 
vtk/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-03-21 16:22:33 UTC (rev 218204)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=vtk
+pkgver=7.1.1
+_majorver=7.1
+pkgrel=1
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('boost' 'cmake' 'ninja' 'java-environment' 'doxygen' 'gnuplot' 
'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 
'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 
'lesstif' 'qt5-base' 'qt5-x11extras' 'qt5-tools' 'qt5-webkit' 'jsoncpp')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools'
+'python2-matplotlib: for Matplotlib rendering'
+'python2-twisted: for vtkWeb'
+'python2-autobahn: for vtkWeb'
+'openmpi: OpenMPI support'
+'python2-mpi4py: OpenMPI python support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'unixodbc'
+'glew'
+'gdal'
+'mariadb'
+'ffmpeg'
+'jsoncpp')
+source=("http://www.vtk.org/files/release/${_majorver}/VTK-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKData-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKLargeData-${pkgver}.tar.gz";)
+options=(staticlibs)
+sha1sums=('8b3433e408ba3408354356dee4d295ea599a817c'
+  'e0021056162e72e0dac20fa833ea4f9ee29dee48'
+  '1ba20c351ac8237c168198a89504c3d93ea699c7')
+
+prepare() {
+  cd "${srcdir}"/VTK-$pkgver
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "${srcdir}"
+  rm -rf build
+  mkdir build
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  # TODO: try to use system provided XDMF2, XDMF3, LIBPROJ4 NETCDF, HDF5
+  # VTK fails to compile with recent netcdf-cxx package, VTK should be ported 
to the latest API
+  # VTK does not work with XDMF2 compiled from git. TODO: make vtk compatible 
with system XDMF library. 
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  # Note: system HDF5 is incompatible
+  for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED ZOPE 
SIX AUTOBAHN MPI4PY JSONCPP GLEW; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  # system gl2ps is not used because of 
http://www.vtk.org/Bug/view.php?id=16083
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake \
+-Wno-dev \
+-DVTK_USE_SYSTEM_HDF5:BO

[arch-commits] Commit in vtk/repos (6 files)

2016-12-12 Thread Anatol Pomozov
Date: Tuesday, December 13, 2016 @ 00:25:53
  Author: anatolik
Revision: 199049

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  vtk/repos/community-testing-i686/
  vtk/repos/community-testing-i686/.contrib
(from rev 199048, vtk/trunk/.contrib)
  vtk/repos/community-testing-i686/PKGBUILD
(from rev 199048, vtk/trunk/PKGBUILD)
  vtk/repos/community-testing-x86_64/
  vtk/repos/community-testing-x86_64/.contrib
(from rev 199048, vtk/trunk/.contrib)
  vtk/repos/community-testing-x86_64/PKGBUILD
(from rev 199048, vtk/trunk/PKGBUILD)

---+
 community-testing-i686/.contrib   |6 +
 community-testing-i686/PKGBUILD   |  125 
 community-testing-x86_64/.contrib |6 +
 community-testing-x86_64/PKGBUILD |  125 
 4 files changed, 262 insertions(+)

Copied: vtk/repos/community-testing-i686/.contrib (from rev 199048, 
vtk/trunk/.contrib)
===
--- community-testing-i686/.contrib (rev 0)
+++ community-testing-i686/.contrib 2016-12-13 00:25:53 UTC (rev 199049)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-testing-i686/PKGBUILD (from rev 199048, 
vtk/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-12-13 00:25:53 UTC (rev 199049)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=vtk
+pkgver=7.1.0
+_majorver=7.1
+pkgrel=2
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('boost' 'cmake' 'ninja' 'java-environment' 'doxygen' 'gnuplot' 
'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 
'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 
'lesstif' 'qt5-base' 'qt5-x11extras' 'qt5-tools' 'qt5-webkit' 'jsoncpp')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools'
+'python2-matplotlib: for Matplotlib rendering'
+'python2-twisted: for vtkWeb'
+'python2-autobahn: for vtkWeb'
+'openmpi: OpenMPI support'
+'python2-mpi4py: OpenMPI python support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'unixodbc'
+'glew'
+'gdal'
+'mariadb'
+'ffmpeg'
+'jsoncpp')
+source=("http://www.vtk.org/files/release/${_majorver}/VTK-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKData-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKLargeData-${pkgver}.tar.gz";)
+options=(staticlibs)
+sha1sums=('d3701ff23cb935e107e00174cf75d45a7a9cbdda'
+  'd67694b32b8720a081fefac3a26b317b81e785c2'
+  'bfcf4f87e53f81b7e6bd980e7b0137cef156f66c')
+
+prepare() {
+  cd "${srcdir}"/VTK-$pkgver
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "${srcdir}"
+  rm -rf build
+  mkdir build
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  # TODO: try to use system provided XDMF2, XDMF3, LIBPROJ4 NETCDF, HDF5
+  # VTK fails to compile with recent netcdf-cxx package, VTK should be ported 
to the latest API
+  # VTK does not work with XDMF2 compiled from git. TODO: make vtk compatible 
with system XDMF library. 
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  # Note: system HDF5 is incompatible
+  for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED ZOPE 
SIX AUTOBAHN MPI4PY JSONCPP GLEW; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  # system gl2ps is not used because of 
http://www.vtk.org/Bug/view.php?id=16083
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake \
+-Wno-dev \
+-DVTK_USE_SYSTEM_HDF5

[arch-commits] Commit in vtk/repos (6 files)

2016-12-05 Thread Anatol Pomozov
Date: Tuesday, December 6, 2016 @ 05:03:09
  Author: anatolik
Revision: 198084

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  vtk/repos/community-testing-i686/
  vtk/repos/community-testing-i686/.contrib
(from rev 198083, vtk/trunk/.contrib)
  vtk/repos/community-testing-i686/PKGBUILD
(from rev 198083, vtk/trunk/PKGBUILD)
  vtk/repos/community-testing-x86_64/
  vtk/repos/community-testing-x86_64/.contrib
(from rev 198083, vtk/trunk/.contrib)
  vtk/repos/community-testing-x86_64/PKGBUILD
(from rev 198083, vtk/trunk/PKGBUILD)

---+
 community-testing-i686/.contrib   |6 +
 community-testing-i686/PKGBUILD   |  123 
 community-testing-x86_64/.contrib |6 +
 community-testing-x86_64/PKGBUILD |  123 
 4 files changed, 258 insertions(+)

Copied: vtk/repos/community-testing-i686/.contrib (from rev 198083, 
vtk/trunk/.contrib)
===
--- community-testing-i686/.contrib (rev 0)
+++ community-testing-i686/.contrib 2016-12-06 05:03:09 UTC (rev 198084)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-testing-i686/PKGBUILD (from rev 198083, 
vtk/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-12-06 05:03:09 UTC (rev 198084)
@@ -0,0 +1,123 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=vtk
+pkgver=7.1.0
+_majorver=7.1
+pkgrel=1
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('boost' 'cmake' 'ninja' 'java-environment' 'doxygen' 'gnuplot' 
'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 
'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 
'lesstif' 'qt5-base' 'qt5-x11extras' 'qt5-tools' 'jsoncpp')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools'
+'python2-matplotlib: for Matplotlib rendering'
+'python2-twisted: for vtkWeb'
+'python2-autobahn: for vtkWeb'
+'openmpi: OpenMPI support'
+'python2-mpi4py: OpenMPI python support'
+'unixodbc'
+'glew'
+'gdal'
+'mariadb'
+'ffmpeg'
+'jsoncpp')
+source=("http://www.vtk.org/files/release/${_majorver}/VTK-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKData-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${_majorver}/VTKLargeData-${pkgver}.tar.gz";)
+options=(staticlibs)
+sha1sums=('d3701ff23cb935e107e00174cf75d45a7a9cbdda'
+  'd67694b32b8720a081fefac3a26b317b81e785c2'
+  'bfcf4f87e53f81b7e6bd980e7b0137cef156f66c')
+
+prepare() {
+  cd "${srcdir}"/VTK-$pkgver
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "${srcdir}"
+  rm -rf build
+  mkdir build
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  # TODO: try to use system provided XDMF2, XDMF3, LIBPROJ4 NETCDF, HDF5
+  # VTK fails to compile with recent netcdf-cxx package, VTK should be ported 
to the latest API
+  # VTK does not work with XDMF2 compiled from git. TODO: make vtk compatible 
with system XDMF library. 
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  # Note: system HDF5 is incompatible
+  for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED ZOPE 
SIX AUTOBAHN MPI4PY JSONCPP GLEW; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  # system gl2ps is not used because of 
http://www.vtk.org/Bug/view.php?id=16083
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake \
+-Wno-dev \
+-DVTK_USE_SYSTEM_HDF5:BOOL=OFF \
+-DCMAKE_SKIP_RPATH=ON \
+-DBUILD_SHARED_LIBS:BOOL=ON \
+-DCM

[arch-commits] Commit in vtk/repos (6 files)

2013-02-10 Thread Jelle van der Waa
Date: Sunday, February 10, 2013 @ 13:19:21
  Author: jelle
Revision: 84089

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 84088, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/ffmpeg-0.11.diff
(from rev 84088, vtk/trunk/ffmpeg-0.11.diff)
  vtk/repos/community-staging-x86_64/ffmpeg-0.8.diff
(from rev 84088, vtk/trunk/ffmpeg-0.8.diff)
  vtk/repos/community-staging-x86_64/python-destdir.diff
(from rev 84088, vtk/trunk/python-destdir.diff)
  vtk/repos/community-staging-x86_64/tcl-8.6.diff
(from rev 84088, vtk/trunk/tcl-8.6.diff)

-+
 PKGBUILD|  114 ++
 ffmpeg-0.11.diff|   46 
 ffmpeg-0.8.diff |   66 
 python-destdir.diff |   11 
 tcl-8.6.diff|   13 +
 5 files changed, 250 insertions(+)

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 84088, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-02-10 12:19:21 UTC (rev 84089)
@@ -0,0 +1,114 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl
+
+pkgname=vtk
+pkgver=5.10.1
+pkgrel=4
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization.'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('libjpeg-turbo' 'boost' 'ffmpeg' 'qt' 'qtwebkit' 'lesstif' 'mysql' 
'hdf5')
+makedepends=('cmake' 'java-environment' 'doxygen' 'gnuplot' 'mesa' 'python2' 
'tk')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools')
+source=("http://www.vtk.org/files/release/${pkgver:0:4}/vtk-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${pkgver:0:4}/vtkdata-${pkgver}.tar.gz";
+ffmpeg-0.8.diff ffmpeg-0.11.diff tcl-8.6.diff python-destdir.diff)
+md5sums=('264b0052e65bd6571a84727113508789'
+ 'b6355063264cd56bcd1396c92f6ca59a'
+ 'e992321c9d1def6034d0fa6607b40c5a'
+ '81922ea61989e5591135f233a0400694'
+ 'a804a9f034e24ef1a8b28542c15ce1a1'
+ 'f7aba715bcc10de93a6ecf1cd6b0c560')
+
+build() {
+  cd "${srcdir}"/VTK$pkgver
+
+  # fix compilation errors:
+  patch -Np1 -i "${srcdir}/ffmpeg-0.8.diff"
+  patch -Np1 -i "${srcdir}/ffmpeg-0.11.diff"
+  patch -Np1 -i "${srcdir}/tcl-8.6.diff"
+  patch -Np1 -i "${srcdir}/python-destdir.diff"
+
+  cd "${srcdir}"
+
+  rm -rf build
+  mkdir build
+  cd build
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  for lib in HDF5 EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  cmake \
+-Wno-dev \
+-DBUILD_SHARED_LIBS:BOOL=ON \
+-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
+-DVTK_DATA_ROOT:FILEPATH=${srcdir}/VTKData$pkgver \
+-DBUILD_DOCUMENTATION:BOOL=ON \
+-DDOCUMENTATION_HTML_HELP:BOOL=ON \
+-DDOCUMENTATION_HTML_TARZ:BOOL=ON \
+-DBUILD_EXAMPLES:BOOL=ON \
+-DVTK_USE_HYBRID:BOOL=ON \
+-DVTK_USE_PARALLEL:BOOL=ON \
+-DVTK_USE_PATENTED:BOOL=ON \
+-DVTK_USE_BOOST:BOOL=ON \
+-DVTK_USE_INFOVIS:BOOL=ON \
+-DVTK_USE_GL2PS:BOOL=ON \
+-DVTK_USE_MYSQL:BOOL=ON \
+-DVTK_USE_FFMPEG_ENCODER:BOOL=ON \
+-DVTK_USE_TEXT_ANALYSIS:BOOL=ON \
+-DVTK_WRAP_JAVA:BOOL=ON \
+-DVTK_WRAP_PYTHON:BOOL=ON \
+-DVTK_WRAP_TCL:BOOL=ON \
+-DVTK_USE_QT:BOOL=ON \
+-DVTK_INSTALL_QT_PLUGIN_DIR:STRING="/usr/lib/qt/plugins" \
+-DVTK_USE_GUISUPPORT:BOOL=ON \
+-DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" \
+${cmake_system_flags} \
+${cmake_system_python_flags} \
+"${srcdir}/VTK$pkgver"
+
+  make
+}
+
+package() {
+  cd "${srcdir}/build"
+
+  make DESTDIR="${pkgdir}" install
+
+  # Move the vtk.jar to the arch-specific location
+  install -dv "${pkgdir}/usr/share/java/vtk"
+  mv -v "${pkgdir}/usr/lib/vtk-${pkgver:0:4}/java/vtk.jar" \
+"${pkgdir}/usr/share/java/vtk"
+  rm -rf "${pkgdir}/usr/lib/vtk-${pkgver:0:4}/java"
+
+  # Install license
+  install -dv "${pkgdir}/usr/share/licenses/vtk"
+  install -m644 "${srcdir}/VTK$pkgver/Copyright.txt" \
+"${pkgdir}/usr/share/licenses/vtk"
+
+  # Put an entry in /etc/ld.so.conf.d
+  install -dv "${pk

[arch-commits] Commit in vtk/repos (6 files)

2013-02-10 Thread Bartłomiej Piotrowski
Date: Sunday, February 10, 2013 @ 12:47:32
  Author: bpiotrowski
Revision: 84088

archrelease: copy trunk to community-staging-i686

Added:
  vtk/repos/community-staging-i686/
  vtk/repos/community-staging-i686/PKGBUILD
(from rev 84087, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-i686/ffmpeg-0.11.diff
(from rev 84087, vtk/trunk/ffmpeg-0.11.diff)
  vtk/repos/community-staging-i686/ffmpeg-0.8.diff
(from rev 84087, vtk/trunk/ffmpeg-0.8.diff)
  vtk/repos/community-staging-i686/python-destdir.diff
(from rev 84087, vtk/trunk/python-destdir.diff)
  vtk/repos/community-staging-i686/tcl-8.6.diff
(from rev 84087, vtk/trunk/tcl-8.6.diff)

-+
 PKGBUILD|  114 ++
 ffmpeg-0.11.diff|   46 
 ffmpeg-0.8.diff |   66 
 python-destdir.diff |   11 
 tcl-8.6.diff|   13 +
 5 files changed, 250 insertions(+)

Copied: vtk/repos/community-staging-i686/PKGBUILD (from rev 84087, 
vtk/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-02-10 11:47:32 UTC (rev 84088)
@@ -0,0 +1,114 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl
+
+pkgname=vtk
+pkgver=5.10.1
+pkgrel=4
+pkgdesc='A software system for 3D computer graphics, image processing, and 
visualization.'
+arch=('i686' 'x86_64')
+url='http://www.vtk.org/'
+license=('BSD')
+depends=('libjpeg-turbo' 'boost' 'ffmpeg' 'qt' 'qtwebkit' 'lesstif' 'mysql' 
'hdf5')
+makedepends=('cmake' 'java-environment' 'doxygen' 'gnuplot' 'mesa' 'python2' 
'tk')
+optdepends=('python2: python bindings'
+'java-runtime: java bindings'
+'tk: tcl bindings'
+'gnuplot: plotting tools'
+'graphviz: drawing tools')
+source=("http://www.vtk.org/files/release/${pkgver:0:4}/vtk-${pkgver}.tar.gz";
+
"http://www.vtk.org/files/release/${pkgver:0:4}/vtkdata-${pkgver}.tar.gz";
+ffmpeg-0.8.diff ffmpeg-0.11.diff tcl-8.6.diff python-destdir.diff)
+md5sums=('264b0052e65bd6571a84727113508789'
+ 'b6355063264cd56bcd1396c92f6ca59a'
+ 'e992321c9d1def6034d0fa6607b40c5a'
+ '81922ea61989e5591135f233a0400694'
+ 'a804a9f034e24ef1a8b28542c15ce1a1'
+ 'f7aba715bcc10de93a6ecf1cd6b0c560')
+
+build() {
+  cd "${srcdir}"/VTK$pkgver
+
+  # fix compilation errors:
+  patch -Np1 -i "${srcdir}/ffmpeg-0.8.diff"
+  patch -Np1 -i "${srcdir}/ffmpeg-0.11.diff"
+  patch -Np1 -i "${srcdir}/tcl-8.6.diff"
+  patch -Np1 -i "${srcdir}/python-destdir.diff"
+
+  cd "${srcdir}"
+
+  rm -rf build
+  mkdir build
+  cd build
+
+  # flags to enable using system libs
+  local cmake_system_flags=""
+  for lib in HDF5 EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA; do
+cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+  done
+
+  # flags to use python2 instead of python which is 3.x.x on archlinux
+  local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 
-DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
+
+  cmake \
+-Wno-dev \
+-DBUILD_SHARED_LIBS:BOOL=ON \
+-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
+-DVTK_DATA_ROOT:FILEPATH=${srcdir}/VTKData$pkgver \
+-DBUILD_DOCUMENTATION:BOOL=ON \
+-DDOCUMENTATION_HTML_HELP:BOOL=ON \
+-DDOCUMENTATION_HTML_TARZ:BOOL=ON \
+-DBUILD_EXAMPLES:BOOL=ON \
+-DVTK_USE_HYBRID:BOOL=ON \
+-DVTK_USE_PARALLEL:BOOL=ON \
+-DVTK_USE_PATENTED:BOOL=ON \
+-DVTK_USE_BOOST:BOOL=ON \
+-DVTK_USE_INFOVIS:BOOL=ON \
+-DVTK_USE_GL2PS:BOOL=ON \
+-DVTK_USE_MYSQL:BOOL=ON \
+-DVTK_USE_FFMPEG_ENCODER:BOOL=ON \
+-DVTK_USE_TEXT_ANALYSIS:BOOL=ON \
+-DVTK_WRAP_JAVA:BOOL=ON \
+-DVTK_WRAP_PYTHON:BOOL=ON \
+-DVTK_WRAP_TCL:BOOL=ON \
+-DVTK_USE_QT:BOOL=ON \
+-DVTK_INSTALL_QT_PLUGIN_DIR:STRING="/usr/lib/qt/plugins" \
+-DVTK_USE_GUISUPPORT:BOOL=ON \
+-DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" \
+${cmake_system_flags} \
+${cmake_system_python_flags} \
+"${srcdir}/VTK$pkgver"
+
+  make
+}
+
+package() {
+  cd "${srcdir}/build"
+
+  make DESTDIR="${pkgdir}" install
+
+  # Move the vtk.jar to the arch-specific location
+  install -dv "${pkgdir}/usr/share/java/vtk"
+  mv -v "${pkgdir}/usr/lib/vtk-${pkgver:0:4}/java/vtk.jar" \
+"${pkgdir}/usr/share/java/vtk"
+  rm -rf "${pkgdir}/usr/lib/vtk-${pkgver:0:4}/java"
+
+  # Install license
+  install -dv "${pkgdir}/usr/share/licenses/vtk"
+  install -m644 "${srcdir}/VTK$pkgver/Copyright.txt" \
+"${pkgdir}/usr/share/licenses/vtk"
+
+  # Put an entry in /etc/ld.so.conf.d
+  install -dv "${pkgdir}/etc/