guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/09: gnu: x42-plugins: Use new package style.


From: guix-commits
Subject: 03/09: gnu: x42-plugins: Use new package style.
Date: Tue, 31 Jan 2023 09:25:18 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 8781ab4057692c854c91ac71c660a229ac2d8ae5
Author: kiasoc5 <kiasoc5@disroot.org>
AuthorDate: Wed Dec 28 18:38:15 2022 -0500

    gnu: x42-plugins: Use new package style.
    
    * gnu/packages/music.scm (x42-plugins)[arguments]: Use g-expressions. Remove
    references to %outputs and %build-inputs.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/music.scm | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 8438613971..24c4cc28ee 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6058,17 +6058,18 @@ short-time Fourier transform, available as LV2 audio 
plugin and JACK client.")
         (base32 "128h9x7yzhy6q6l0fqk2zd6l48wgs2lhf2pzbiba6h3n6l9n555b"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; no "check" target
-       #:make-flags
-       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
-             "LIBZITACONVOLVER=-lzita-convolver"
-             (string-append "FONTFILE="
-                            (assoc-ref %build-inputs "font-dejavu")
-                            "/share/fonts/truetype/DejaVuSans-Bold.ttf")
-             (string-append "CC=" ,(cc-for-target)))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))))
+     (list
+      #:tests? #f                      ; no "check" target
+      #:make-flags
+      #~(list (string-append "PREFIX=" #$output)
+              "LIBZITACONVOLVER=-lzita-convolver"
+              (string-append "FONTFILE="
+                             #$(this-package-native-input "font-dejavu")
+                             "/share/fonts/truetype/DejaVuSans-Bold.ttf")
+              (string-append "CC=" #$(cc-for-target)))
+      #:phases
+      #~(modify-phases %standard-phases
+        (delete 'configure))))
     (inputs
      (list cairo
            fftwf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]