gnu: blender: Update to 2.92.0.

* gnu/packages/graphics.scm (blender): Update to 2.92.0.
[arguments]: Set the NumPy header include path in #:configure-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
raingloom 2021-04-26 16:58:47 +02:00 committed by Leo Famulari
parent 88156c603a
commit 9ffa81fe64
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -503,14 +503,14 @@ (define-public openvdb
(define-public blender
(package
(name "blender")
(version "2.91.0")
(version "2.92.0")
(source (origin
(method url-fetch)
(uri (string-append "https://download.blender.org/source/"
"blender-" version ".tar.xz"))
(sha256
(base32
"0x396lgmk0dq9115yrc36s8zwxzmjr490sr5n2y6w27y17yllyjm"))))
"15a5vffn18a920286x0avbc2rap56k6y531wgibq68r90g2cz4g7"))))
(build-system cmake-build-system)
(arguments
(let ((python-version (version-major+minor (package-version python))))
@ -536,6 +536,9 @@ (define-public blender
(string-append "-DPYTHON_INCLUDE_DIR=" (assoc-ref %build-inputs "python")
"/include/python" ,python-version)
(string-append "-DPYTHON_VERSION=" ,python-version)
(string-append "-DPYTHON_NUMPY_INCLUDE_DIRS="
(assoc-ref %build-inputs "python-numpy")
"/lib/python" ,python-version "/site-packages/numpy/core/include/")
(string-append "-DPYTHON_NUMPY_PATH="
(assoc-ref %build-inputs "python-numpy")
"/lib/python" ,python-version "/site-packages/"))