From patchwork Wed Jul 8 21:23:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandros Theodotou X-Patchwork-Id: 23128 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BF6C927BBE3; Wed, 8 Jul 2020 22:24:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0E9F427BBE1 for ; Wed, 8 Jul 2020 22:24:08 +0100 (BST) Received: from localhost ([::1]:44934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtHXz-00041D-Jf for patchwork@mira.cbaines.net; Wed, 08 Jul 2020 17:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtHXu-00040p-3p for guix-patches@gnu.org; Wed, 08 Jul 2020 17:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtHXt-0001T1-RC for guix-patches@gnu.org; Wed, 08 Jul 2020 17:24:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtHXt-0002rc-OS for guix-patches@gnu.org; Wed, 08 Jul 2020 17:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42278] [PATCH] gnu: Add ninjas2. Resent-From: Alexandros Theodotou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jul 2020 21:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42278 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42278@debbugs.gnu.org X-Debbugs-Original-To: Guix patches Received: via spool by submit@debbugs.gnu.org id=B.159424343410992 (code B ref -1); Wed, 08 Jul 2020 21:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2020 21:23:54 +0000 Received: from localhost ([127.0.0.1]:39223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtHXl-0002rD-Lk for submit@debbugs.gnu.org; Wed, 08 Jul 2020 17:23:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:43626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtHXk-0002r4-ET for submit@debbugs.gnu.org; Wed, 08 Jul 2020 17:23:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtHXk-00040A-8h for guix-patches@gnu.org; Wed, 08 Jul 2020 17:23:52 -0400 Received: from mout01.posteo.de ([185.67.36.141]:45520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtHXi-0001RR-4k for guix-patches@gnu.org; Wed, 08 Jul 2020 17:23:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B40DC1600B3 for ; Wed, 8 Jul 2020 23:23:47 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B2C3N1Dr2z9rxY for ; Wed, 8 Jul 2020 23:23:43 +0200 (CEST) Message-ID: <200c7ec1cfd04c71e60bcf3feccedc5249e55a47.camel@zrythm.org> From: Alexandros Theodotou Date: Wed, 08 Jul 2020 22:23:22 +0100 User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.141; envelope-from=alex@zrythm.org; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/08 16:11:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, This patch adds ninjas2 (lv2 plugin). Thanks, Alex From 0f7874ec8d547c7249c60beda2447a3f9c5f7b88 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou 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