diff options
author | Glen D'souza | 2016-04-15 14:51:15 +0530 |
---|---|---|
committer | Glen D'souza | 2016-04-15 14:51:15 +0530 |
commit | 6e2d190264c94c8162ba50cd4746775dcde2d4af (patch) | |
tree | 9a6032b16664756023094cbb29475c7c1c3eaca2 /PKGBUILD | |
parent | b8b26b1d66b3c900f65ae703df4db754ee8c0f4b (diff) | |
download | aur-6e2d190264c94c8162ba50cd4746775dcde2d4af.tar.gz |
Fix building with ffmpeg3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
@@ -1,25 +1,32 @@ -# Maintainer: Glen Dsouza <glen@teameos.org> +# Maintainer: Glen Dsouza <gdsouza@linuxmail.org> # Contributor: jmf <jmf at mesecons dot net> pkgname=openscenegraph-git -pkgver=20151212 +pkgver=20160415 pkgrel=1 -_gitname=osg +_gitname=OpenSceneGraph pkgdesc="An open source, high performance real-time graphics toolkit - git mirror" arch=('i686' 'x86_64') url="http://www.openscenegraph.org/" license=('GPL') depends=('giflib' 'jasper' 'librsvg' 'xine-lib' 'curl' 'pth') -makedepends=('cmake' 'libvncserver' 'qt5-base' 'ffmpeg-compat' 'mesa') -optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib' 'qt5-base' 'ffmpeg-compat') -provides=('openscenegraph-git' 'openscenegraph') -conflicts=('openscenegraph' 'openscenegraph-svn') -source=(git://github.com/openscenegraph/osg.git) -md5sums=('SKIP') +makedepends=('cmake' 'libvncserver' 'qt5-base' 'ffmpeg' 'mesa') +optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib' 'qt5-base' 'ffmpeg') +provides=('openscenegraph-git' 'openscenegraph' 'openthreads') +conflicts=('openscenegraph' 'openscenegraph-svn' 'openthreads') +source=(git://github.com/openscenegraph/OpenSceneGraph.git openscenegraph-ffmpeg3.patch) +md5sums=('SKIP' + 'f8151db111ad492ea3bf93971f9a32a9') pkgver() { echo "$(date +"%Y%m%d")" } +prepare() { + cd OpenSceneGraph +# Fix build with ffmpeg 3.0 (Debian) + patch -p2 -i ../openscenegraph-ffmpeg3.patch +} + build() { mkdir ${srcdir}/${_gitname}-build/ cd "${srcdir}/${_gitname}-build/" |