unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41553] [PATCH] gnu: Add spectacle-analyzer.
@ 2020-05-27  0:44 Alexandros Theodotou
  2020-05-30 11:45 ` bug#41553: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandros Theodotou @ 2020-05-27  0:44 UTC (permalink / raw)
  To: 41553


[-- Attachment #1.1: Type: text/plain, Size: 113 bytes --]

Hi,

This patch adds spectacle analyzer, an LV2 graphical spectrum analyzer
(audio plugin).

Thanks,
Alex

[-- Attachment #1.2: 0001-gnu-Add-spectacle-analyzer.patch --]
[-- Type: text/x-patch, Size: 2215 bytes --]

From 8fa72560cb851d63eff6c8c77a1bc05bd4f5c820 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Wed, 27 May 2020 01:41:39 +0100
Subject: [PATCH] gnu: Add spectacle-analyzer.

* gnu/packages/music.scm (spectacle-analyzer): new variable.
---
 gnu/packages/music.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 9cfda8e88c..4edb4dccf3 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4935,6 +4935,47 @@ and debugging of event signal flows inside plugin graphs.")
     (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
     (license license:artistic2.0)))
 
+(define-public spectacle-analyzer
+  (package
+    (name "spectacle-analyzer")
+    (version "1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/jpcima/spectacle.git")
+               (commit (string-append "v" version))
+               ;; Bundles a specific commit of the DISTRHO plugin framework.
+               (recursive? #t)))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                      ; no check target
+       #:make-flags
+       (list "CC=gcc"
+             (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("xxd" ,xxd)))
+    (inputs
+      `(("cairo", cairo)
+        ("fftw", fftw)
+        ("fftwf", fftwf)
+        ("jack", jack-1)
+        ("lv2", lv2)
+        ("mesa", mesa)))
+    (synopsis "Realtime graphical spectrum analyzer")
+    (description "Spectacle is a real-time spectral analyzer using the
+short-time Fourier transform, available as LV2 audio plugin and JACK client.")
+    (home-page "https://github.com/jpcima/spectacle")
+    (license license:isc)))
+
 (define-public x42-plugins
   (package
     (name "x42-plugins")
-- 
2.26.2


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41553: [PATCH] gnu: Add spectacle-analyzer.
  2020-05-27  0:44 [bug#41553] [PATCH] gnu: Add spectacle-analyzer Alexandros Theodotou
@ 2020-05-30 11:45 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-05-30 11:45 UTC (permalink / raw)
  To: Alexandros Theodotou, 41553-done


[-- Attachment #1.1: Type: text/plain, Size: 194 bytes --]

Alexandros Theodotou <alex@zrythm.org> writes:

> Hi,
>
> This patch adds spectacle analyzer, an LV2 graphical spectrum analyzer
> (audio plugin).

Thanks!  Applied with the following changes:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: spectacle.diff --]
[-- Type: text/x-patch, Size: 2636 bytes --]

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 08b9c19ec9..ac149a804c 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -141,6 +141,7 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
+  #:use-module (gnu packages vim)       ;for 'xxd'
   #:use-module (gnu packages web)
   #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xml)
@@ -4945,17 +4946,17 @@ and debugging of event signal flows inside plugin graphs.")
     (name "spectacle-analyzer")
     (version "1.0")
     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/jpcima/spectacle.git")
-               (commit (string-append "v" version))
-               ;; Bundles a specific commit of the DISTRHO plugin framework.
-               (recursive? #t)))
-        (file-name (git-file-name name version))
-        (sha256
-          (base32
-            "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jpcima/spectacle.git")
+             (commit (string-append "v" version))
+             ;; Bundles a specific commit of the DISTRHO plugin framework.
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ; no check target
@@ -4969,17 +4970,19 @@ and debugging of event signal flows inside plugin graphs.")
      `(("pkg-config" ,pkg-config)
        ("xxd" ,xxd)))
     (inputs
-      `(("cairo", cairo)
-        ("fftw", fftw)
-        ("fftwf", fftwf)
-        ("jack", jack-1)
-        ("lv2", lv2)
-        ("mesa", mesa)))
+     `(("cairo", cairo)
+       ("fftw", fftw)
+       ("fftwf", fftwf)
+       ("jack", jack-1)
+       ("lv2", lv2)
+       ("mesa", mesa)))
     (synopsis "Realtime graphical spectrum analyzer")
     (description "Spectacle is a real-time spectral analyzer using the
 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
     (home-page "https://github.com/jpcima/spectacle")
-    (license license:isc)))
+    ;; The project is licensed under the ISC license, and files in
+    ;; sources/plugin carry the Expat license.
+    (license (list license:isc license:expat))))
 
 (define-public x42-plugins
   (package

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-30 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27  0:44 [bug#41553] [PATCH] gnu: Add spectacle-analyzer Alexandros Theodotou
2020-05-30 11:45 ` bug#41553: " Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).