Patchwork gnu: Add non-session-manager.

login
register
mail settings
Submitter Ricardo Wurmus
Date Nov. 28, 2016, 9:51 p.m.
Message ID <20161128215125.7648-1-rekado@elephly.net>
Download mbox | patch
Permalink /patch/18017/
State New
Headers show

Comments

Ricardo Wurmus - Nov. 28, 2016, 9:51 p.m.
* gnu/packages/music.scm (non-session-manager): New variable.
---
 gnu/packages/music.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
Eric Bavier - Nov. 29, 2016, 6:29 a.m.
On Mon, 28 Nov 2016 22:51:25 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:

> * gnu/packages/music.scm (non-session-manager): New variable.
> ---
>  gnu/packages/music.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

LGTM.

`~Eric

Patch

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3c56d19..e6d87e8 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -639,6 +639,28 @@  Sequencer happens on-line, in real-time.  Music can be composed live, while the
 transport is rolling.")
       (license license:gpl2+))))
 
+(define-public non-session-manager
+  (package (inherit non-sequencer)
+    (name "non-session-manager")
+    (arguments
+     (substitute-keyword-arguments (package-arguments non-sequencer)
+       ((#:configure-flags flags)
+        `(cons "--project=session-manager"
+               (delete "--project=sequencer" ,flags)))))
+    (inputs
+     `(("jack" ,jack-1)
+       ("liblo" ,liblo)
+       ("ntk" ,ntk)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://non.tuxfamily.org/nsm/")
+    (synopsis "Audio session management")
+    (description
+     "The Non Session Manager is an API and an implementation for audio
+session management.  NSM clients use a well-specified OSC protocol to
+communicate with the session management daemon.")
+    (license license:gpl2+)))
+
 (define-public solfege
   (package
     (name "solfege")