From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KHy3IaXW6GUMmQAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Mar 2024 21:48:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KHy3IaXW6GUMmQAAqHPOHw (envelope-from ) for ; Wed, 06 Mar 2024 21:48:37 +0100 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=UZMH2Jx0; 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=1709758117; 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=rqyMUC1sIeXYkKI0V5iMY0dCcEG9C1fx11dr3R0pcAa3im12aDRK5chxtXb5JvbDJZzHB/ 1UAU22X/AxrxvfBAjdLHgwlEG7uGmRmAsF6CzJIhXquuRvRFZnOUnW29raoWtXubeA3Et2 XnueijpNOE3sBcdqBw/UxXfLTy/iwn1ugpMz3WDEv+8/YjJ5TPNA1yChzQzCtRAnDmpLc6 qq74g+ic8ZcwY+QLQurzwfSqvs2IElYgWUjBypQOiTxE3c9AonlOK2zWq3cDha7Um8Z9Z0 E2cy4G9VteJRzULuTepRpVCR72J6Z8JOrJ/sy9iiUMspYV8GMP4QAE+QHLrGLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709758117; a=rsa-sha256; cv=none; b=lX7mV5hGZ+iMK1Qvr262HuorPoRv4J3ZSLQbK5iF//0TmEpfM33pWOUf7w2HuAFvLOr9k7 /IVCGxavdiiV64SLFhDkbstJRraCAnVgWt5SCBkPVwH0cfBF0ZJwPUa/ux8Gi+fy+fqdCs sjwjIK++ydpaZKtnuw9H1ZtR3qFJfhlXbWh8OmZ1s6JsrjACsBEVnyPhgUK8RgMEh4JNq7 z0H2bLWg6rOLtekxQZLWUbD8KNf08Y02tpwZeb8r1bjkmAecfNSReMOXiudfX42KbELxq0 VK8r2w98QXoSh2LuESRtjy01wMQnzs3RDqf24IljEu9xGKq4WzQO4WyT7zY5IA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=UZMH2Jx0; 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 1424F726D1 for ; Wed, 6 Mar 2024 21:48:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhxlc-00016N-SW; Wed, 06 Mar 2024 15:21:32 -0500 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 1rhxlb-00015z-E1 for guix-patches@gnu.org; Wed, 06 Mar 2024 15:21:31 -0500 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 1rhxlb-0005wB-5s for guix-patches@gnu.org; Wed, 06 Mar 2024 15:21:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhxm6-0006Z9-53; Wed, 06 Mar 2024 15:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH 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, 06 Mar 2024 20:22: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.170975651225197 (code B ref 69593); Wed, 06 Mar 2024 20:22:02 +0000 Received: (at 69593) by debbugs.gnu.org; 6 Mar 2024 20:21:52 +0000 Received: from localhost ([127.0.0.1]:51684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxlv-0006YK-Hg for submit@debbugs.gnu.org; Wed, 06 Mar 2024 15:21:52 -0500 Received: from confino.investici.org ([93.190.126.19]:41271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhxlt-0006YC-G5 for 69593@debbugs.gnu.org; Wed, 06 Mar 2024 15:21:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1709756477; bh=SaLdCHTMfItJkZ/m7CeiGxse3nOxHoKrqe1X1p+Xj9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UZMH2Jx0kcsRFU/zje5u3QWj5MF2jX+VGacKf8uE4XIIiu0ct2eAhFmoNon3pPOBQ Mex/Th8iXhNzfsuYs8P3OxSEHX64VaGqKnnQKazfNQGOUfiLFDxa3fXjD/O1UCN5OB uE8QMau2QDwIKXkuI8ITcbR+kqaRjl8ab65MSKYI= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TqkNF20VYz11Fx; Wed, 6 Mar 2024 20:21:17 +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 4TqkNF0Bh8z11Fh; Wed, 6 Mar 2024 20:21:16 +0000 (UTC) Date: Wed, 6 Mar 2024 21:20:45 +0100 Message-ID: <49f7e067bf879d67cab4ea41af309b0e36e008ae.1709756446.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <3747d738067368c29d71f921d3f31452902858be.1709756446.git.goodoldpaul@autistici.org> References: <3747d738067368c29d71f921d3f31452902858be.1709756446.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.87 X-Spam-Score: -4.87 X-Migadu-Queue-Id: 1424F726D1 X-Migadu-Scanner: mx11.migadu.com X-TUID: z6aCMuV7ipbe * 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