Archived
1
0
Fork 0

gnu: glslang: Update to 8.13.3743.

* gnu/packages/vulkan.scm (glslang): Update to 8.13.3743.
[arguments]: Remove #:phases.
[native-inputs]: Remove BISON.  Add PYTHON.
This commit is contained in:
Marius Bakke 2020-05-22 14:57:57 +02:00 committed by Marius Bakke
parent 8a37a214ca
commit f3d3726e44
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -105,7 +105,7 @@ parser,disassembler, validator, and optimizer for SPIR-V.")
(define-public glslang (define-public glslang
(package (package
(name "glslang") (name "glslang")
(version "7.11.3214") (version "8.13.3743")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -114,21 +114,14 @@ parser,disassembler, validator, and optimizer for SPIR-V.")
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32
"0dqjga0lcza006fhac26zp2plbq4gx8a6nsmrwkqlzji6lw1jins")) "0d20wfpp2fmbnz1hnsjr9xc62lxpj86ik2qyviqbni0pqj212cry"))
(file-name (string-append name "-" version "-checkout")))) (file-name (string-append name "-" version "-checkout"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ;; No tests '(#:tests? #f)) ;FIXME: requires bundled SPIRV-Tools
;; glslang tries to set CMAKE_INSTALL_PREFIX manually. Remove the (native-inputs
;; offending line. `(("pkg-config" ,pkg-config)
#:phases (modify-phases %standard-phases ("python" ,python)))
(add-after 'patch-source-shebangs 'fix-cmakelists
(lambda _
(substitute* "CMakeLists.txt"
(("set.*CMAKE_INSTALL_PREFIX.*") ""))
#t)))))
(native-inputs `(("bison" ,bison)
("pkg-config" ,pkg-config)))
(home-page "https://github.com/KhronosGroup/glslang") (home-page "https://github.com/KhronosGroup/glslang")
(synopsis "OpenGL and OpenGL ES shader front end and validator") (synopsis "OpenGL and OpenGL ES shader front end and validator")
(description (description