From eaa7ddb16555f488484842bd55ce6406e0f374ab Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Tue, 21 Jan 2020 05:19:03 +0000
Subject: [PATCH] gnu: Add regrader.
* gnu/packages/music.scm (regrader): New variable.
---
gnu/packages/music.scm | 43 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
@@ -5163,3 +5163,46 @@ 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
+ (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"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no check target
+ #:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ (string-append "CC=gcc"))
+ #:phases
+ (modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure))))
+ (inputs
+ `(("cairo" ,cairo)
+ ("jack" ,jack-1)
+ ("libx11" ,libx11)
+ ("mesa" ,mesa)))
+ (native-inputs
+ `(("lv2" ,lv2)
+ ("pkg-config" ,pkg-config)))
+ (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, a VST plugin and a standalone JACK
+application.")
+ (license license:expat)))
--
2.24.1