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:
parent
88156c603a
commit
9ffa81fe64
|
@ -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/"))
|
||||
|
|
Loading…
Reference in a new issue