me
/
guix
Archived
1
0
Fork 0

gnu: pioneers: Patch path to beep.

Fixes <https://issues.guix.gnu.org/47131>

* gnu/packages/games.scm (pioneers): Patch path to beep.
[inputs]: Add beep.
[arguments]: Add phase patch-beep-path.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Michael Rohleder 2021-05-02 14:41:12 +02:00 committed by Ludovic Courtès
parent 55b6e1a7ad
commit fa7dc25c2f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 0 deletions

View File

@ -4711,7 +4711,18 @@ are only two levels to play with, but they are very addictive.")
(base32
"07b3xdd81n8ybsb4fzc5lx0813y9crzp1hj69khncf4faj48sdcs"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
;; Fixes https://issues.guix.gnu.org/47131.
(add-after 'unpack 'patch-beep-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "client/gtk/audio.c"
(("\"beep\"")
(string-append "\"" (assoc-ref inputs "beep") "/bin/beep\"")))
#t)))))
(inputs `(("avahi" ,avahi)
("beep" ,beep)
("gtk+" ,gtk+)
("librsvg" ,librsvg)))
(native-inputs `(("intltool" ,intltool)