aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-10-14 23:38:41 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-10-14 23:45:35 +0200
commitb74d79dc5a1c26e9ef9cb6a367ac408cef034054 (patch)
treed28560bb58454d55d4f343bff1107860c172c1af
parent759318fd77f81e9045591923033ccb96c4ab5a16 (diff)
downloadpatches-b74d79dc5a1c26e9ef9cb6a367ac408cef034054.tar
patches-b74d79dc5a1c26e9ef9cb6a367ac408cef034054.tar.gz
gnu: gx-switchless-wah-lv2: Fix SSE detection.
* gnu/packages/music.scm (gx-switchless-wah-lv2)[arguments]: Add phase "escape-shell-commands".
-rw-r--r--gnu/packages/music.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 394d124a30..d5805b0403 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\",