Subject: [bug#38124] [PATCH] gnu: Add zam-plugins.

From: Marius Bakke <[email-masked]>
Date: Sun, 10 Nov 2019 23:10:33 +0100

Alexandros Theodotou <[email-masked]> writes:

> NOTE: This patch depends on 
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38121
>
>  From 03620d73893a4eb53cc294f653c72df0e945f9d5 Mon Sep 17 00:00:00 2001
>  From: Alexandros Theodotou <[email-masked]>
> Date: Fri, 8 Nov 2019 10:35:27 +0000
> Subject: [PATCH] gnu: Add zam-plugins.
>
> * gnu/packages/music.scm: (zam-plugins): New variable.

Like the other patches, please resend it (preferably through 'git
send-email') after adjusting the indentation.

[...]

> +(define-public zam-plugins
> +  (package
> +    (name "zam-plugins")
> +    (version "3.11")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/zamaudio/zam-plugins.git")
> +               (commit version)
> +               (recursive? #t))) ; for DPF

Can you describe what DPF is?  Is it possible to package it separately?

> +        (file-name (string-append name "-" version))
> +        (sha256
> +          (base32
> +            "0jlbxm0g93plgd3g4r9rsr0c7868ms49bs0ljpqb6kw6132hsapp"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f  ; no "check" target
> +       #:make-flags
> +       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
> +             "HAVE_ZITA_CONVOLVER=true")
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-before 'build 'set-CC-variable
> +           (lambda _ (setenv "CC" "gcc") #t))
> +         (delete 'configure))))
> +    (inputs
> +     `(("fftwf" ,fftwf)
> +       ("jack" ,jack-1)
> +       ("liblo" ,liblo)
> +       ("libsamplerate" ,libsamplerate)
> +       ("mesa" ,mesa)
> +       ("zita-convolver" ,zita-convolver)))
> +    (native-inputs
> +     `(("ladspa" ,ladspa)
> +       ("lv2" ,lv2)
> +       ("pkg-config" ,pkg-config)))
> +    (synopsis "Collection of LADSPA/LV2/VST2/JACK audio processing 
> plugins")

Maybe just "Audio processing plugins"?  I suppose even more will be
supported in the future :-)