From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 kKUAGlqvS2cXKgAA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 00:35:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kKUAGlqvS2cXKgAA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 01:35:38 +0100 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=lAauc94p; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=WojEdfG3; 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=1733013338; a=rsa-sha256; cv=none; b=b3qIDaDjczlNw5v2QvKnpZzJ6nF2SJgXK5ofRwoskgKnfvlk81kUe/ZAuW+M7BSDgqM/Js 1tCrnqJqObDB2Fu9GOEud0ba/hwS99y79T7XdU+mimzk6lRkxjqLLul8KtfFczwrGOiJb1 1MJ1Xi4q1y/pcK36pIx0l5x6zNyJlFnSdOwhSmbUnJPq7HW3bS6l9uJufOFEDxzEUKsqYY bUC1rNQtEVh69bjnLonioKYU18ItkLHmfB7jqxQS12gQR+GNufrb8JCNaDlm6PvhMP+BHV yL78fuGZbLbmUnhtBomXzuZI1zji0a5uxN3hIOfgFEkJGkB+Sd6caNwMpO4Upg== 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=lAauc94p; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=WojEdfG3; 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=1733013338; 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=gt4eTjQG6sSzp+24h3bLzIluQq8gef9bAPLPabinrI0=; b=qkOg3BktifjxsRx7F9dexP9ux3WeVtMA9cDHnaWkFKQyXTrEBF+vWU2t5KKV9/sFSE9aEs WcAJXIYu0N+HPr6g9BQ3sGFtodRTnfYBAaANB8m5+pLwkxk6MMhswxaO2Lg/IZmoupJmyG TjM8QU4vPbdlzWqVQQAEob+41fLY2hwizRgs3BDuNKF5ikaSy7kgVBGC7hbKZZAWI5B5vU hwkFb507L5Z9AZz5kUm1K1y1NK1zF0dx4LU9G7ct/Hrz2XKakt4M4xqn/hUcRfrBEutIhh ZhFgOt9GZ/+z7VaMbQYJxFLYHnbSqMzIXMjqc4T7jHxnuRm4D6eTy7XJhWZT0w== 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 D4BC36F6B for ; Sun, 01 Dec 2024 01:35:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHXD0-0004JS-Nt; Sat, 30 Nov 2024 18:49:07 -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 1tHXCz-0004IW-76 for guix-patches@gnu.org; Sat, 30 Nov 2024 18:49:05 -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 1tHXCx-0000vm-Tc for guix-patches@gnu.org; Sat, 30 Nov 2024 18:49:04 -0500 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=gt4eTjQG6sSzp+24h3bLzIluQq8gef9bAPLPabinrI0=; b=lAauc94pH+RQqg1fB6WpFJHNAA9QOZpoKBB4OItJyAHjPdJg7xulvIvq1jodLS6k+mTAkhO03GjhkDYJRxLoWXSDNIkErM1Bwbmb9F1iIazkCCPIWsbi/1hcBJP6PVOKJOOz3cFfKSuQz1kLEFcJSP4e4etLi3nkWXnqbPtNFKcvR9B24VCVYJQzV+d/tIca3r/hZV1lPkKyCj5BXW5+3trp1JPohnVOIUrTMTkHLmLVEJb5g6ogQtZhiz58dBgdKPE7+m4uzcsUWPgOkBHByQck2LQjWPsJswT1pM5chW/C60LLATUxtXt4ExNPlJ4kAI3b4pXMj9OWWOalxeIKVQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHXCx-0000uE-1A; Sat, 30 Nov 2024 18:49:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH v4 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: Sat, 30 Nov 2024 23:49: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.17330105333432 (code B ref 69593); Sat, 30 Nov 2024 23:49:02 +0000 Received: (at 69593) by debbugs.gnu.org; 30 Nov 2024 23:48:53 +0000 Received: from localhost ([127.0.0.1]:49524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXCn-0000tH-3e for submit@debbugs.gnu.org; Sat, 30 Nov 2024 18:48:53 -0500 Received: from confino.investici.org ([93.190.126.19]:58247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXCj-0000ss-49 for 69593@debbugs.gnu.org; Sat, 30 Nov 2024 18:48:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1733010528; bh=gt4eTjQG6sSzp+24h3bLzIluQq8gef9bAPLPabinrI0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WojEdfG3vgd6Towe8DhRlPGXpDRQ9tG+EzMS1QCbvZFyoPDG/u3AiE39FcwVBbs3C cxrTXGemJtT59ynrJIn/EGO8KKaQFKhDQVsYxJQmvipDCeQ2Ll+eKL/15faeSjWIaN w/1sSHdpxX4TzuO9n0+YS1yKs5fikIjjJdNg4Yrs= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Y16FX42pPz11SC; Sat, 30 Nov 2024 23:48:48 +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 4Y16FX2xGFz11S4; Sat, 30 Nov 2024 23:48:48 +0000 (UTC) Date: Sun, 1 Dec 2024 00:48:37 +0100 Message-ID: <2fcb39d62cb98bbfb4f039acfb30817281467b9a.1733010518.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: -2.05 X-Spam-Score: -2.05 X-Migadu-Queue-Id: D4BC36F6B X-Migadu-Scanner: mx12.migadu.com X-TUID: kJA5aOVQaMTY * gnu/packages/fluidplug.scm (fluidplug-plugin->package): New procedure; (fluidplug-airfont320-lv2, fluidplug-avl-drumkits-perc-lv2, fluidplug-black-pearl-4a-lv2, fluidplug-black-pearl-4b-lv2, fluidplug-black-pearl-5-lv2, fluidplug-red-zeppelin-4-lv2, fluidplug-red-zeppelin-5-lv2, fluidplug-fluidgm-lv2, fluidplug-fluidbass-lv2, fluidplug-fluidbrass-lv2, fluidplug-fluidchromperc-lv2, fluidplug-fluiddrums-lv2, fluidplug-fluidensemble-lv2, fluidplug-fluidethnic-lv2, fluidplug-fluidguitars-lv2, fluidplug-fluidorgans-lv2, fluidplug-fluidpercussion-lv2, fluidplug-fluidpianos-lv2, fluidplug-fluidpipes-lv2, fluidplug-fluidreeds-lv2, fluidplug-fluidsoundfx-lv2, fluidplug-fluidstrings-lv2, fluidplug-fluidsynthfx-lv2, fluidplug-fluidsynthleads-lv2, fluidplug-fluidsynthpads-lv2): New variables. Change-Id: I3692e2ed462bf71abe56d07712b8846a4228ad90 --- gnu/packages/fluidplug.scm | 155 ++++++++++++++++++++++++++++++++++++- 1 file changed, 154 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fluidplug.scm b/gnu/packages/fluidplug.scm index 969e99e776..0d2d63753c 100644 --- a/gnu/packages/fluidplug.scm +++ b/gnu/packages/fluidplug.scm @@ -38,7 +38,34 @@ (define-module (gnu packages fluidplug) fluidplug-plugin-hash fluidplug-plugin-license - fluidplug-lv2)) + fluidplug-lv2 + + fluidplug-plugin->package + fluidplug-airfont320-lv2 + fluidplug-avl-drumkits-perc-lv2 + fluidplug-black-pearl-4a-lv2 + fluidplug-black-pearl-4b-lv2 + fluidplug-black-pearl-5-lv2 + fluidplug-red-zeppelin-4-lv2 + fluidplug-red-zeppelin-5-lv2 + fluidplug-fluidgm-lv2 + fluidplug-fluidbass-lv2 + fluidplug-fluidbrass-lv2 + fluidplug-fluidchromperc-lv2 + fluidplug-fluiddrums-lv2 + fluidplug-fluidensemble-lv2 + fluidplug-fluidethnic-lv2 + fluidplug-fluidguitars-lv2 + fluidplug-fluidorgans-lv2 + fluidplug-fluidpercussion-lv2 + fluidplug-fluidpianos-lv2 + fluidplug-fluidpipes-lv2 + fluidplug-fluidreeds-lv2 + fluidplug-fluidsoundfx-lv2 + fluidplug-fluidstrings-lv2 + fluidplug-fluidsynthfx-lv2 + fluidplug-fluidsynthleads-lv2 + fluidplug-fluidsynthpads-lv2)) (define-record-type* fluidplug-plugin make-fluidplug-plugin @@ -328,3 +355,129 @@ (define 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 fluidplug-airfont320-lv2 + (fluidplug-plugin->package airfont320)) + +(define fluidplug-avl-drumkits-perc-lv2 + (fluidplug-plugin->package avl-drumkits-perc)) + +(define fluidplug-black-pearl-4a-lv2 + (fluidplug-plugin->package black-pearl-4a)) + +(define fluidplug-black-pearl-4b-lv2 + (fluidplug-plugin->package black-pearl-4b)) + +(define fluidplug-black-pearl-5-lv2 + (fluidplug-plugin->package black-pearl-5)) + +(define fluidplug-red-zeppelin-4-lv2 + (fluidplug-plugin->package red-zeppelin-4)) + +(define fluidplug-red-zeppelin-5-lv2 + (fluidplug-plugin->package red-zeppelin-5)) + +(define fluidplug-fluidgm-lv2 + (fluidplug-plugin->package fluidgm)) + +(define fluidplug-fluidbass-lv2 + (fluidplug-plugin->package fluidbass)) + +(define fluidplug-fluidbrass-lv2 + (fluidplug-plugin->package fluidbrass)) + +(define fluidplug-fluidchromperc-lv2 + (fluidplug-plugin->package fluidchromperc)) + +(define fluidplug-fluiddrums-lv2 + (fluidplug-plugin->package fluiddrums)) + +(define fluidplug-fluidensemble-lv2 + (fluidplug-plugin->package fluidensemble)) + +(define fluidplug-fluidethnic-lv2 + (fluidplug-plugin->package fluidethnic)) + +(define fluidplug-fluidguitars-lv2 + (fluidplug-plugin->package fluidguitars)) + +(define fluidplug-fluidorgans-lv2 + (fluidplug-plugin->package fluidorgans)) + +(define fluidplug-fluidpercussion-lv2 + (fluidplug-plugin->package fluidpercussion)) + +(define fluidplug-fluidpianos-lv2 + (fluidplug-plugin->package fluidpianos)) + +(define fluidplug-fluidpipes-lv2 + (fluidplug-plugin->package fluidpipes)) + +(define fluidplug-fluidreeds-lv2 + (fluidplug-plugin->package fluidreeds)) + +(define fluidplug-fluidsoundfx-lv2 + (fluidplug-plugin->package fluidsoundfx)) + +(define fluidplug-fluidstrings-lv2 + (fluidplug-plugin->package fluidstrings)) + +(define fluidplug-fluidsynthfx-lv2 + (fluidplug-plugin->package fluidsynthfx)) + +(define fluidplug-fluidsynthleads-lv2 + (fluidplug-plugin->package fluidsynthleads)) + +(define fluidplug-fluidsynthpads-lv2 + (fluidplug-plugin->package fluidsynthpads)) -- 2.46.0