summaryrefslogtreecommitdiff
path: root/community/vtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vtk/PKGBUILD')
-rw-r--r--community/vtk/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD
index 6f896a7c9..40d3a2a99 100644
--- a/community/vtk/PKGBUILD
+++ b/community/vtk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 58425 2011-11-12 17:19:02Z ibiru $
+# $Id: PKGBUILD 61185 2011-12-23 22:04:01Z tdziedzic $
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Christofer Bertonha <christoferbertonha at gmail dot com>
# Contributor: leepesjee <lpeschier at xs4all dot nl>
@@ -9,7 +9,7 @@
pkgname=vtk
pkgver=5.8.0
-pkgrel=6
+pkgrel=7
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'
@@ -24,11 +24,13 @@ optdepends=('python2: python bindings'
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'
- 'ffmpeg-0.8.diff')
+ 'ffmpeg-0.8.diff'
+ 'fix-boost-graph-api-changes.diff')
md5sums=('37b7297d02d647cc6ca95b38174cb41f'
'a05295b81930e894fc0e31866f399151'
'9e137af23701f76fc727222ebac23389'
- 'e992321c9d1def6034d0fa6607b40c5a')
+ 'e992321c9d1def6034d0fa6607b40c5a'
+ 'e715aef2aea26fc05f904efb5d0d5627')
build() {
cd VTK
@@ -41,6 +43,10 @@ build() {
# remove next pkgver bump
patch -Np1 -i ${srcdir}/ffmpeg-0.8.diff
+ # fix compilation error: http://vtk.org/Bug/view.php?id=12772
+ # remove next pkgver bump
+ patch -Np1 -i ${srcdir}/fix-boost-graph-api-changes.diff
+
cd ${srcdir}
rm -rf build
@@ -82,6 +88,7 @@ build() {
-DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
${srcdir}/VTK
make