Subject: [PATCH 4/7] gnu: Add sonic-visualiser.

From: Lilah Tascheter <[email-masked]>
Date: Fri, 30 Sep 2022 19:22:37 -0500

* gnu/packages/audio.scm (sonic-visualiser): New variable.
---
 gnu/packages/audio.scm | 45 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index fd27c1cc71..0dd0b8ff55 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5895,3 +5895,48 @@ (define-public streamripper
 separation data, and uses that as a marker for where the track should
 be separated.")
     (license license:gpl2+)))
+
+(define-public sonic-visualiser
+  (package
+    (name "sonic-visualiser")
+    (version "4.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                     "https://github.com/sonic-visualiser/sonic-visualiser"
+                     "/releases/download/sv_v" version "/sonic-visualiser-"
+                     version ".tar.gz"))
+              (sha256
+                (base32
+                  "18w2mf4c6sis0lg6dq75v4zb8q9rbmbmlfvcvk60lyqynmvq4yy5"))))
+    (build-system meson-build-system)
+    (arguments (list #:tests? #f)) ;; tests fail due to build sandbox
+    (inputs (list alsa-lib
+                  bzip2
+                  capnproto
+                  fftw
+                  jack-1
+                  libfishsound
+                  libid3tag
+                  liblo
+                  libmad
+                  libsamplerate
+                  libsndfile
+                  lrdf
+                  oggz
+                  opusfile
+                  portaudio
+                  pulseaudio
+                  qtbase-5
+                  qtsvg-5
+                  rubberband
+                  serd
+                  sord
+                  zlib))
+    (native-inputs (list pkg-config))
+    (synopsis "Program for visualising and inspecting audio files")
+    (description "Sonic Visualiser is a program for annotating, visualising, and
+inspecting audio files, providing waveform analysis and a VAMP host for external
+audio analysis and annotation plugins.")
+    (home-page "https://sonicvisualiser.org")
+    (license license:gpl2+)))
-- 
2.37.2