gnu: lsp-plugins: Split outputs.
* gnu/packages/music.scm (lsp-plugins): Split outputs. [phases]: Add move-large-subdirs. [outputs]: Declare outputs. Change-Id: I50dc27b7ec43657fda12c7b03068f7be6290aeef Signed-off-by: Christopher Baines <mail@cbaines.net>master
parent
13cbd96b90
commit
ed0ecceab8
|
@ -6237,7 +6237,19 @@ and reverb.")
|
||||||
(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"))))
|
||||||
|
(add-after 'install 'move-large-subdirs
|
||||||
|
(lambda _
|
||||||
|
(define (move-to-output output path)
|
||||||
|
(let ((source (string-append #$output path))
|
||||||
|
(target (string-append output path)))
|
||||||
|
(mkdir-p (dirname target))
|
||||||
|
(rename-file source target)))
|
||||||
|
(move-to-output #$output:doc "/share/doc") ; 29MB
|
||||||
|
(move-to-output #$output:lv2 "/lib/lv2") ; 32MB
|
||||||
|
(move-to-output #$output:bin "/bin") ; Avoid cluttering xdg menu
|
||||||
|
(move-to-output #$output:bin "/share")
|
||||||
|
(move-to-output #$output:bin "/etc"))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list cairo
|
(list cairo
|
||||||
freetype
|
freetype
|
||||||
|
@ -6247,6 +6259,7 @@ and reverb.")
|
||||||
libxrandr
|
libxrandr
|
||||||
mesa))
|
mesa))
|
||||||
(native-inputs (list pkg-config php))
|
(native-inputs (list pkg-config php))
|
||||||
|
(outputs '("out" "doc" "lv2" "debug"))
|
||||||
(synopsis "Audio plugin collection")
|
(synopsis "Audio plugin collection")
|
||||||
(description "LSP (Linux Studio Plugins) is a collection of audio
|
(description "LSP (Linux Studio Plugins) is a collection of audio
|
||||||
plugins available as LADSPA/LV2 plugins and as standalone JACK
|
plugins available as LADSPA/LV2 plugins and as standalone JACK
|
||||||
|
|
Reference in New Issue