mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: mesa: Use 'modify-phases'.
* gnu/packages/gl.scm (mesa)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
5c6d027306
commit
e8a7a180e8
1 changed files with 38 additions and 37 deletions
|
@ -252,14 +252,16 @@ (define-public mesa
|
|||
'())
|
||||
(_
|
||||
'("--with-dri-drivers=nouveau,r200,radeon,swrast"))))
|
||||
#:phases (alist-cons-after
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'patch-create_test_cases
|
||||
(lambda _
|
||||
(substitute* "src/compiler/glsl/tests/lower_jumps/create_test_cases.py"
|
||||
(("/usr/bin/env bash") (which "bash")))
|
||||
(substitute* "src/intel/genxml/gen_pack_header.py"
|
||||
(("/usr/bin/env python2") (which "python"))))
|
||||
(alist-cons-before
|
||||
(("/usr/bin/env python2") (which "python")))))
|
||||
(add-before
|
||||
'build 'fix-dlopen-libnames
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((s2tc (assoc-ref inputs "s2tc"))
|
||||
|
@ -287,8 +289,7 @@ (define-public mesa
|
|||
;; it's never installed since Mesa removed its
|
||||
;; egl_gallium support.
|
||||
(("\"gbm_dri\\.so")
|
||||
(string-append "\"" out "/lib/dri/gbm_dri.so")))))
|
||||
%standard-phases))))
|
||||
(string-append "\"" out "/lib/dri/gbm_dri.so")))))))))
|
||||
(home-page "http://mesa3d.org/")
|
||||
(synopsis "OpenGL implementation")
|
||||
(description "Mesa is a free implementation of the OpenGL specification -
|
||||
|
|
Loading…
Reference in a new issue