community/openscenegraph fix

This commit is contained in:
Kevin Mihelich 2016-12-08 01:11:44 +00:00
parent 9c8a2df33a
commit 22d93a56ec

View file

@ -6,6 +6,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - build v5/6/7 for GLES
# - upstream patch for signed char
pkgname=openscenegraph
pkgver=3.4.0
@ -19,14 +20,17 @@ makedepends=('cmake' 'libvncserver' 'qt5-base' 'ffmpeg' 'mesa')
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib' 'qt5-base' 'ffmpeg')
conflicts=('openthreads')
provides=('openthreads')
source=(http://trac.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-$pkgver.zip openscenegraph-ffmpeg3.patch)
source=(http://trac.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-$pkgver.zip openscenegraph-ffmpeg3.patch
https://github.com/openscenegraph/OpenSceneGraph/commit/01c712e85195803993acb1d7712796cf494943c6.patch)
md5sums=('a5e762c64373a46932e444f6f7332496'
'f8151db111ad492ea3bf93971f9a32a9')
'f8151db111ad492ea3bf93971f9a32a9'
'fa5d9d8369d93a02c6c7b4a2f5fd24e2')
prepare() {
cd OpenSceneGraph-$pkgver
# Fix build with ffmpeg 3.0 (Debian)
patch -p2 -i ../openscenegraph-ffmpeg3.patch
patch -p1 -i ../01c712e85195803993acb1d7712796cf494943c6.patch
}
build() {