[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: cava: Use G-expressions.
From: |
guix-commits |
Subject: |
06/07: gnu: cava: Use G-expressions. |
Date: |
Fri, 6 May 2022 04:33:00 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit de4e4506c1a6a52692358f2c7857a3ae14c8b30a
Author: Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
AuthorDate: Tue Apr 12 23:52:03 2022 +0200
gnu: cava: Use G-expressions.
* gnu/packages/audio.scm (cava)[arguments]: Use G-expressions.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/audio.scm | 55 +++++++++++++++++++++++++-------------------------
1 file changed, 27 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3ce8269358..965651f2c4 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -4634,35 +4634,34 @@ representations.")
(base32
"1mziklmqifhnb4kg9ia2r56r8wjn6xp40bkpf484hsgqvnrccl86"))))
(build-system gnu-build-system)
- (native-inputs
- (list autoconf automake libtool))
- (inputs
- (list fftw ncurses pulseaudio))
+ (native-inputs (list autoconf automake libtool))
+ (inputs (list fftw ncurses pulseaudio))
(arguments
- `(#:configure-flags
- (list (string-append "PREFIX=" %output)
- (string-append "FONT_DIR=" %output "/share/consolefonts"))
- #:make-flags
- (let ((lib (string-append %output "/lib")))
- (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib)))
- #:phases
- (modify-phases %standard-phases
- (replace 'bootstrap
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "HOME" (getcwd))
- (invoke "sh" "autogen.sh")))
- (add-before 'build 'make-cava-ldflags
- (lambda* (#:key outputs #:allow-other-keys)
- (mkdir-p (string-append (assoc-ref outputs "out") "/lib"))
- #t))
- (add-after 'install 'data
- (lambda* (#:key outputs #:allow-other-keys)
- (for-each (lambda (file)
- (install-file file
- (string-append (assoc-ref outputs "out")
- "/share/doc/examples")))
- (find-files "example_files"))
- #t)))))
+ (list #:configure-flags
+ #~(list (string-append "PREFIX="
+ #$output)
+ (string-append "FONT_DIR="
+ #$output "/share/consolefonts"))
+ #:make-flags
+ #~(let ((lib (string-append #$output "/lib")))
+ (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath "
lib)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'bootstrap
+ (lambda _
+ (setenv "HOME"
+ (getcwd))
+ (invoke "sh" "autogen.sh")))
+ (add-before 'build 'make-cava-ldflags
+ (lambda _
+ (mkdir-p (string-append #$output "/lib"))))
+ (add-after 'install 'data
+ (lambda _
+ (for-each (lambda (file)
+ (install-file file
+ (string-append #$output
+ "/share/doc/examples")))
+ (find-files "example_files")))))))
(home-page "https://karlstav.github.io/cava/")
(synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio")
(description "C.A.V.A. is a bar audio spectrum visualizer for the terminal
- branch master updated (a2fb35e43d -> 27fc4ae397), guix-commits, 2022/05/06
- 02/07: gnu: slurm: Add 21.08.8., guix-commits, 2022/05/06
- 01/07: gnu: slurm: Update to 20.11.9 [fixes CVE-2022-{29500, 29501, 29502}]., guix-commits, 2022/05/06
- 04/07: gnu: Add python-arpeggio., guix-commits, 2022/05/06
- 07/07: gnu: cava: Fix build failure, guix-commits, 2022/05/06
- 05/07: gnu: nftables: Update to 1.0.2., guix-commits, 2022/05/06
- 03/07: gnu: ytfzf: Update to 2.3., guix-commits, 2022/05/06
- 06/07: gnu: cava: Use G-expressions.,
guix-commits <=