gnu: gx-saturator-lv2: Fix SSE detection.

* gnu/packages/music.scm (gx-saturator-lv2)[arguments]: Add phase
"escape-shell-commands".
This commit is contained in:
Ricardo Wurmus 2016-10-14 23:35:52 +02:00
parent b013c33f6f
commit 9d54b12a49
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -2148,6 +2148,17 @@ (define-public gx-saturator-lv2
(base32
"13cf5gxr2wzp5954hdhbl79v98a665ll5434mb3668p4j33sv217"))
(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/GxSaturator.lv2")
(synopsis "Saturation effect")
(description "This package provides the LV2 plugin \"GxSaturator\", a