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 the patch, since it seems the other version didn't get submitted..

Flo


-- 
https://fps.io
From 28546dffbb862241f37651f3f33a5dadb84a9e63 Mon Sep 17 00:00:00 2001
From: Florian Paul Schmidt <[email protected]>
Date: Thu, 10 Dec 2015 15:13:36 +0100
Subject: [PATCH] gnu: Add package swh-plugins-lv2

* gnu/packages/audio.scm: New variable: swh-plugins-lv2
---
 gnu/packages/audio.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6a8347a..2fca640 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1953,3 +1953,51 @@ 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
+  ;; latest available revision and
+  ;; no releases yet 
+  (let ((commit "5098e09e255eaed14e0d40ca5e7e6dfcb782d7ea"))
+    (package
+      (name "swh-plugins-lv2")
+      (version (string-append "20151111-" (substring commit 0 10)))
+      (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/swh/";
+                                  "lv2/archive/"
+                                  commit ".tar.gz"))
+              (sha256
+               (base32
+                "0ysc1chzhdsw3xxsdj5rvw7lcll3xw6yyha20irfnk2pla22vb7i"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (alist-cons-after
+        'unpack 'patch-makefile-and-enter-directory
+        ;; makefile's install target doesn't install
+        (lambda _
+          (substitute* "Makefile"
+            (("install:") "install: install-system")))
+        ;; no configure script
+        (alist-delete
+         'configure
+         %standard-phases))
+       #:make-flags (list
+                     "CC=gcc"
+                     (string-append "PREFIX="
+                                    (assoc-ref %outputs "out")))
+       ;; no check target
+       #:tests? #f))
+    (inputs
+     `(("lv2" ,lv2)
+       ("fftw" ,fftw)
+       ("libxslt" ,libxslt)))
+    (home-page "http://plugin.org.uk";)
+    (synopsis "SWH plugins in LV2 format")
+    (description
+     "Swh-plugins-lv2 is a collection of Steve Harris' audio plugins in LV2
+format.  Plugin classes include: dynamic (compressor, limiter), time (delay,
+chorus, flanger), ringmodulator, distortion, filters, pitchshift,
+oscillators, emulation (valve, tape), bit fiddling (decimator, pointer-
+cast), etc.")
+    (license license:gpl3+))))
-- 
2.6.3

Reply via email to