gnu: lsp-plugins: Use new package style.
* gnu/packages/music (lsp-plugins)[arguments]: Use G-expressions. Use #$output instead of assoc-ref. Change-Id: Idca583b06e54c15f98a8439e7fb2a553bf9b112c Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
8dae4e1ba7
commit
eab1301bc2
1 changed files with 17 additions and 17 deletions
|
@ -6221,24 +6221,24 @@ and reverb.")
|
||||||
(base32 "1bpkbmy8djz304rlsf9zp7bkyc874gnpfihkigqg4fj667x2xfcj"))))
|
(base32 "1bpkbmy8djz304rlsf9zp7bkyc874gnpfihkigqg4fj667x2xfcj"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
(list
|
||||||
(list
|
#:make-flags
|
||||||
(string-append "CC=" ,(cc-for-target))
|
#~(list
|
||||||
|
(string-append "CC=" #$(cc-for-target))
|
||||||
"BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
|
"BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" #$output)
|
||||||
(string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
|
(string-append "ETC_PATH=" #$output "/etc"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(invoke "make" "config" "TEST=1"
|
||||||
(invoke "make" "config" "TEST=1"
|
(string-append "PREFIX=" #$output)
|
||||||
(string-append "PREFIX=" out)
|
(string-append "ETCDIR=" #$output "/etc"))))
|
||||||
(string-append "ETCDIR=" out "/etc")))))
|
(replace 'check
|
||||||
(replace 'check
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(when tests?
|
||||||
(when tests?
|
(invoke ".build/host/lsp-plugin-fw/lsp-plugins-test" "utest")))))))
|
||||||
(invoke ".build/host/lsp-plugin-fw/lsp-plugins-test" "utest"))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list cairo
|
(list cairo
|
||||||
freetype
|
freetype
|
||||||
|
|
Reference in a new issue