summaryrefslogtreecommitdiff
path: root/libre/blender/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-25 15:04:25 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-05-25 15:08:21 -0400
commit0178674ffac7742e8d6256a91b323c95a7858409 (patch)
tree595bd52c9c037087f38a8fbe15f6b475b77b8e4d /libre/blender/PKGBUILD
parent201f175435aafb66c6e6e41d5acc9083ddc5973e (diff)
downloadabslibre-0178674ffac7742e8d6256a91b323c95a7858409.tar.gz
abslibre-0178674ffac7742e8d6256a91b323c95a7858409.tar.bz2
abslibre-0178674ffac7742e8d6256a91b323c95a7858409.zip
[blender]: rebuild against openvdb=5.1 - fails to build
Diffstat (limited to 'libre/blender/PKGBUILD')
-rw-r--r--libre/blender/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD
index 1436ea6f6..ac8f31458 100644
--- a/libre/blender/PKGBUILD
+++ b/libre/blender/PKGBUILD
@@ -1,4 +1,3 @@
-# $Id$
# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor (Arch): John Sowiak <john@archlinux.org>
# Contributor (Arch): tobias <tobias@archlinux.org>
@@ -23,7 +22,7 @@ pkgname=blender
pkgver=2.79.b
#[[ -n $_gitcommit ]] && pkgver=${pkgver}.git1.${_gitcommit}
pkgrel=5
-pkgrel+=.parabola1
+pkgrel+=.parabola2
epoch=17
pkgdesc="A fully integrated 3D graphics creation suite"
pkgdesc+=", without nonfree CUDA support"
@@ -35,8 +34,8 @@ depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' 'python-requ
'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' 'openjpeg' 'python-numpy'
'freetype2' 'openal' 'ffmpeg' 'fftw' 'boost-libs' 'opencollada' 'alembic'
'openimageio' 'libsndfile' 'jack' 'opencolorio' 'openshadinglanguage'
- 'jemalloc' 'libspnav' 'ptex' 'opensubdiv' 'openvdb' 'log4cplus' 'sdl2')
-makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'gcc6')
+ 'jemalloc' 'libspnav' 'ptex' 'opensubdiv' 'openvdb>=5.1' 'openvdb<5.2' 'log4cplus' 'sdl2')
+makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'gcc>=6.3')
if [[ "$CARCH" == arm* ]]; then
makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm')
fi
@@ -74,6 +73,14 @@ prepare() {
# openvdb 5 fix
sed -i "s/OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER == 3/OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER >= 3/g" intern/openvdb/intern/openvdb_writer.cc
+
+ # ffmpeg has renamed some defines
+ sed -i "s|FF_MIN_BUFFER_SIZE|AV_INPUT_BUFFER_MIN_SIZE|g ; \
+ s|FF_INPUT_BUFFER_PADDING_SIZE|AV_INPUT_BUFFER_PADDING_SIZE|g" \
+ intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp
+ sed -i "s|FF_MIN_BUFFER_SIZE|AV_INPUT_BUFFER_MIN_SIZE|g ; \
+ s|CODEC_FLAG_GLOBAL_HEADER|AV_CODEC_FLAG_GLOBAL_HEADER|g" \
+ intern/audaspace/ffmpeg/AUD_FFMPEGWriter.cpp
}
build() {