Subject: Re: [bug#42278] [PATCH] gnu: Add ninjas2.

From: Marius Bakke <[email-masked]>
Date: Mon, 20 Jul 2020 23:57:32 +0200

Alexandros Theodotou <[email-masked]> writes:

> Hi,
>
> This patch adds ninjas2 (lv2 plugin).

Applied with these changes:

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4943249705..989c65a932 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -923,17 +923,17 @@ Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
         (git-reference
          (url "https://github.com/clearly-broken-software/ninjas2.git")
          (commit (string-append "v" version))
-         ;; bundles a specific commit of the DISTRHO plugin framework
+         ;; Bundles a specific commit of the DISTRHO plugin framework.
          (recursive? #t)))
        (file-name (git-file-name name version))
        (sha256
         (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; no "check" target
+     `(#:tests? #f                      ;no tests
        #:make-flags
        (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
-             "CC=gcc")
+             (string-append "CC=" ,(cc-for-target)))
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)            ;no configure target
@@ -973,7 +973,7 @@ Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
     (description
      "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
 Its goal is to be an easy to use sample slicer with quick slicing of samples
-and auto-mapping slices to midi note numbers.")
+and auto-mapping slices to MIDI note numbers.")
     (home-page "https://github.com/clearly-broken-software/ninjas2")
     (license license:gpl3+)))

Thanks!