[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/14: gnu: cli-visualizer: Update to 1.8.
From: |
guix-commits |
Subject: |
11/14: gnu: cli-visualizer: Update to 1.8. |
Date: |
Sun, 19 Jan 2020 22:53:37 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit e121cb8706553a5b7652db0d638874aede3bcda1
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Mon Jan 20 04:01:16 2020 +0100
gnu: cli-visualizer: Update to 1.8.
* gnu/packages/audio.scm (cli-visualizer): Update to 1.8.
[build-system]: Switch to cmake-build-system.
[inputs]: Remove googletest.
[arguments]: Disable tests. Remove #:make-flags and all phases apart
from ‘install-examples’, previously ‘data’.
---
gnu/packages/audio.scm | 51 ++++++++++++++++++++------------------------------
1 file changed, 20 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6020063..34135af 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3577,52 +3577,41 @@ the following features:
(define-public cli-visualizer
(package
(name "cli-visualizer")
- (version "1.6")
+ (version "1.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dpayne/cli-visualizer.git")
- (commit version)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "0mirp8bk398di5xyq95iprmdyvplfghxqmrfj7jdnpy554vx7ppc"))))
- (build-system gnu-build-system)
+ (base32 "003mbbwsz43mg3d7llphpypqa9g7rs1p1cdbqi1mbc2bfrc1gcq2"))))
+ (build-system cmake-build-system)
(native-inputs
- `(("which" ,which)))
+ ;; TODO: Try using the latest googletest for versions > 1.8.
+ `( ;; ("googletest" ,googletest-1.8)
+ ("which" ,which)))
(inputs
`(("fftw" ,fftw)
- ;; TODO: Try using the latest googletest for versions > 1.6.
- ("googletest" ,googletest-1.8)
("ncurses" ,ncurses)
("pulseaudio" ,pulseaudio)))
(arguments
- '(#:test-target "test"
- #:make-flags
- (list (string-append "PREFIX=" %output "/bin/") "ENABLE_PULSE=1")
+ '(#:tests? #f
+ ;; XXX Enable tests after patching them to use the system googletest.
+ ;; #:configure-flags (list "-DVIS_WITH_TESTS=true")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'remove-sudo
- (lambda _
- (substitute* "install.sh" (("sudo") ""))
- #t))
- (add-before 'check 'set-check-environment
- (lambda _
- (setenv "CXX" "g++")
- (setenv "CC" "gcc")
- #t))
- (add-before 'install 'make-prefix
- (lambda _
- (mkdir-p (string-append (assoc-ref %outputs "out") "/bin"))
- #t))
- (add-after 'install 'data
- (lambda _
- (for-each (lambda (file)
- (install-file file
- (string-append (assoc-ref %outputs
"out")
- "/share/doc")))
- (find-files "examples"))
+ (add-after 'install 'install-examples
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "../source/examples"
+ (delete-file "mac_osx_config")
+ (for-each (lambda (file)
+ (install-file file
+ (string-append
+ (assoc-ref outputs "out")
+ "/share/doc")))
+ (find-files ".")))
#t)))))
(home-page "https://github.com/dpayne/cli-visualizer/")
(synopsis "Command-line audio visualizer")
- branch master updated (7842ddc -> 3b02036), guix-commits, 2020/01/19
- 02/14: gnu: lsh: Use HTTPS home page., guix-commits, 2020/01/19
- 04/14: gnu: ghc-missingh: Use HTTPS home page., guix-commits, 2020/01/19
- 01/14: gnu: glulxe: Use HTTPS home page., guix-commits, 2020/01/19
- 03/14: gnu: Update pythonpaste.org home pages., guix-commits, 2020/01/19
- 06/14: gnu: pngquant: Update to 2.12.6., guix-commits, 2020/01/19
- 08/14: gnu: youtube-dl: Update to 2020.01.15., guix-commits, 2020/01/19
- 05/14: gnu: blender: Update to 2.81a., guix-commits, 2020/01/19
- 07/14: gnu: cpuid: Update to 20200116., guix-commits, 2020/01/19
- 09/14: gnu: mpv: Update to 0.31.0., guix-commits, 2020/01/19
- 11/14: gnu: cli-visualizer: Update to 1.8.,
guix-commits <=
- 10/14: gnu: stunnel: Update to 5.56., guix-commits, 2020/01/19
- 12/14: gnu: r-dummies: Use HTTPS home page., guix-commits, 2020/01/19
- 13/14: gnu: ghc-sdl2: Use HTTPS home page., guix-commits, 2020/01/19
- 14/14: gnu: ghc-hashable-time: Use HTTPS home page., guix-commits, 2020/01/19