Subject: [bug#38689] [PATCH] gnu: Add vl1-emulator

From: Alexandros Theodotou <[email-masked]>
Date: Sat, 21 Mar 2020 19:24:40 +0000

Hi,

Removed some unnecessary dependencies.

Thanks,
Alex
From b04e9f19586a77f25b5336223f43fad5017d073c Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Tue, 25 Feb 2020 14:50:16 +0000
Subject: [PATCH 3/3] gnu: Add fogpad.

* gnu/packages/music.scm (fogpad): New variable.
---
 gnu/packages/music.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e4e00452c0..93982e8531 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5257,3 +5257,29 @@ This is an unofficial port of the Regrader plugin created by Igorski.  It
 is available as an LV2 plugin, a VST plugin and a standalone JACK
 application.")
     (license license:expat)))
+
+(define-public fogpad
+  (package
+    (inherit vl1-emulator)
+    (name "fogpad")
+    (version "1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/linuxmao-org/fogpad")
+               (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
+            "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
+    (home-page "https://github.com/linuxmao-org/fogpad")
+    (synopsis "Reverb effect plugin")
+    (description
+      "Fogpad is a reverb effect in which the reflections can be frozen,
+filtered, pitch shifted and ultimately disintegrated.  This is an unofficial
+port of the Regrader plugin created by Igorski.  It is available as an LV2
+plugin and a standalone JACK application.")
+    (license license:expat)))
-- 
2.25.1

From af4f80f9af3a605dee9b3a9efc37a7b81e4bc023 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Tue, 25 Feb 2020 14:49:05 +0000
Subject: [PATCH 2/3] gnu: Add regrader.

* gnu/packages/music.scm (regrader): New variable.
---
 gnu/packages/music.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 954e82dc35..e4e00452c0 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5231,3 +5231,29 @@ code by PolyValens, offered as a VST plugin, an LV2 plugin and a standalone
 JACK application.")
     ;; Expat or CC0
     (license (list license:expat license:cc0))))
+
+(define-public regrader
+  (package
+    (inherit vl1-emulator)
+    (name "regrader")
+    (version "1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/linuxmao-org/regrader.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
+            "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
+    (home-page "https://github.com/linuxmao-org/regrader")
+    (synopsis "Delay effect plugin")
+    (description
+     "Regrader is a delay effect where the repeats degrade in resolution.
+This is an unofficial port of the Regrader plugin created by Igorski.  It
+is available as an LV2 plugin and a standalone JACK application.")
+    (license license:expat)))
-- 
2.25.1

From 77bf5b5a618d4e835de81fb2af58c28c60bf4605 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Tue, 25 Feb 2020 14:46:08 +0000
Subject: [PATCH 1/3] gnu: Add vl1-emulator.

* gnu/packages/music.scm (vl1-emulator): New variable.
---
 gnu/packages/music.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 16e69840df..954e82dc35 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5189,3 +5189,45 @@ featureful and easy to use.  It offers unlimited automation options, LV2
 plugin support, JACK support and chord assistance.")
    (home-page "https://www.zrythm.org")
    (license license:agpl3+)))
+
+(define-public vl1-emulator
+  (package
+    (name "vl1-emulator")
+    (version "1.1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/linuxmao-org/VL1-emulator.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
+           "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; no check target
+       #:make-flags
+       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+             "CC=gcc")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)))) ; no configure target
+    (inputs
+     `(("cairo" ,cairo)
+       ("jack" ,jack-1)
+       ("mesa" ,mesa)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/linuxmao-org/VL1-emulator")
+    (synopsis "Emulator of Casio VL-Tone VL1")
+    (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1, 
+based on source code by PolyValens, offered as an LV2 plugin and a 
+standalone JACK application.")
+    ;; Expat or CC0
+    (license (list license:expat license:cc0))))
-- 
2.25.1