From 5426409d1d392b8f5fab184a64526d597dd690fa Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Mon, 6 Apr 2020 16:07:19 +0100
Subject: [PATCH] gnu: Add lsp-plugins.
* gnu/packages/music.scm (lsp-plugins): new variable.
---
gnu/packages/music.scm | 43 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
@@ -5380,3 +5380,46 @@ 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)))
+
+(define-public lsp-plugins
+ (package
+ (name "lsp-plugins")
+ (version "1.1.17")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sadko4u/lsp-plugins.git")
+ (commit (string-append "lsp-plugins-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "04w3lhnbnfynrr3zpcr7cdrlddxa6v3mdmj7rvbxi2xbczbqpa15"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list "CC=gcc" "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
+ (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure
+ (replace 'check
+ (lambda _
+ (invoke "make" "test"))))))
+ (inputs
+ `(("cairo", cairo)
+ ("hicolor-icon-theme", hicolor-icon-theme)
+ ("jack", jack-1)
+ ("ladspa", ladspa)
+ ("libsndfile", libsndfile)
+ ("lv2", lv2)
+ ("mesa", mesa)))
+ (native-inputs
+ `(("pkg-config", pkg-config)))
+ (synopsis "Audio plugin collection")
+ (description "LSP (Linux Studio Plugins) is a collection of audio
+plugins available as LADSPA/LV2 plugins and as standalone JACK
+applications.")
+ (home-page "https://lsp-plug.in/")
+ (license license:lgpl3)))
--
2.26.0