From: Parnikkapore via Guix-patches via <guix-patches@gnu.org>
To: 70486@debbugs.gnu.org
Subject: [bug#70486] [PATCH 2/5] gnu: lsp-plugins: Use new package style.
Date: Sat, 20 Apr 2024 23:58:31 +0200 [thread overview]
Message-ID: <35a22c5c45081d9a069ba57137092267cca9aa93.1713647400.git.poomklao@yahoo.com> (raw)
In-Reply-To: <cover.1713647400.git.poomklao@yahoo.com>
* gnu/packages/music (lsp-plugins)[arguments]: Use G-expressions. Use #$output
instead of assoc-ref.
Change-Id: Idca583b06e54c15f98a8439e7fb2a553bf9b112c
---
gnu/packages/music.scm | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ceb26927c6..8ab8b6baeb 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6209,24 +6209,24 @@ (define-public lsp-plugins
(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
--
2.41.0
next prev parent reply other threads:[~2024-04-20 22:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1713647400.git.poomklao.ref@yahoo.com>
2024-04-20 21:54 ` [bug#70486] [PATCH 0/5] Clean up lsp-plugins + update it to 1.2.15 Parnikkapore via Guix-patches via
2024-04-20 21:58 ` [bug#70486] [PATCH 1/5] gnu: lsp-plugins: Update " Parnikkapore via Guix-patches via
2024-04-20 21:58 ` Parnikkapore via Guix-patches via [this message]
2024-04-20 21:58 ` [bug#70486] [PATCH 3/5] gnu: lsp-plugins: Update build environment variables Parnikkapore via Guix-patches via
2024-04-20 21:58 ` [bug#70486] [PATCH 4/5] gnu: lsp-plugins: Enable all features Parnikkapore via Guix-patches via
2024-04-20 21:58 ` [bug#70486] [PATCH 5/5] gnu: lsp-plugins: Split outputs Parnikkapore via Guix-patches via
2024-04-26 16:32 ` bug#70486: [PATCH 0/5] Clean up lsp-plugins + update it to 1.2.15 Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35a22c5c45081d9a069ba57137092267cca9aa93.1713647400.git.poomklao@yahoo.com \
--to=guix-patches@gnu.org \
--cc=70486@debbugs.gnu.org \
--cc=poomklao@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).