From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cFSYIEaKFWdVKQEAe85BDQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 22:55:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cFSYIEaKFWdVKQEAe85BDQ (envelope-from ) for ; Mon, 21 Oct 2024 00:55:02 +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=DssLqZXo; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=OyHnfo9A; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729464902; a=rsa-sha256; cv=none; b=l5x2507cwwr5h29es693pHEnA6jrtxVnzuquqURoilm18/39AWQeWxJU9qkHHzVnmOJzP4 ZriW2weEIOrYoWZXd3gDXO6VBGt/sTbI8sGfKy3lM/Zpj0CQrvm8oAS9uPgSIDor7gnaXT B61UPH0OQUpBrm67XcDjyiE5xGjU1DZLjZt6vggK/fiTT/luRP1fb4N4z27Z6BxOOPB8Ny yGUyW66lyaggFnIOcT6aQRC/edQnDSUHxCg5fZkgy0kInkAA7mpiAU30V9PsYGxD1zhdLH YLIy2CiI/XDFkpsX6flWrsD0AP+lrch44bYR7zXYlrEdcDzPJoWM2xGE7F6d2A== 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=DssLqZXo; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=OyHnfo9A; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729464902; 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=s5yluNBahZC4dX5o0saYEAWTt+00iXzoT5BNNrvv3ak=; b=dGRMuPBXjFlpnjF1uwojxvlVmMEJCKyc7tM/cI4XQ50bec83qscSeUEielF9UT+trUI1So XmxTNC3ZQBeyjLba8fQDmOJHX2LBW/g4hJZ+lq2peuJCcJOW+PUFUbyK9bIXotChol/XT6 BaPzfmSZRVUlTrI36H7k6tCVDL4IvC/m/UM+/Z/rJGhb60LJ5GPStizERciny7+JngiAsj pcdnA0YVghyKBPRSrlHlLAzrqsn/1zJKE0vNIUnboNFw9s1yQtMY4DOvEwTJmbrFiP7a4G FK8qN46bxoPDecghnCCv0BXJHLfnfKLvx4AejidXTC1ikqzwIchAW5V4otupXg== 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 1659A8228B for ; Mon, 21 Oct 2024 00:55:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2eoo-0002Y1-Gg; Sun, 20 Oct 2024 18:54:38 -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 1t2eom-0002Xa-W6 for guix-patches@gnu.org; Sun, 20 Oct 2024 18:54:37 -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 1t2eom-0001o7-N9 for guix-patches@gnu.org; Sun, 20 Oct 2024 18:54:36 -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=s5yluNBahZC4dX5o0saYEAWTt+00iXzoT5BNNrvv3ak=; b=DssLqZXomYnwRNlXEHq011VwS5tk6/nqwLu5SRIB1dBgLAkevO6HhilrCqfawecMBm0TWrndVq9tPMxt0TGVL6+SRG9IuBlg9QaYGsVmwWKSGz1jLuZM/ltLXD6guZh8lefGgVl6N5FRJj+RHdw8GoEiDB40gBqlz7dVkGs7UP8XMbXU4wsbw4EcqevbZdSBChcYG5Il0x+WiWaPIs8A0kqDDN8+QF8oOvib0rBCKhGMRkBzTR6v7N+uwr/YRJOMO9EyMVqNi7GXYbwMSevFbBQlHKi4+ikYnlkg7ymA5DNNFILfZmeeQcg2uo9WBzekjjkpX3ACE991ZH+lr+hvWA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2epC-00023R-82; Sun, 20 Oct 2024 18:55:02 -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: Sun, 20 Oct 2024 22:55: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.17294648847828 (code B ref 69593); Sun, 20 Oct 2024 22:55:02 +0000 Received: (at 69593) by debbugs.gnu.org; 20 Oct 2024 22:54:44 +0000 Received: from localhost ([127.0.0.1]:49213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2eot-00022B-IT for submit@debbugs.gnu.org; Sun, 20 Oct 2024 18:54:44 -0400 Received: from confino.investici.org ([93.190.126.19]:42727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2eor-000223-K1 for 69593@debbugs.gnu.org; Sun, 20 Oct 2024 18:54:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729464855; bh=s5yluNBahZC4dX5o0saYEAWTt+00iXzoT5BNNrvv3ak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OyHnfo9ACat2QKDpoIGHic03vnlBpobiFPRNY15DHn5PhvNZvgaIggltKG0OgEyPu XoNyFeALuqUrIwVtXxxaKSC3Vzj7qDU7so3U6yOiE7AubHJ5OCyjZ+szCQEmb9QTqp o5qwbjH7BHtzWh6Di0VWyVD7tgmgoM7iVmJB/Zug= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XWtzW2nYgz10yF; Sun, 20 Oct 2024 22:54:15 +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 4XWtzW22r8z10xr; Sun, 20 Oct 2024 22:54:15 +0000 (UTC) Date: Mon, 21 Oct 2024 00:54:03 +0200 Message-ID: <2bfd1724a0c370a5ceeb20bb1293ece0402e35db.1729464844.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.00 X-Spam-Score: 1.00 X-Migadu-Queue-Id: 1659A8228B X-Migadu-Scanner: mx12.migadu.com X-TUID: nuw3XAs8t3ot * 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.46.0