mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: mesa-utils: Install eglinfo.
* gnu/packages/gl.scm (mesa-utils)[inputs]: Remove input labels. [arguments]: Install eglinfo to bin. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
12ae7cb61a
commit
227a3a1d71
1 changed files with 17 additions and 18 deletions
|
@ -587,30 +587,29 @@ (define-public mesa-utils
|
|||
(source (mesa-demos-source version))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("mesa" ,mesa)
|
||||
("glut" ,freeglut)
|
||||
("glew" ,glew)))
|
||||
(list mesa freeglut glew))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace
|
||||
'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(mkdir-p (string-append out "/bin"))
|
||||
(for-each
|
||||
(lambda (file)
|
||||
(copy-file file (string-append out "/bin/" (basename file))))
|
||||
'("src/xdemos/glxdemo" "src/xdemos/glxgears"
|
||||
"src/xdemos/glxinfo" "src/xdemos/glxheads"))
|
||||
#t))))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out #$output))
|
||||
(mkdir-p (string-append out "/bin"))
|
||||
(for-each (lambda (file)
|
||||
(copy-file file
|
||||
(string-append out "/bin/"
|
||||
(basename file))))
|
||||
'("src/xdemos/glxdemo" "src/xdemos/glxgears"
|
||||
"src/egl/opengl/eglinfo"
|
||||
"src/xdemos/glxinfo" "src/xdemos/glxheads"))))))))
|
||||
(home-page "https://mesa3d.org/")
|
||||
(synopsis "Utility tools for Mesa")
|
||||
(description
|
||||
"The mesa-utils package contains several utility tools for Mesa: glxdemo,
|
||||
glxgears, glxheads, and glxinfo.")
|
||||
"The mesa-utils package contains several utility tools for Mesa: eglinfo,
|
||||
glxdemo, glxgears, glxheads, and glxinfo.")
|
||||
;; glxdemo is public domain; others expat.
|
||||
(license (list license:expat license:public-domain))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue