extra/blender to 4.0.2-11

This commit is contained in:
Kevin Mihelich 2024-02-11 02:08:37 +00:00
parent c6f2f8febd
commit dd63c8f1b1
2 changed files with 6 additions and 4 deletions
extra/blender

View file

@ -1,7 +1,7 @@
pkgbase = blender
pkgdesc = A fully integrated 3D graphics creation suite
pkgver = 4.0.2
pkgrel = 10
pkgrel = 11
epoch = 17
url = https://www.blender.org
arch = x86_64

View file

@ -18,7 +18,7 @@ buildarch=8
pkgname=blender
pkgver=4.0.2
pkgrel=10
pkgrel=11
epoch=17
pkgdesc="A fully integrated 3D graphics creation suite"
arch=('x86_64')
@ -73,6 +73,10 @@ prepare() {
# https://projects.blender.org/blender/blender/issues/117145
git cherry-pick -n eb99895c972b6c713294f68a34798aa51d36034a
# Fix compatibility with OSL 1.13.5
# https://projects.blender.org/blender/blender/issues/113157
git cherry-pick -n 798a0b301e640e73ae12e6f8a36a66746893bff1
# fix draco
patch -p1 -i "$srcdir"/force-draco1.patch
patch -p1 -d scripts/addons -i "$srcdir"/force-draco2.patch
@ -103,8 +107,6 @@ build() {
echo 'set(CYCLES_CUDA_BINARIES_ARCH sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 sm_80 sm_86 sm_87 sm_89 compute_89 CACHE STRING "CUDA architectures to build binaries for" FORCE)' > precache
echo 'mark_as_advanced(CYCLES_CUDA_BINARIES_ARCH)' >> precache
# Disable OSL until it's built with LLVM 16 otherwise we get stuff like
# https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/2
cmake \
-Bbuild \
-GNinja \