summaryrefslogtreecommitdiff
path: root/libre/blender/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender/PKGBUILD')
-rw-r--r--libre/blender/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD
index 46116b1bc..1436ea6f6 100644
--- a/libre/blender/PKGBUILD
+++ b/libre/blender/PKGBUILD
@@ -16,16 +16,19 @@
# or simply roll with a new version. I usually choose the latter when the former seems
# unreasonable.
- _gittag=v2.79
+ _gittag=v2.79b
#_gitcommit=3c3d0898b0c1a1d7da70f4a1778d4360b3cfe5c8
pkgname=blender
-pkgver=2.79
+pkgver=2.79.b
#[[ -n $_gitcommit ]] && pkgver=${pkgver}.git1.${_gitcommit}
-pkgrel=9.parabola1
+pkgrel=5
+pkgrel+=.parabola1
epoch=17
-pkgdesc="A fully integrated 3D graphics creation suite, without nonfree CUDA support"
-arch=('x86_64' 'i686' 'armv7h')
+pkgdesc="A fully integrated 3D graphics creation suite"
+pkgdesc+=", without nonfree CUDA support"
+arch=('x86_64')
+arch+=('i686' 'armv7h')
license=('GPL')
url="http://www.blender.org"
depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' 'python-requests'
@@ -33,9 +36,9 @@ depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' 'python-requ
'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' 'llvm35' 'gcc6')
+makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'gcc6')
if [[ "$CARCH" == arm* ]]; then
- makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm35')
+ makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm')
fi
options=(!strip)
source=("git://git.blender.org/blender-addons.git"
@@ -66,9 +69,11 @@ prepare() {
git config submodule."scons".url ${srcdir}/scons
git submodule update
- msg 'correcting OS name'
- sed -i 's|BUILD_PLATFORM;|"GNU/Linux-libre";|' \
- 'source/creator/buildinfo.c'
+ # fix OS Name (pedantic, I know)
+ sed -i 's|BUILD_PLATFORM;|"GNU/Linux-libre";|' 'source/creator/buildinfo.c'
+
+ # 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
}
build() {