gnu: blender: Update to 3.6.10.
* gnu/packages/graphics.scm (blender): Update to 3.6.10. [arguments]<#:configure-flags>: Unset "-DCMAKE_CXX_FLAGS". <#:phases>: Delete the fix-broken-import phase. [inputs]: Add libepoxy. Replace freetype with freetype-with-brotli, ilmbase with imath, openexr-2 with openexr. Change-Id: Ifb5e5cdb4d26aac9626bf5cd77e171d8b0ebfaed
This commit is contained in:
parent
0333fcc952
commit
ebaf658acd
1 changed files with 7 additions and 20 deletions
|
@ -493,14 +493,14 @@ typically encountered in feature film production.")
|
||||||
(define-public blender
|
(define-public blender
|
||||||
(package
|
(package
|
||||||
(name "blender")
|
(name "blender")
|
||||||
(version "3.3.5") ;3.3.x is the current LTS version
|
(version "3.6.10") ;3.6.x is the current LTS version
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://download.blender.org/source/"
|
(uri (string-append "https://download.blender.org/source/"
|
||||||
"blender-" version ".tar.xz"))
|
"blender-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1pwl4lbc00g0bj97rd8l9fnrv3w1gny9ci6mrma3pp2acgs56502"))))
|
"1srwr365y40hhpjmfsg52rphdybvin0ay2r23pknm7b9pkpw0wqs"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -536,32 +536,19 @@ typically encountered in feature film production.")
|
||||||
(string-append "-DPYTHON_NUMPY_PATH="
|
(string-append "-DPYTHON_NUMPY_PATH="
|
||||||
(assoc-ref %build-inputs "python-numpy")
|
(assoc-ref %build-inputs "python-numpy")
|
||||||
"/lib/python" #$python-version
|
"/lib/python" #$python-version
|
||||||
"/site-packages/")
|
"/site-packages/")))))
|
||||||
;; OpenEXR propagates ilmbase, but its include files do not
|
|
||||||
;; appear in the C_INCLUDE_PATH, so we need to add
|
|
||||||
;; "$ilmbase/include/OpenEXR/" to the C_INCLUDE_PATH to
|
|
||||||
;; satisfy the dependency on "half.h" and "Iex.h".
|
|
||||||
(string-append "-DCMAKE_CXX_FLAGS=-I"
|
|
||||||
(search-input-directory %build-inputs
|
|
||||||
"include/OpenEXR"))))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-broken-import
|
|
||||||
(lambda _
|
|
||||||
(substitute* "release/scripts/addons/io_scene_fbx/json2fbx.py"
|
|
||||||
(("import encode_bin")
|
|
||||||
"from . import encode_bin")))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list boost
|
(list boost
|
||||||
embree
|
embree
|
||||||
ffmpeg-5
|
ffmpeg-5
|
||||||
fftw
|
fftw
|
||||||
freetype
|
freetype-with-brotli
|
||||||
glew
|
glew
|
||||||
gmp ;needed for boolean operations on meshes
|
gmp ;needed for boolean operations on meshes
|
||||||
ilmbase
|
imath
|
||||||
jack-1
|
jack-1
|
||||||
jemalloc
|
jemalloc
|
||||||
|
libepoxy
|
||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
libpng
|
libpng
|
||||||
libsndfile
|
libsndfile
|
||||||
|
@ -571,7 +558,7 @@ typically encountered in feature film production.")
|
||||||
libxrender
|
libxrender
|
||||||
openal
|
openal
|
||||||
opencolorio
|
opencolorio
|
||||||
openexr-2
|
openexr
|
||||||
openimageio
|
openimageio
|
||||||
openjpeg
|
openjpeg
|
||||||
opensubdiv
|
opensubdiv
|
||||||
|
|
Reference in a new issue