[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: amsynth: Find external commands.
From: |
guix-commits |
Subject: |
10/10: gnu: amsynth: Find external commands. |
Date: |
Tue, 10 Nov 2020 14:05:33 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 28e2f27d5c36c3eed15e2d486dbd75edecbc6146
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Nov 9 22:26:19 2020 +0100
gnu: amsynth: Find external commands.
* gnu/packages/music.scm (amsynth)[arguments]: Add a ‘patch-file-names’
phase.
[inputs]: Add unzip and which.
---
gnu/packages/music.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3d2133b..0728144 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1804,6 +1804,16 @@ special variant of additive synthesis.")
(base32
"1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-file-names
+ (lambda _
+ (substitute* "src/GUI/editor_pane.c"
+ (("/usr/bin/unzip") (which "unzip")))
+ (substitute* "src/GUI/GUI.cc"
+ (("/usr/bin/which") (which "which")))
+ #t)))))
(inputs
`(("alsa-lib" ,alsa-lib)
("gtk+" ,gtk+-2)
@@ -1811,7 +1821,10 @@ special variant of additive synthesis.")
("jack" ,jack-1)
("lash" ,lash)
("libsndfile" ,libsndfile)
- ("lv2" ,lv2)))
+ ("lv2" ,lv2)
+ ;; External commands invoked at run time.
+ ("unzip" ,unzip)
+ ("which" ,which)))
(native-inputs
`(("intltool" ,intltool)
("pkg-config" ,pkg-config)))
- branch master updated (74b5b69 -> 28e2f27), guix-commits, 2020/11/10
- 07/10: gnu: rocksdb: Build reproducibly., guix-commits, 2020/11/10
- 09/10: gnu: amsynth: Order inputs alphabetically., guix-commits, 2020/11/10
- 04/10: gnu: xfconf: Update to 4.14.4., guix-commits, 2020/11/10
- 10/10: gnu: amsynth: Find external commands.,
guix-commits <=
- 06/10: gnu: jimtcl: Update to 0.80., guix-commits, 2020/11/10
- 02/10: gnu: ruby-chunky-png: Add warning about untrusted input., guix-commits, 2020/11/10
- 03/10: gnu: burp: Update to 2.3.38., guix-commits, 2020/11/10
- 01/10: gnu: ruby-chunky-png: Update to 1.3.14., guix-commits, 2020/11/10
- 05/10: gnu: mariadb-connector-c: Update to 3.1.11., guix-commits, 2020/11/10
- 08/10: gnu: enchant: Update to 2.2.13., guix-commits, 2020/11/10