summaryrefslogtreecommitdiff
path: root/community/vtk/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-12 10:48:47 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-12 10:48:47 -0300
commit52905437ad86d91ec0fa307f8322f6a5f265e505 (patch)
tree2053d0e96bf61fc1b307d1eb07bc4b9a68ff01e1 /community/vtk/PKGBUILD
parent214c4f12ab4dfb21722a383924603c21698282c5 (diff)
parent8867b1d4d0601b21618d44d015460739590ca01d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/abuse/PKGBUILD extra/glibmm/PKGBUILD
Diffstat (limited to 'community/vtk/PKGBUILD')
-rw-r--r--community/vtk/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD
index 26aa0ab0b..de7c26dba 100644
--- a/community/vtk/PKGBUILD
+++ b/community/vtk/PKGBUILD
@@ -7,23 +7,32 @@
pkgname=vtk
pkgver=5.6.1
-pkgrel=5
+pkgrel=6
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')
+depends=('libpng' 'libtiff' 'freetype2' 'python2' 'java-runtime' 'tk' 'boost' 'ffmpeg' 'qt' 'lesstif' 'mysql')
optdepends=('gnuplot: plotting tools'
'graphviz: drawing tools')
makedepends=('cmake' 'java-environment' 'doxygen' 'gnuplot' 'mesa')
source=("http://www.vtk.org/files/release/${pkgver:0:3}/${pkgname}-${pkgver}.tar.gz"
- "http://www.vtk.org/files/release/${pkgver:0:3}/vtkdata-${pkgver}.tar.gz")
+ "http://www.vtk.org/files/release/${pkgver:0:3}/vtkdata-${pkgver}.tar.gz"
+ 'missingheader.diff')
md5sums=('b80a76435207c5d0f74dfcab15b75181'
- '67263bd972f923d39a60f01104368779')
+ '67263bd972f923d39a60f01104368779'
+ 'f7c60ac3ccaf61c41ca508e53d895d3e')
build() {
cd VTK
+ # remove next time version bump
+ patch -Np1 -i ${srcdir}/missingheader.diff
+
+ # remove next time version bump
+ sed -i '31 i#include <vtksys/cstddef>' Common/vtkPythonUtil.cxx
+
+ # fix for libpng 1.4
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}
@@ -57,6 +66,7 @@ build() {
-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 \