summaryrefslogtreecommitdiff
path: root/libre/blender
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender')
-rw-r--r--libre/blender/PKGBUILD68
1 files changed, 45 insertions, 23 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD
index 9b8eb662f..45dc9e94a 100644
--- a/libre/blender/PKGBUILD
+++ b/libre/blender/PKGBUILD
@@ -12,18 +12,19 @@
# unreasonable.
# git:
-_git='no'
+_git='yes'
+_gitver='no'
_gitrev='git1'
_gittagver='2.78'
-_gittagrev='b'
+_gittagrev='c'
_gitaddtagver="$_gittagver$_gittagrev"
_gittratagver="$_gittagver"
_gitdevtagver="$_gittagver"
-_gitcommit='e8299c81006aba1e4b926c24276ce09d70435371' # Blender
-_gitaddonscommit='7431449db6bd37edb3458f4afbec9034fb1a324c' # Blender Addons
-_gitaddonscontribcommit='f91d5e88b5b6fe7d2d7e75f95fe0bab2a99169d6' # Blender Addons Contrib
-_gittranslationscommit='0171e7ca48c845fce040d12a26d314d3c573f9af' # Blender Translation
-_gitdevtoolscommit='896c5f78952adb2d091d28c65086d46992dabdac' # Blender Dev Tools
+_gitcommit='e92f235283071c13759bc4e6e861e4e938985307' # Blender
+_gitaddonscommit='80477b2824fbc355305809c9729fd2fbba79acfa' # Blender Addons
+_gitaddonscontribcommit='ceb924dff84c4d670e2a77bab31f21491d08bba5' # Blender Addons Contrib
+_gittranslationscommit='507eacde9608ce0190c6087fb338dd63f7a1649b' # Blender Translation
+_gitdevtoolscommit='b11375e89061303401376f7aeae42ac2fd64692a' # Blender Dev Tools
# JPEG/LLVM/PovRay/Python version:
_jpgver='1.5'
@@ -35,9 +36,9 @@ pkgbase='blender'
pkgname=("${pkgbase}" "${pkgbase}-addon-gimp" "${pkgbase}-addon-povray")
# pkgver:
-if [[ "${_git}" = 'yes' ]]; then
- pkgver="${_gittagver}.${_gitrev}.${_gitcommit::7}" # Git Commit
-elif [[ "${_git}" = 'no' ]]; then
+if [[ "${_git}" = 'yes' && "${_gitver}" = 'yes' ]]; then
+ pkgver="${_gittagver}${_gitrev}.${_gitcommit::7}" # Git Commit
+elif [[ "${_gitver}" = 'no' ]]; then
[[ -z "${_gittagrev}" ]] && \
pkgver="${_gittagver}" # Official Release
[[ "${#_gittagrev}" > 1 ]] && \
@@ -52,14 +53,14 @@ pkgdesc='A fully integrated 3D graphics creation suite, without nonfree CUDA sup
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
url="http://www.${pkgbase}.org"
-depends=('alembic' 'boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freeglut' 'freetype2'
- 'glew' 'hicolor-icon-theme' 'jack' 'jemalloc' 'libpng' 'libsndfile' 'libspnav'
- 'libtiff' 'log4cplus' 'openal' 'opencolorio' 'opencollada' 'openexr'
+depends=('alembic' 'boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freeglut'
+ 'freetype2' 'glew' 'hicolor-icon-theme' 'jack' 'jemalloc' 'libpng' 'libsndfile'
+ 'libspnav' 'libtiff' 'log4cplus' 'openal' 'opencolorio' 'opencollada' 'openexr'
'openimageio' 'openjpeg' 'openshadinglanguage' 'opensubdiv' 'openvdb'
'python' 'python-requests' 'sdl2' 'shared-mime-info' 'xdg-utils')
- # 'ptex' has been disabled since building fails
+ # 'bullet' 'eigen' 'ptex'
makedepends=('boost' 'cmake' 'git' 'llvm35' 'mesa')
- # 'bullet' (boost: for cycles, booleans, audaspace and/or i18n)
+ # (boost: for cycles, booleans, audaspace and/or i18n)
options=('!strip')
# source:
@@ -142,8 +143,7 @@ build() {
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
- -DCYCLES_OSL='/usr' \
- -DLLVM_STATIC='ON' \
+ -DLLVM_STATIC='OFF' \
-DLLVM_VERSION="${_llvmver}" \
-DOPENIMAGEIO_ROOT_DIR='/usr' \
-DOPENJPEG_INCLUDE_DIR="/usr/include/openjpeg-${_jpgver}" \
@@ -153,27 +153,38 @@ build() {
-DPYTHON_VERSION="${_pyver}" \
-DSUPPORT_SSE_BUILD="${_SSE}" \
-DSUPPORT_SSE2_BUILD="${_SSE2}" \
+ -DWITH_ALEMBIC='ON' \
+ -DWITH_ALEMBIC_HDF5='OFF' \
-DWITH_AUDASPACE='ON' \
-DWITH_ASSERT_ABORT='OFF' \
-DWITH_BLENDER='ON' \
-DWITH_BOOST='ON' \
- -DWITH_BOOST_ICU='OFF' \
+ -DWITH_BOOST_ICU='ON' \
-DWITH_BUILDINFO='ON' \
-DWITH_BULLET='ON' \
-DWITH_CODEC_AVI='ON' \
-DWITH_CODEC_FFMPEG='ON' \
-DWITH_CODEC_SNDFILE='ON' \
-DWITH_COMPOSITOR='ON' \
- -DWITH_CPP11='ON' \
-DWITH_CXX_GUARDEDALLOC='OFF' \
-DWITH_CYCLES='ON' \
-DWITH_CYCLES_CUDA_BINARIES='OFF' \
+ -DWITH_CYCLES_DEVICE_CUDA='OFF' \
+ -DWITH_CYCLES_DEVICE_MULTI='ON' \
+ -DWITH_CYCLES_DEVICE_OPENCL='ON' \
+ -DWITH_CYCLES_LOGGING='ON' \
+ -DWITH_CYCLES_NATIVE_ONLY='OFF' \
+ -DWITH_CYCLES_NETWORK='ON' \
+ -DWITH_CYCLES_OPENSUBDIV='OFF' \
+ -DWITH_CYCLES_OSL='OFF' \
-DWITH_CYCLES_PTEX='OFF' \
- -DWITH_CYCLES_STANDALONE='OFF' \
- -DWITH_CYCLES_STANDALONE_GUI='OFF' \
+ -DWITH_CYCLES_STANDALONE='ON' \
+ -DWITH_CYCLES_STANDALONE_GUI='ON' \
+ -DWITH_DOC_MANPAGE='ON' \
-DWITH_FFTW3='ON' \
-DWITH_FREESTYLE='ON' \
-DWITH_GAMEENGINE='ON' \
+ -DWITH_GAMEENGINE_DECKLINK='ON' \
-DWITH_GHOST_DEBUG='OFF' \
-DWITH_GHOST_SDL='OFF' \
-DWITH_GHOST_XDND='ON' \
@@ -200,24 +211,30 @@ build() {
-DWITH_INTERNATIONAL='ON' \
-DWITH_JACK='ON' \
-DWITH_JACK_DYNLOAD='OFF' \
- -DWITH_LIBMV='OFF' \
+ -DWITH_LEGACY_DEPSGRAPH='ON' \
+ -DWITH_LIBMV='ON' \
+ -DWITH_LIBMV_SCHUR_SPECIALIZATIONS='ON' \
-DWITH_LLVM='ON' \
-DWITH_LZMA='ON' \
-DWITH_LZO='ON' \
-DWITH_MEM_JEMALLOC='OFF' \
-DWITH_MEM_VALGRIND='OFF' \
-DWITH_MOD_BOOLEAN='ON' \
- -DWITH_MOD_CLOTH_ELTOPO='OFF' \
+ -DWITH_MOD_CLOTH_ELTOPO='ON' \
-DWITH_MOD_FLUID='ON' \
-DWITH_MOD_OCEANSIM='ON' \
-DWITH_MOD_REMESH='ON' \
-DWITH_MOD_SMOKE='ON' \
-DWITH_OPENAL='ON' \
+ -DWITH_OPENGL_TESTS='OFF' \
-DWITH_OPENIMAGEIO='ON' \
-DWITH_OPENCOLLADA='ON' \
-DWITH_OPENCOLORIO='ON' \
-DWITH_OPENMP='ON' \
+ -DWITH_OPENMP_STATIC='OFF' \
+ -DWITH_OPENSUBDIV='OFF' \
-DWITH_OPENVDB='ON' \
+ -DWITH_OPENVDB_BLOSC='ON' \
-DWITH_PLAYER='ON' \
-DWITH_PYTHON='ON' \
-DWITH_PYTHON_INSTALL='OFF' \
@@ -230,9 +247,14 @@ build() {
-DWITH_SDL='ON' \
-DWITH_SDL_DYNLOAD='OFF' \
-DWITH_STATIC_LIBS='OFF' \
+ -DWITH_SYSTEM_AUDASPACE='OFF' \
-DWITH_SYSTEM_BULLET='OFF' \
+ -DWITH_SYSTEM_EIGEN3='OFF' \
-DWITH_SYSTEM_GLEW='ON' \
+ -DWITH_SYSTEM_GLES='ON' \
+ -DWITH_SYSTEM_LZO='ON' \
-DWITH_SYSTEM_OPENJPEG='ON' \
+ -DWITH_X11_ALPHA='ON' \
-DWITH_X11_XF86VMODE='ON' \
-DWITH_X11_XINPUT='ON'
make # -j5 needs 48 GB of RAM while -j9 needs 64 GB