gnu: opensubdiv: Update to 3.6.0.
* gnu/packages/graphics.scm (opensubdiv): Update to 3.6.0. [arguments]: Use G-Expressions. Remove trailing #t from phases. Change-Id: Ie37f70a5146e5072b362a4439d0669ea19ca2869
This commit is contained in:
parent
2d62d08e45
commit
0f1e308f33
1 changed files with 12 additions and 13 deletions
|
@ -1875,7 +1875,7 @@ requirements.")
|
||||||
(define-public opensubdiv
|
(define-public opensubdiv
|
||||||
(package
|
(package
|
||||||
(name "opensubdiv")
|
(name "opensubdiv")
|
||||||
(version "3.4.0")
|
(version "3.6.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1885,20 +1885,19 @@ requirements.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0cippg6aqc5dlya1cmh3908pwssrg52fwgyylnvz5343yrxmgk12"))))
|
"0h9scxiigijzlpv4r0s0nhxlndhv1cmarb2bqgmlwcln1jjvlb4n"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
(list #:phases
|
||||||
(add-before 'configure 'set-glew-location
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-before 'configure 'set-glew-location
|
||||||
(setenv "GLEW_LOCATION" (assoc-ref inputs "glew"))
|
(lambda _
|
||||||
#t))
|
(setenv "GLEW_LOCATION" #$(this-package-input "glew"))))
|
||||||
(add-before 'check 'start-xorg-server
|
(add-before 'check 'start-xorg-server
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; The test suite requires a running X server.
|
;; The test suite requires a running X server.
|
||||||
(system "Xvfb :1 &")
|
(system "Xvfb :1 &")
|
||||||
(setenv "DISPLAY" ":1")
|
(setenv "DISPLAY" ":1"))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list xorg-server-for-tests))
|
(list xorg-server-for-tests))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in a new issue