From patchwork Tue Mar 21 14:42:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 48508 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 7DE7D16F64; Tue, 21 Mar 2023 14:43:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_PDS_PRO_TLD, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5C10916F5D for ; Tue, 21 Mar 2023 14:43:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pedCa-0001fP-78; Tue, 21 Mar 2023 10:43:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pedCZ-0001fF-0m for guix-patches@gnu.org; Tue, 21 Mar 2023 10:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pedCY-0001n8-GO for guix-patches@gnu.org; Tue, 21 Mar 2023 10:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pedCY-0008Gf-9n for guix-patches@gnu.org; Tue, 21 Mar 2023 10:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62337] [PATCH v2] gnu: Add samplebrain. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62337@debbugs.gnu.org Cc: maxim.cournoyer@gmail.com X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167940976531756 (code B ref -1); Tue, 21 Mar 2023 14:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Mar 2023 14:42:45 +0000 Received: from localhost ([127.0.0.1]:60158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pedCH-0008G7-Af for submit@debbugs.gnu.org; Tue, 21 Mar 2023 10:42:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:55956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pedCG-0008G0-6y for submit@debbugs.gnu.org; Tue, 21 Mar 2023 10:42:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pedCG-0001eQ-0u for guix-patches@gnu.org; Tue, 21 Mar 2023 10:42:44 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pedCE-0001g4-5S for guix-patches@gnu.org; Tue, 21 Mar 2023 10:42:43 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4PgvTP3QJ4z9sZN; Tue, 21 Mar 2023 15:42:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1679409753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hfhI5b2tFfsZgEJ/vvmVXpka3fWC3xGX0DD2jHrmVpo=; b=lYoM2UkPYKk9He8wou599Zpnu422x9Jml2g5UmLjw0c56zfymhjHyjbSKqpticMgBQl3HU Ao4Zuo+U1B0dNA8l/BC15mm/04d5P3I1wQwGTw2CoxysJeVeZKsruAv3OWZzw1gFUYo9dc sHQHdsuHu0pLuvLuMJQ1TEeMC5SgR0Dc99QQEcK6j3jtYDfSdWwbcYLs9g/30SwVetCWYf BJV9/xY75/XqMax0z1otr0hXfb9nlNjS3xdGNddKwEgt2uOGrquL2ScsgbrI1jEHxZHeIn su7EviCi7ZcNGf6IR51cJaVEN61lhaL0lvh3j+7w9nzBWT7V6ETIoAGedRMALQ== Date: Tue, 21 Mar 2023 14:42:26 +0000 Message-Id: <20230321144226.5333-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: d0621cea359b259e361 X-MBO-RS-META: u47pmqrgbsb3w43xjsffrrkp66nz5555 Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_PRO_TLD=0.01 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/music.scm (samplebrain): New variable. --- Updated to 0.18.5 and corrected license field. gnu/packages/music.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index dbcb7e4564..7d941649d0 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -7149,6 +7149,40 @@ (define-public orca-music (home-page "https://100r.co/site/orca.html") (license license:expat)))) +(define-public samplebrain + (package + (name "samplebrain") + (version "0.18.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/then-try-this/samplebrain") + (commit (string-append "v" version "_release")))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17p6n16x89bbzlpn9r7w1lgr1ifxs45npn8gxymkdr3j16dhg4zy")))) + (build-system qt-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "samplebrain.pro" + (("\\/usr") + #$output)) + (invoke "qmake")))))) + (inputs (list fftw liblo libsndfile portaudio)) + (home-page "https://thentrythis.org/projects/samplebrain/") + (synopsis "Sample mashing synthesizer designed by Aphex Twin") + (description + "Samplebrain chops samples up into a 'brain' of +interconnected small sections called blocks which are connected into a network +by similarity. It processes a target sample, chopping it up into blocks in +the same way, and tries to match each block with one in its brain to play in +realtime.") + (license license:gpl2+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar