diff mbox

[2/2] gnu: Add ams-lv2.

Message ID 20161203194209.19164-2-rekado@elephly.net
State New
Headers show

Commit Message

Ricardo Wurmus Dec. 3, 2016, 7:42 p.m. UTC
* gnu/packages/music.scm (ams-lv2): New variable.
---
 gnu/packages/music.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Comments

Marius Bakke Dec. 3, 2016, 9:08 p.m. UTC | #1
Ricardo Wurmus <rekado@elephly.net> writes:

> * gnu/packages/music.scm (ams-lv2): New variable.
> ---
>  gnu/packages/music.scm | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>
> diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
> index febd983..f5322b4 100644
> --- a/gnu/packages/music.scm
> +++ b/gnu/packages/music.scm
> @@ -1697,6 +1697,38 @@ JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
>  follows a traditional multi-track tape recorder control paradigm.")
>      (license license:gpl2+)))
>  
> +(define-public ams-lv2
> +  (package
> +    (name "ams-lv2")
> +    (version "1.2.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/blablack/ams-lv2/"
> +                           "archive/" version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1392spswkhfd38fggf584wb3m8aqpg7csfrs9zxnzyvhgmp0fgqk"))))
> +    (build-system waf-build-system)
> +    (arguments `(#:tests? #f)) ; no tests
> +    (inputs
> +     `(("lv2" ,lv2)
> +       ("lvtk" ,lvtk)
> +       ("gtkmm" ,gtkmm-2)
> +       ("gtk" ,gtk+-2)
> +       ("cairo" ,cairo)
> +       ("fftw" ,fftw)))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (home-page "https://objectivewave.wordpress.com/ams-lv2/")
> +    (synopsis "Port of Alsa Modular Synth internal modules into LV2")
> +    (description "This set of LV2 plugins is a port of the internal modules
> +found in Alsa Modular Synth.  These plugins are used to create modular
> +synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
> +and hold, etc.")
> +    (license license:gpl2)))

The bundled "waf" script is bsd-3. Perhaps that can be removed, since it
uses waf-build-system? Otherwise this LGTM.
Ricardo Wurmus Dec. 3, 2016, 10:39 p.m. UTC | #2
Marius Bakke <mbakke@fastmail.com> writes:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> * gnu/packages/music.scm (ams-lv2): New variable.
>> ---
>>  gnu/packages/music.scm | 32 ++++++++++++++++++++++++++++++++
>>  1 file changed, 32 insertions(+)

[…]

> The bundled "waf" script is bsd-3. Perhaps that can be removed, since it
> uses waf-build-system? Otherwise this LGTM.

The waf-build-system doesn’t actually pull in a copy of “waf”.  It
always just uses whatever “waf” comes with the sources.

I think the same applies for “waf” as to “configure” scripts.  We
usually don’t list the license of the generated “configure” script in
the license field.
diff mbox

Patch

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index febd983..f5322b4 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1697,6 +1697,38 @@  JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
 follows a traditional multi-track tape recorder control paradigm.")
     (license license:gpl2+)))
 
+(define-public ams-lv2
+  (package
+    (name "ams-lv2")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/blablack/ams-lv2/"
+                           "archive/" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1392spswkhfd38fggf584wb3m8aqpg7csfrs9zxnzyvhgmp0fgqk"))))
+    (build-system waf-build-system)
+    (arguments `(#:tests? #f)) ; no tests
+    (inputs
+     `(("lv2" ,lv2)
+       ("lvtk" ,lvtk)
+       ("gtkmm" ,gtkmm-2)
+       ("gtk" ,gtk+-2)
+       ("cairo" ,cairo)
+       ("fftw" ,fftw)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://objectivewave.wordpress.com/ams-lv2/")
+    (synopsis "Port of Alsa Modular Synth internal modules into LV2")
+    (description "This set of LV2 plugins is a port of the internal modules
+found in Alsa Modular Synth.  These plugins are used to create modular
+synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
+and hold, etc.")
+    (license license:gpl2)))
+
 (define-public gxtuner
   (package
     (name "gxtuner")