summaryrefslogtreecommitdiff
path: root/community/vtk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-14 23:14:41 +0000
committerroot <root@rshg054.dnsready.net>2011-09-14 23:14:41 +0000
commitd5effc9aadfb9ed5890376ca9497eef52fafcf83 (patch)
treef630036c6ee41473fffa6086618dcc803d1fe391 /community/vtk
parenta712dc92423a31a4d3ab34fe660df550feebf442 (diff)
Wed Sep 14 23:14:41 UTC 2011
Diffstat (limited to 'community/vtk')
-rw-r--r--community/vtk/PKGBUILD21
1 files changed, 8 insertions, 13 deletions
diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD
index 6d3d8a7bc..d1f035081 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')
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
}