Just pushing this out to get some feedback (I'll need to package more
audio plugins and this might be a good start to talk about possible issues)
See the attached diff..
Flo
From 905622fe8bf6522765002a2ee3f7815b5bf458ea Mon Sep 17 00:00:00 2001
From: Florian Paul Schmidt <mista.ta...@gmx.net>
Date: Wed, 2 Dec 2015 15:30:14 +0100
Subject: [PATCH] swh-plugins-lv2: New variable
---
gnu/packages/audio.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index db3f912..ed2c746 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1891,3 +1891,43 @@ access to ALSA PCM devices, taking care of the many
functions required to
open, initialise and use a hw: device in mmap mode, and providing floating
point audio data.")
(license license:gpl3+)))
+
+(define-public swh-plugins-lv2
+ (let ((commit "5098e09e255eaed14e0d40ca5e7e6dfcb782d7ea"))
+ (package
+ (name "swh-plugins-lv2")
+ (version (string-append "2015-11-11-"commit))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/swh/"
+ "lv2/archive/"
+ commit ".zip"))
+ (sha256
+ (base32
+ "11c6y4nfw5kz7647axpgdaryiiwwrplnkdbkglx362cbcmhpvds8"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (alist-cons-after
+ 'unpack 'patch-makefile-and-enter-directory
+ (lambda
+ _
+ (substitute* "Makefile"
+ (("/usr/local") (assoc-ref %outputs "out"))
+ (("install:") "install: install-system")))
+ (alist-delete
+ 'check
+ (alist-delete
+ 'configure
+ %standard-phases)))
+ #:make-flags '("CC=gcc")))
+ (inputs
+ `(("lv2" ,lv2)
+ ("unzip" ,unzip)
+ ("fftw" ,fftw)
+ ("libxslt" ,libxslt)))
+ (home-page "http://plugin.org.uk")
+ (synopsis "SWH Plugins in LV2 format")
+ (description
+ "A collection of Steve Harris' audui plugins in LV2 format.")
+ (license license:gpl3+))))
--
2.5.0