On 12/06/2015 11:44 PM, Florian Paul Schmidt wrote:
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)

Updated complete patch with some whitespace and typos fixed

Flo
From 6dee84494a522921baacbcad8c7618c9eb709eb1 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..ec91c33 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' audio plugins in LV2 format.")
+    (license license:gpl3+))))
-- 
2.5.0

Reply via email to