summaryrefslogtreecommitdiff
path: root/community/paraview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/paraview/PKGBUILD')
-rw-r--r--community/paraview/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/paraview/PKGBUILD b/community/paraview/PKGBUILD
index 32fce25f2..fb95c3280 100644
--- a/community/paraview/PKGBUILD
+++ b/community/paraview/PKGBUILD
@@ -4,23 +4,28 @@
pkgname=paraview
pkgver=3.12.0
-pkgrel=3
+pkgrel=5
pkgdesc='Parallel Visualization Application using VTK'
arch=('i686' 'x86_64')
url='http://www.paraview.org'
license=('custom')
-depends=('qt' 'python2' 'libgl' 'libxml2' 'unixodbc' 'postgresql-libs' 'libxt' 'qtwebkit' 'libmysqlclient' 'mesa' 'openmpi' 'boost-libs' 'hdf5' 'libcgns2' 'libtiff' 'libtheora')
+depends=('qt' 'python2' 'libgl' 'unixodbc' 'postgresql-libs' 'libxt' 'qtwebkit' 'libmysqlclient' 'mesa' 'openmpi' 'boost-libs' 'libcgns2'
+ # The following is a list of libraries we explicitly tell cmake to use the system library of
+ 'hdf5' 'freetype2' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'expat' 'libxml2' 'libtheora'
+ )
makedepends=('cmake' 'desktop-file-utils' 'boost')
source=("http://paraview.org/files/v${pkgver:0:4}/ParaView-${pkgver}.tar.gz"
'paraview.png'
'paraview.desktop'
'fix-boost-graph-api-changes.diff'
- '12859-VisItBrige-external-tiff-support.diff')
+ '12859-VisItBrige-external-tiff-support.diff'
+ 'fix-build-with-zlib-1.2.6.diff')
md5sums=('8feabc6261e2060648eaac593d85b1de'
'db623002bc71a257ddfdd0c9c7b14c3f'
'4e4b7172ed18171c37446fd7c4f1e8f5'
'2aa5b98288cadd201ffbd057f18929b0'
- '9321279c8fc6f289a7cf228648edcb5f')
+ '9321279c8fc6f289a7cf228648edcb5f'
+ 'e4506b4ed0d2ae60072388f098be6c33')
build() {
cd ParaView-${pkgver}/VTK
@@ -32,6 +37,10 @@ build() {
# fix http://paraview.org/Bug/view.php?id=12849 remove on next pkgver bump
patch -Np1 -i ${srcdir}/12859-VisItBrige-external-tiff-support.diff
+ cd ${srcdir}/ParaView-${pkgver}
+ # fix http://paraview.org/Bug/view.php?id=12924
+ patch -Np0 -i ${srcdir}/fix-build-with-zlib-1.2.6.diff
+
mkdir ${srcdir}/build
cd ${srcdir}/build