[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: pioneers: Patch path to beep.
From: |
guix-commits |
Subject: |
02/08: gnu: pioneers: Patch path to beep. |
Date: |
Mon, 3 May 2021 12:29:24 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit fa7dc25c2faa4769b3a053a41bb251dcc1233305
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Sun May 2 14:41:12 2021 +0200
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>
---
gnu/packages/games.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 8bd3c95..f12f2bc 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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)
- branch master updated (d94e9cb -> 88156c6), guix-commits, 2021/05/03
- 01/08: gnu: xboard: Patch path to aplay., guix-commits, 2021/05/03
- 02/08: gnu: pioneers: Patch path to beep.,
guix-commits <=
- 03/08: gnu: git-modes: Update to 1.3.0., guix-commits, 2021/05/03
- 04/08: gnu: chessx: Disable online version check by default., guix-commits, 2021/05/03
- 05/08: gnu: octave, octave-cli: Explain difference., guix-commits, 2021/05/03
- 07/08: gnu: Add perl-linux-inotify2., guix-commits, 2021/05/03
- 06/08: gnu: odamex: Update to 0.9.0., guix-commits, 2021/05/03
- 08/08: gnu: public-inbox: Update to 1.6.1., guix-commits, 2021/05/03