[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: lsp-plugins: Split outputs.
From: |
guix-commits |
Subject: |
07/15: gnu: lsp-plugins: Split outputs. |
Date: |
Fri, 26 Apr 2024 11:59:59 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit ed0ecceab83a7a5edbe15ded585c7e42c06ba84a
Author: Parnikkapore <poomklao@yahoo.com>
AuthorDate: Sat Apr 20 23:58:34 2024 +0200
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>
---
gnu/packages/music.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4c6d73e86a..47f689c3ab 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6237,7 +6237,19 @@ and reverb.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(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
(list cairo
freetype
@@ -6247,6 +6259,7 @@ and reverb.")
libxrandr
mesa))
(native-inputs (list pkg-config php))
+ (outputs '("out" "doc" "lv2" "debug"))
(synopsis "Audio plugin collection")
(description "LSP (Linux Studio Plugins) is a collection of audio
plugins available as LADSPA/LV2 plugins and as standalone JACK
- branch master updated (9593750698 -> c81ed09700), guix-commits, 2024/04/26
- 04/15: gnu: lsp-plugins: Use new package style., guix-commits, 2024/04/26
- 10/15: gnu: jube: Update to version 2.6.1., guix-commits, 2024/04/26
- 12/15: gnu: opensc: Update to 0.25.0., guix-commits, 2024/04/26
- 01/15: gnu: bitcoin-core: Update to 27.0., guix-commits, 2024/04/26
- 05/15: gnu: lsp-plugins: Update build environment variables., guix-commits, 2024/04/26
- 08/15: gnu: php: Update to 8.3.6., guix-commits, 2024/04/26
- 15/15: gnu: nar-herder: Update to 0-29.fb764aa., guix-commits, 2024/04/26
- 02/15: gnu: moreutils: Update to 0.69., guix-commits, 2024/04/26
- 07/15: gnu: lsp-plugins: Split outputs.,
guix-commits <=
- 06/15: gnu: lsp-plugins: Enable all features., guix-commits, 2024/04/26
- 09/15: gnu: i3-autotiling: Update to 1.9.1., guix-commits, 2024/04/26
- 03/15: gnu: lsp-plugins: Update to 1.2.15., guix-commits, 2024/04/26
- 14/15: gnu: parallel: Update to 20240422., guix-commits, 2024/04/26
- 13/15: gnu: freerdp: Update to 2.11.7., guix-commits, 2024/04/26
- 11/15: gnu: zathura-pdf-mupdf: Update to 0.4.1., guix-commits, 2024/04/26