diff options
Diffstat (limited to 'community/vtk/PKGBUILD')
-rw-r--r-- | community/vtk/PKGBUILD | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD index e84d52c7b..371bf4a83 100644 --- a/community/vtk/PKGBUILD +++ b/community/vtk/PKGBUILD @@ -8,15 +8,18 @@ pkgname=vtk pkgver=5.8.0 -pkgrel=1 +pkgrel=2 pkgdesc='A software system for 3D computer graphics, image processing, and visualization which supports a wide variety of visualization algorithms and advanced modeling techniques.' arch=('i686' 'x86_64' 'mips64el') url='http://www.vtk.org' license=('BSD') -depends=('libpng' 'libtiff' 'freetype2' 'python2' 'java-runtime' 'tk' 'boost' 'ffmpeg' 'qt' 'lesstif' 'mysql') -optdepends=('gnuplot: plotting tools' +depends=('libpng' 'libtiff' 'freetype2' 'boost' 'ffmpeg' 'qt' 'lesstif' 'mysql') +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') -makedepends=('cmake' 'java-environment' 'doxygen' 'gnuplot' 'mesa') source=("http://www.vtk.org/files/release/${pkgver:0:3}/vtk-${pkgver}.tar.gz" "http://www.vtk.org/files/release/${pkgver:0:3}/vtkdata-${pkgver}.tar.gz" 'fixkernelversioncheck.diff') @@ -28,15 +31,9 @@ build() { cd VTK # fix compilation error: http://vtk.org/Bug/view.php?id=12568 - # remove next bunp + # remove next pkgver bump patch -Np1 -i ${srcdir}/fixkernelversioncheck.diff - # fix for libpng 1.4 - remove next time version bump - for _FILE in `grep -Rl "png_set_gray_1_2_4_to_8" *` - do - sed -i 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' ${_FILE} - done - cd ${srcdir} rm -rf build @@ -80,8 +77,6 @@ build() { -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ ${srcdir}/VTK - # j1 is used because of a bug in building with multiple threads - #make -j1 make } |