From: Alexandros Theodotou <alex@zrythm.org>
To: 42278@debbugs.gnu.org
Subject: [bug#42278] [PATCH] gnu: Add ninjas2.
Date: Wed, 08 Jul 2020 22:23:22 +0100 [thread overview]
Message-ID: <200c7ec1cfd04c71e60bcf3feccedc5249e55a47.camel@zrythm.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 63 bytes --]
Hi,
This patch adds ninjas2 (lv2 plugin).
Thanks,
Alex
[-- Attachment #1.2: 0001-gnu-Add-ninjas2.patch --]
[-- Type: text/x-patch, Size: 3400 bytes --]
From 0f7874ec8d547c7249c60beda2447a3f9c5f7b88 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Wed, 8 Jul 2020 22:22:19 +0100
Subject: [PATCH] gnu: Add ninjas2.
* gnu/packages/music.scm (ninjas2): New variable.
---
gnu/packages/music.scm | 65 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6dc1229a54..7f1f3f3e9a 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -912,6 +912,71 @@ Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
;; demo and player directories are under the Expat license
license:expat))))
+(define-public ninjas2
+ (package
+ (name "ninjas2")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (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
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no "check" target
+ #:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ "CC=gcc")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ;no configure target
+ (replace 'install ;no install target
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (lv2 (string-append out "/lib/lv2")))
+ ;; Install LV2.
+ (for-each
+ (lambda (file)
+ (copy-recursively file
+ (string-append lv2 "/" (basename file))))
+ (find-files "bin" "\\.lv2$" #:directories? #t))
+ ;; Install executables.
+ (for-each
+ (lambda (file)
+ (install-file file bin))
+ (find-files "bin"
+ (lambda (name stat)
+ (and
+ (equal? (dirname name) "bin")
+ (not (string-suffix? ".so" name))
+ (not (string-suffix? ".lv2" name))))))
+ #t))))))
+ (inputs
+ `(("fftwf" ,fftwf)
+ ("jack" ,jack-1) ; for the standalone JACK application
+ ("libsamplerate" ,libsamplerate)
+ ("mesa" ,mesa)
+ ("libsndfile" ,libsndfile)))
+ (native-inputs
+ `(("ladspa" ,ladspa)
+ ("lv2" ,lv2)
+ ("pkg-config" ,pkg-config)))
+ (synopsis "Sample slicer audio plugin")
+ (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.")
+ (home-page "https://github.com/clearly-broken-software/ninjas2")
+ (license license:gpl3+)))
+
(define-public lilypond
(package
(name "lilypond")
--
2.27.0
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2020-07-08 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 21:23 Alexandros Theodotou [this message]
2020-07-20 21:57 ` bug#42278: [PATCH] gnu: Add ninjas2 Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200c7ec1cfd04c71e60bcf3feccedc5249e55a47.camel@zrythm.org \
--to=alex@zrythm.org \
--cc=42278@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).