diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-09-30 21:21:15 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-21 22:01:12 +0100 |
commit | 227a3a1d712bf50289270d32a642ef1c9d3aab03 (patch) | |
tree | 5fb7adc82527164abd271b0f92d3d61c151683ba /gnu | |
parent | 12ae7cb61aa9010a7d1597c22bca65fdb5bea69c (diff) | |
download | guix-227a3a1d712bf50289270d32a642ef1c9d3aab03.tar.gz guix-227a3a1d712bf50289270d32a642ef1c9d3aab03.zip |
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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/gl.scm | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 68c751ace5..01ab6135a4 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -587,30 +587,29 @@ from software emulation to complete hardware acceleration for modern GPUs.") (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)))) |