Subject: bug#45960: closed (Re: bug#45960: [PATCH] gnu: Add obs-spectralizer.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 02 Feb 2021 09:35:02 +0000

Your bug report

#45960: [PATCH] gnu: Add obs-spectralizer.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
45960: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45960
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#45960: [PATCH] gnu: Add obs-spectralizer.
From: Ludovic Courtès <[email-masked]>
To: Andrew Tropin <[email-masked]>
Cc: [email-masked]
Date: Tue, 02 Feb 2021 10:34:09 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Andrew Tropin <[email-masked]> skribis:

> From cf3a2cf54a17e131dcd57a1fb280d3586521c500 Mon Sep 17 00:00:00 2001
> From: Andrew Tropin <[email-masked]>
> Date: Mon, 18 Jan 2021 19:39:44 +0300
> Subject: [PATCH] gnu: Add obs-spectralizer.
>
> * gnu/packages/video.scm (obs-spectralizer): New variable.

Applied!  I didn’t check whether OBS can actually load it, but I see
it’s installed under ‘lib/obs-plugins’, which is where the new search
path expects to find it, so it should be fine.

Thanks,
Ludo’.

Subject: [PATCH] gnu: Add obs-spectralizer.
From: Andrew Tropin <[email-masked]>
To: [email-masked]
Date: Mon, 18 Jan 2021 19:57:13 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

From cf3a2cf54a17e131dcd57a1fb280d3586521c500 Mon Sep 17 00:00:00 2001
From: Andrew Tropin <[email-masked]>
Date: Mon, 18 Jan 2021 19:39:44 +0300
Subject: [PATCH] gnu: Add obs-spectralizer.

* gnu/packages/video.scm (obs-spectralizer): New variable.
---
 gnu/packages/video.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b876ef6adc..d0df1c36c1 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3163,6 +3163,33 @@ and JACK.")
 compositors.")
     (license license:gpl3)))
 
+(define-public obs-spectralizer
+  (package
+    (name "obs-spectralizer")
+    (version "1.3.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/univrsal/spectralizer")
+              (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0q75cnyqydpvfda51zm9gxqj3wqr99ad0lxzjhw0ld67qvj1ag6i"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f
+       #:configure-flags
+       (list "-DGLOBAL_INSTALLATION=ON" "-DUSE_CMAKE_LIBDIR=ON")))
+    (inputs `(("obs" ,obs)
+              ("fftw" ,fftw)))
+    (home-page "https://github.com/univrsal/spectralizer")
+    (synopsis "Plugin for @code{obs} for audio visualization")
+    (description "Allows vizualisation of MPD and internal @code{obs} audio
+sources.  Using @code{fftw}, based on cli-visualizer.")
+    (license license:gpl2)))
+
 (define-public libvdpau
   (package
     (name "libvdpau")
-- 
2.30.0