From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sIu+GbTU2GakLwEA62LTzQ:P1 (envelope-from ) for ; Wed, 04 Sep 2024 21:44:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sIu+GbTU2GakLwEA62LTzQ (envelope-from ) for ; Wed, 04 Sep 2024 23:44:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="cV/XUGrj"; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=qIeDhdz+; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725486260; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gQmogo/Po6mIr1hqIzXwpjFpGRxl9y1c+eZlzB0oB+s=; b=QUZs01aWeCEHrhzvz79nP7yJJHHMB6CBTZ2hHyqPjPeSF+bTy1vnWme1byeve1BDdpBun6 epCeQNkqDsBoyJPcrODlirFbGM9dS9dWGi80cP9nzbxeCcZTHoEzQ65gpSrbOdTUJ2JRhm jMdM9hfcCa177HWR9qF9KkGG15GdqvJFa4RTwo51ReVYSu/cysW300AM9jttWqII6SaGcV 0wp/Ru9Q4GulV5Vui+jus44YShhwHnLBX4JisZrqN0FT7wMZSOq3tJjS9Xas5Ph0hMdyfw NSAhW8WHaaq88ADNcf265rUylXk2k7nH7Fdl4H8y1AUGOoCq7qAo3XY06YFULg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="cV/XUGrj"; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=qIeDhdz+; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725486260; a=rsa-sha256; cv=none; b=Q0Di4ExORY2yWPaGxNV3hTSQxUkq9CO9ucQ5905L9ylds0cDRT/W4byAKYHLSVHQVXT2ZJ XnwC/QyYE1RN0vO2ctMnjzsV1gMGHs5pwE6UX+SfMVlQIjJWwGEqmiwG5SlivQNUilcfQP woGmEcTWDFRKn11Hg4RuLb7WjQelEdnufQHiBMsReUIWXw0RfA/1mMyR1AajZ3dNL4eltq x8ZJUSfUDneDuWFDXmXAfQaOvIy7Rno6YTQPytiy5jpKiPsD3Y4GioTNLnxAKEFIKZJmcK TL7iNWRmi+xfcsHo/33Ys0ncDg6T4rhGKhjKvM2LkuWfls6akhPXZ/SHIIKVEQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37BF6507C2 for ; Wed, 4 Sep 2024 23:44:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slxnG-0006ks-G3; Wed, 04 Sep 2024 17:44:02 -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 1slxnD-0006kE-Ve for guix-patches@gnu.org; Wed, 04 Sep 2024 17:44:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slxnD-0004CR-Kb for guix-patches@gnu.org; Wed, 04 Sep 2024 17:43:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=gQmogo/Po6mIr1hqIzXwpjFpGRxl9y1c+eZlzB0oB+s=; b=cV/XUGrjhyrtVigpI3ocMAu53BWdydNDwTWQacW+U3KZoLJ79OvqS4id8BwLeh1OgmR0GK/BLOPosYdEFA6tuE075Uh3bvLJVN/7kcL5oUhi1731byQzh7891NsLgysXl3WMh5r5EiWsh9m5nUQ7HqrW6AiP9ZZzmWkZjJUEcBOxGpkDXxcTpvrYHm9sSML7bboXEaB+lxiPlPFZ5u3VENH6wKD/LUEsGvBKob9fCjOldSxR6ltBu8Uuh1b5EUZ/lmuKv+EzEg0u2I9OFyUVcTPeykuh57izSRzRzcGqkbXp6CbvEBgWfWsmxQaexjPtTWD0mZrueOkDo5/l3vVu6g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slxoF-0000vZ-0y; Wed, 04 Sep 2024 17:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH v3 2/3] gnu: Add fluidplug plugins. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: goodoldpaul@autistici.org, guix-patches@gnu.org Resent-Date: Wed, 04 Sep 2024 21:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 69593@debbugs.gnu.org Cc: Giacomo Leidi , Giacomo Leidi X-Debbugs-Original-Xcc: Giacomo Leidi Received: via spool by 69593-submit@debbugs.gnu.org id=B69593.17254862833507 (code B ref 69593); Wed, 04 Sep 2024 21:45:02 +0000 Received: (at 69593) by debbugs.gnu.org; 4 Sep 2024 21:44:43 +0000 Received: from localhost ([127.0.0.1]:35585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slxnu-0000uV-Fr for submit@debbugs.gnu.org; Wed, 04 Sep 2024 17:44:42 -0400 Received: from confino.investici.org ([93.190.126.19]:49407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slxns-0000uI-VH for 69593@debbugs.gnu.org; Wed, 04 Sep 2024 17:44:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1725486208; bh=gQmogo/Po6mIr1hqIzXwpjFpGRxl9y1c+eZlzB0oB+s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qIeDhdz+D0ulMZaSHbVrSPoWvKEUbwNCBhe1s4ZaTc7ge5GGTwGA4iSVO/NW9S+w1 qKZwj4vH99zZzFFw0ao5EnD/n5qZxiNjqeCIxt4aU8zEGFxoSvuouL3yQXKFfvRZP/ 2hK9/vqdFmILwHF6I0R19i/HiuJVWQZlPW2Vwkrc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Wzbb462ZSz115s; Wed, 4 Sep 2024 21:43:28 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Wzbb45Jfcz114p; Wed, 4 Sep 2024 21:43:28 +0000 (UTC) Date: Wed, 4 Sep 2024 23:43:15 +0200 Message-ID: <6182400bc47b7e99727cd052a0b22f1e74ccf1d2.1725486196.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <3cb25b3330272c20cb07f2c3585273b709111412.1725486196.git.goodoldpaul@autistici.org> References: <3cb25b3330272c20cb07f2c3585273b709111412.1725486196.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 37BF6507C2 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.59 X-Spam-Score: -6.59 X-TUID: ec8L5iAaioRU * gnu/packages/fluidplug.scm (fluidplug-plugin->package): New variable; (fluidplug-airfont320-lv2): new variable; (fluidplug-avl-drumkits-perc-lv2): new variable; (fluidplug-black-pearl-4a-lv2): new variable; (fluidplug-black-pearl-4b-lv2): new variable; (fluidplug-black-pearl-5-lv2): new variable; (fluidplug-red-zeppelin-4-lv2): new variable; (fluidplug-red-zeppelin-5-lv2): new variable; (fluidplug-fluidgm-lv2): new variable; (fluidplug-fluidbass-lv2): new variable; (fluidplug-fluidbrass-lv2): new variable; (fluidplug-fluidchromperc-lv2): new variable; (fluidplug-fluiddrums-lv2): new variable; (fluidplug-fluidensemble-lv2): new variable; (fluidplug-fluidethnic-lv2): new variable; (fluidplug-fluidguitars-lv2): new variable; (fluidplug-fluidorgans-lv2): new variable; (fluidplug-fluidpercussion-lv2): new variable; (fluidplug-fluidpianos-lv2): new variable; (fluidplug-fluidpipes-lv2): new variable; (fluidplug-fluidreeds-lv2): new variable; (fluidplug-fluidsoundfx-lv2): new variable; (fluidplug-fluidstrings-lv2): new variable; (fluidplug-fluidsynthfx-lv2): new variable; (fluidplug-fluidsynthleads-lv2): new variable; (fluidplug-fluidsynthpads-lv2): new variable. Change-Id: If67aa88f6dd1e7c889ea7e42c418e1157699312b --- gnu/packages/fluidplug.scm | 126 +++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) diff --git a/gnu/packages/fluidplug.scm b/gnu/packages/fluidplug.scm index b45d3a85b5..4838b09dcc 100644 --- a/gnu/packages/fluidplug.scm +++ b/gnu/packages/fluidplug.scm @@ -317,3 +317,129 @@ (define-public fluidplug-lv2 (license (delete-duplicates (map fluidplug-plugin-license fluidplug-plugins)))))) + +(define (fluidplug-plugin->package record) + (package + (inherit fluidplug-lv2) + (name (fluidplug-plugin->package-name record)) + (arguments + (substitute-keyword-arguments (package-arguments fluidplug-lv2) + ((#:make-flags make-flags) + #~(list (string-append "DESTDIR=" #$output) + "PREFIX=")) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'unpack-plugin + (lambda _ + (symlink #$(fluidplug-plugin->origin record) + #$(fluidplug-plugin->local-path record)))) + (replace 'build + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke `("make" ,@make-flags + #$(fluidplug-plugin-name record))))) + (replace 'install + (lambda _ + (let* ((plugin-directory + (string-append #$(fluidplug-plugin-name record) + ".lv2")) + (lib (string-append #$output "/lib/lv2")) + (share/doc (string-append #$output "/share/doc")) + (plugin-lib (string-append lib "/" plugin-directory))) + + ;; Install plugin + (for-each + (lambda (f) + (install-file f plugin-lib)) + (find-files plugin-directory + "^.*\\.(sf2|so|ttl)$")) + + ;; Install license + (for-each + (lambda (f) + (install-file f share/doc)) + (find-files plugin-directory "(README|License\\.pdf)")) + + ;; Install UI + (copy-recursively (string-append plugin-directory "/modgui") + (string-append plugin-lib "/modgui"))))))))) + (description + (string-append (package-description fluidplug-lv2) " + +This package provides the @code{" (fluidplug-plugin-name record) +"} LV2 plugin.")) + (license (fluidplug-plugin-license record)))) + +(define-public fluidplug-airfont320-lv2 + (fluidplug-plugin->package airfont320-fluidplug-plugin)) + +(define-public fluidplug-avl-drumkits-perc-lv2 + (fluidplug-plugin->package avl-drumkits-perc-fluidplug-plugin)) + +(define-public fluidplug-black-pearl-4a-lv2 + (fluidplug-plugin->package black-pearl-4a-fluidplug-plugin)) + +(define-public fluidplug-black-pearl-4b-lv2 + (fluidplug-plugin->package black-pearl-4b-fluidplug-plugin)) + +(define-public fluidplug-black-pearl-5-lv2 + (fluidplug-plugin->package black-pearl-5-fluidplug-plugin)) + +(define-public fluidplug-red-zeppelin-4-lv2 + (fluidplug-plugin->package red-zeppelin-4-fluidplug-plugin)) + +(define-public fluidplug-red-zeppelin-5-lv2 + (fluidplug-plugin->package red-zeppelin-5-fluidplug-plugin)) + +(define-public fluidplug-fluidgm-lv2 + (fluidplug-plugin->package fluidgm-fluidplug-plugin)) + +(define-public fluidplug-fluidbass-lv2 + (fluidplug-plugin->package fluidbass-fluidplug-plugin)) + +(define-public fluidplug-fluidbrass-lv2 + (fluidplug-plugin->package fluidbrass-fluidplug-plugin)) + +(define-public fluidplug-fluidchromperc-lv2 + (fluidplug-plugin->package fluidchromperc-fluidplug-plugin)) + +(define-public fluidplug-fluiddrums-lv2 + (fluidplug-plugin->package fluiddrums-fluidplug-plugin)) + +(define-public fluidplug-fluidensemble-lv2 + (fluidplug-plugin->package fluidensemble-fluidplug-plugin)) + +(define-public fluidplug-fluidethnic-lv2 + (fluidplug-plugin->package fluidethnic-fluidplug-plugin)) + +(define-public fluidplug-fluidguitars-lv2 + (fluidplug-plugin->package fluidguitars-fluidplug-plugin)) + +(define-public fluidplug-fluidorgans-lv2 + (fluidplug-plugin->package fluidorgans-fluidplug-plugin)) + +(define-public fluidplug-fluidpercussion-lv2 + (fluidplug-plugin->package fluidpercussion-fluidplug-plugin)) + +(define-public fluidplug-fluidpianos-lv2 + (fluidplug-plugin->package fluidpianos-fluidplug-plugin)) + +(define-public fluidplug-fluidpipes-lv2 + (fluidplug-plugin->package fluidpipes-fluidplug-plugin)) + +(define-public fluidplug-fluidreeds-lv2 + (fluidplug-plugin->package fluidreeds-fluidplug-plugin)) + +(define-public fluidplug-fluidsoundfx-lv2 + (fluidplug-plugin->package fluidsoundfx-fluidplug-plugin)) + +(define-public fluidplug-fluidstrings-lv2 + (fluidplug-plugin->package fluidstrings-fluidplug-plugin)) + +(define-public fluidplug-fluidsynthfx-lv2 + (fluidplug-plugin->package fluidsynthfx-fluidplug-plugin)) + +(define-public fluidplug-fluidsynthleads-lv2 + (fluidplug-plugin->package fluidsynthleads-fluidplug-plugin)) + +(define-public fluidplug-fluidsynthpads-lv2 + (fluidplug-plugin->package fluidsynthpads-fluidplug-plugin)) -- 2.45.2