gnu: glad-0.1: Use gexps.

* gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps.

Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992
This commit is contained in:
Hilton Chain 2023-12-22 21:11:35 +08:00
parent b005a6f1d9
commit 4d49401031
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -208,13 +208,13 @@ (define-public glad-0.1
"0m55ya1zrmg6n2cljkajy80ilmi5sblln8742fm0k1sw9k7hzn8n"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'install-cmakelists.txt
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(share (string-append out "/share/" ,name)))
(install-file "CMakeLists.txt" share)))))))
(list #:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-cmakelists.txt
(lambda _
(let ((share (string-append #$output "/share/"
#$(package-name this-package))))
(install-file "CMakeLists.txt" share)))))))
(home-page "https://github.com/Dav1dde/glad")
(synopsis "Multi-language GL/GLES/EGL/GLX/WGL loader generator")
(description "Glad uses the official Khronos XML specifications to