Archived
1
0
Fork 0

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:
Parnikkapore 2024-04-20 23:58:31 +02:00 committed by Christopher Baines
parent 8dae4e1ba7
commit eab1301bc2
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -6221,24 +6221,24 @@ and reverb.")
(base32 "1bpkbmy8djz304rlsf9zp7bkyc874gnpfihkigqg4fj667x2xfcj"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list
(string-append "CC=" ,(cc-for-target))
(list
#:make-flags
#~(list
(string-append "CC=" #$(cc-for-target))
"BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
(string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(invoke "make" "config" "TEST=1"
(string-append "PREFIX=" out)
(string-append "ETCDIR=" out "/etc")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke ".build/host/lsp-plugin-fw/lsp-plugins-test" "utest"))))))
(string-append "PREFIX=" #$output)
(string-append "ETC_PATH=" #$output "/etc"))
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
(invoke "make" "config" "TEST=1"
(string-append "PREFIX=" #$output)
(string-append "ETCDIR=" #$output "/etc"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke ".build/host/lsp-plugin-fw/lsp-plugins-test" "utest")))))))
(inputs
(list cairo
freetype