summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-10-14 23:36:52 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-10-14 23:45:34 +0200
commitb9ac372c557414215b416764ddc28c5bad255c35 (patch)
treef10a7c86853d32bdb13c9e611d343df004021963
parent9d54b12a4917713148ea9967e1b4bee754c158b0 (diff)
downloadguix-b9ac372c557414215b416764ddc28c5bad255c35.tar.gz
gnu: gx-hyperion-lv2: Fix SSE detection.
* gnu/packages/music.scm (gx-hyperion-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 065c4b74c4..72006ff905 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2179,6 +2179,17 @@ saturation effect."))))
                  (base32
                   "12klcyc6l9v93ii3478mqz44jzvh5np1sk8zzdmz42jp0w8qd429"))
                 (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/GxHyperion.lv2")
       (synopsis "Simulation of the Hyperion Fuzz pedal")
       (description "This package provides the LV2 plugin \"GxHyperion\", a