Subject: [bug#60391] [PATCH 2/2] gnu: x42-plugins: Use new package style.

From: kiasoc5 <[email-masked]>
Date: Wed, 28 Dec 2022 18:38:15 -0500

* gnu/packages/music.scm (x42-plugins)[arguments]: Use g-expressions. Remove
references to %outputs and %build-inputs.
[inputs]: Add font-dejavu.
---
 gnu/packages/music.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 58419bc954..4784e8ca2e 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5939,21 +5939,23 @@ (define-public x42-plugins
         (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-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
            ftgl
+           font-dejavu
            glib
            glu
            hicolor-icon-theme
-- 
2.39.0