rekado pushed a commit to branch master
in repository guix.

commit b74d79dc5a1c26e9ef9cb6a367ac408cef034054
Author: Ricardo Wurmus <rek...@elephly.net>
Date:   Fri Oct 14 23:38:41 2016 +0200

    gnu: gx-switchless-wah-lv2: Fix SSE detection.
    
    * gnu/packages/music.scm (gx-switchless-wah-lv2)[arguments]: Add phase
    "escape-shell-commands".
---
 gnu/packages/music.scm |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 394d124..d5805b0 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2338,6 +2338,17 @@ slow gear audio effect to produce volume swells."))))
                  (base32
                   "0g6njgsm8s76n6yys09a8w77z93pjjgqq9hzhhsrl73hhvyr9qmy"))
                 (file-name (string-append name "-" version "-checkout"))))
+      (arguments
+       (substitute-keyword-arguments (package-arguments gx-guvnor-lv2)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'escape-shell-commands
+               (lambda _
+                 (substitute* "Makefile"
+                   (("cat ") "$(shell cat ")
+                   (("/dev/null") "/dev/null)")
+                   (("SSE_CFLAGS = \"\"") "SSE_CFLAGS ="))
+                 #t))))))
       (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2";)
       (synopsis "Wah emulation with switchless activation")
       (description "This package provides the LV2 plugin \"GxSwitchlessWah\",

Reply via email to