diff options
author | Z572 <873216071@qq.com> | 2023-05-27 20:16:10 +0800 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-07-01 23:38:25 +0200 |
commit | 209c892ebec4af147353e7bffb24da3ffd3bcfa7 (patch) | |
tree | a51b5a336c459742e986559b7e7db8a3c1a2e07c | |
parent | 42951e7c86c204b107ff6ddad4429f43cbcdeb4a (diff) | |
download | guix-209c892ebec4af147353e7bffb24da3ffd3bcfa7.tar.gz guix-209c892ebec4af147353e7bffb24da3ffd3bcfa7.zip |
gnu: zita-alsa-pcmi: Use new style for arguments.
* gnu/packages/audio.scm(zita-alsa-pcmi)[arguments]: Use
G-Expressions. Delete trailing #ts.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/audio.scm | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 68cbae898a..447b0ea78c 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -4448,40 +4448,39 @@ provide high-quality sample rate conversion.") (version "0.3.2") (source (origin (method url-fetch) - (uri (string-append - "http://kokkinizita.linuxaudio.org" - "/linuxaudio/downloads/zita-alsa-pcmi-" - version ".tar.bz2")) + (uri (string-append "http://kokkinizita.linuxaudio.org" + "/linuxaudio/downloads/zita-alsa-pcmi-" + version ".tar.bz2")) (sha256 (base32 "12d7vdg74yh21w69qi0wg57iz4876j94qbiq09bvscih6xz9y78s")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; no "check" target - #:make-flags - (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "SUFFIX=") - (string-append "CXX=" ,(cxx-for-target))) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-makefile-and-enter-directory - (lambda _ - (substitute* "source/Makefile" - (("ldconfig") "true") - (("^LIBDIR =.*") "LIBDIR = lib\n") - (("CXXFLAGS \\+= -march=native") "")) - (chdir "source") - #t)) - (add-after 'install 'install-symlink - (lambda _ - (symlink "libzita-alsa-pcmi.so" - (string-append (assoc-ref %outputs "out") - "/lib/libzita-alsa-pcmi.so.0")) - #t)) - ;; no configure script - (delete 'configure)))) - (inputs - (list alsa-lib fftw)) + (list #:tests? #f ;no "check" target + #:make-flags #~(list (string-append "PREFIX=" + (assoc-ref %outputs "out")) + (string-append "SUFFIX=") + (string-append "CXX=" + #$(cxx-for-target))) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-makefile-and-enter-directory + (lambda _ + (substitute* "source/Makefile" + (("ldconfig") + "true") + (("^LIBDIR =.*") + "LIBDIR = lib\n") + (("CXXFLAGS \\+= -march=native") + "")) + (chdir "source"))) + (add-after 'install 'install-symlink + (lambda _ + (symlink "libzita-alsa-pcmi.so" + (string-append (assoc-ref %outputs "out") + "/lib/libzita-alsa-pcmi.so.0")))) + ;; no configure script + (delete 'configure)))) + (inputs (list alsa-lib fftw)) (properties `((tunable? . #t))) (home-page "https://kokkinizita.linuxaudio.org") (synopsis "C++ wrapper around the ALSA API") |