mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 12:17:10 -05:00
gnu: xboard: Patch path to aplay.
Fixes <http://issues.guix.gnu.org/47195>. * gnu/packages/games.scm (xboard): Patch path to aplay. [inputs]: Add alsa-utils. [arguments]: Add phase patch-aplay-path. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d94e9cb774
commit
55b6e1a7ad
1 changed files with 12 additions and 1 deletions
|
@ -3323,8 +3323,19 @@ (define-public xboard
|
||||||
(base32
|
(base32
|
||||||
"1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib"))))
|
"1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Fixes https://issues.guix.gnu.org/47195.
|
||||||
|
(add-after 'unpack 'patch-aplay-path
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "xboard.conf"
|
||||||
|
(("aplay -q")
|
||||||
|
(string-append (assoc-ref inputs "alsa-utils") "/bin/aplay -q")))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("gtk+" ,gtk+-2)
|
`(("alsa-utils" ,alsa-utils)
|
||||||
|
("gtk+" ,gtk+-2)
|
||||||
("librsvg" ,librsvg)))
|
("librsvg" ,librsvg)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("texinfo" ,texinfo)
|
`(("texinfo" ,texinfo)
|
||||||
|
|
Loading…
Reference in a new issue