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 ms1.migadu.com with LMTPS id qI4fBA+JDGZ7bAEA62LTzQ:P1 (envelope-from ) for ; Wed, 03 Apr 2024 00:39:11 +0200 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 qI4fBA+JDGZ7bAEA62LTzQ (envelope-from ) for ; Wed, 03 Apr 2024 00:39:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=Y7E95GIw; 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=1712097551; 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=SaLdCHTMfItJkZ/m7CeiGxse3nOxHoKrqe1X1p+Xj9w=; b=bNdYw9zKhBPeK8ts5cDpxcuzbeqjpk4wYOwmvqhVBU8NIqUqFnOS1OtSHNfQd9+dnRt4pc Yz+zyOr79bTbQjhYdp9PghK2tXyEA6ACkfaZ0bjNRpbX7/1ZwBKOCbx5iCrRriA4bVytlC wp5ZszJYZ+N0Tc81ECljXcxWI3bEaJYLqJNpoCZB5VuS4B0MTHcsk7iLjNAd0RcVbEziWx 1fQbWof3M7NA27uA2v3lfDCw5hLCPe+L1jfFxLUA19O9IgeqYsg6Z/XaISxggjGFfmOzM9 dDLNnirTcBlr1vJmmQRRhfgfKopq1DgszRIk/gYamkZZnjp0KsKfAXIMfcF/4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712097551; a=rsa-sha256; cv=none; b=qZpJA9PBH+/8A9xibTFORhXRSYhHPYHsu/i60i6GXZrIMgRlYqOuYC7vEDpHnsumRPbSEp 86a9Ly/QbjPlvf8w7QXg57xLs0KSZR6EMsvrtDCxEdLeE+RaRlDUw6zs76OTCifmihNnjS uDxxjQ61eQ6z3jCHfvpSwj4Z6EUOFJk10IbPmMIQUL/s48A9IvlCoPodMTnFKWMZgVmd/V h2z+n3mnoHSvoYPUf0PcTFEF3xgqw28c2hjzutNbiIzAQNulz2bn8aJWgzdluPmGJpdSHz saWO3bcJ0607i7fexpVQjkpKdYnlCmIcA0xh8zj5tNdTkUmJ8DBbthEzJ/w6YA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=Y7E95GIw; 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 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 5919360972 for ; Wed, 3 Apr 2024 00:39:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrmmR-0000Sz-VF; Tue, 02 Apr 2024 18:38:59 -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 1rrmmR-0000Sl-1a for guix-patches@gnu.org; Tue, 02 Apr 2024 18:38:59 -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 1rrmmQ-0004DS-K6 for guix-patches@gnu.org; Tue, 02 Apr 2024 18:38:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrmmU-0003sc-JF; Tue, 02 Apr 2024 18:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH v2 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: Tue, 02 Apr 2024 22:39: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.171209750614746 (code B ref 69593); Tue, 02 Apr 2024 22:39:02 +0000 Received: (at 69593) by debbugs.gnu.org; 2 Apr 2024 22:38:26 +0000 Received: from localhost ([127.0.0.1]:56503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrmlt-0003pe-8W for submit@debbugs.gnu.org; Tue, 02 Apr 2024 18:38:25 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:50763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrmll-0003oY-O6 for 69593@debbugs.gnu.org; Tue, 02 Apr 2024 18:38:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1712097493; bh=SaLdCHTMfItJkZ/m7CeiGxse3nOxHoKrqe1X1p+Xj9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y7E95GIwQgjCiWzwduEPi0TolIBsbT1aECp7urzsr1nuc7Yn1FbJH+jP1HXNqhHPf 0qCecEPLeMk0cVsPwdhwCzYXa08mk8RL58/FOGZaPrufGJV2mKmZ+sDQ0Js//jFHRH eukeK1wZTGOogj5V5k7UyVME0J1eogceVgsOTT8c= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4V8N7n0vRQz117q; Tue, 2 Apr 2024 22:38:13 +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 4V8N7n052rz1102; Tue, 2 Apr 2024 22:38:12 +0000 (UTC) Date: Wed, 3 Apr 2024 00:37:57 +0200 Message-ID: <349e43bfa0ef131b4760728ea9116c2f6d1fb06b.1712097478.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-Spam-Score: -6.55 X-Spam-Score: -6.55 X-Migadu-Queue-Id: 5919360972 X-Migadu-Scanner: mx13.migadu.com X-TUID: BBitrcFqNuPS * 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.41.0