unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42283] [PATCH] gnu: Add adlplug.
@ 2020-07-08 21:47 Alexandros Theodotou
  2020-07-20 22:55 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandros Theodotou @ 2020-07-08 21:47 UTC (permalink / raw)
  To: 42283


[-- Attachment #1.1: Type: text/plain, Size: 65 bytes --]

Hi,

This patch adds the ADLPlug LV2 plugin.

Thanks,
Alex

[-- Attachment #1.2: 0001-gnu-Add-adlplug.patch --]
[-- Type: text/x-patch, Size: 2232 bytes --]

From 9fb65e86d7d175b7680777fb74082491642bfe1c Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Wed, 8 Jul 2020 22:46:38 +0100
Subject: [PATCH] gnu: Add adlplug.

* gnu/packages/music.scm (adlplug): New variable.
---
 gnu/packages/music.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0b8b8df226..11cd0dc246 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1422,6 +1422,48 @@ sessions.  Solfege is also designed to be extensible so you can easily write
 your own lessons.")
     (license license:gpl3+)))
 
+(define-public adlplug
+  (package
+    (name "adlplug")
+    (version "1.0.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/jpcima/ADLplug.git")
+               (commit (string-append "v" version))
+               (recursive? #t))) ; uses 3rd party submodules
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0n9srdlgl1j528ap5xmllrqs1w6ibc5yf9sphvl1q9kjnizxrs2c"))))
+    (build-system cmake-build-system)
+   (arguments
+    `(#:tests? #f  ; no tests
+      #:configure-flags `("-DADLplug_VST2=OFF"
+                          "-DADLplug_VST3=OFF"
+                          "-DADLplug_LV2=ON"
+                          "-DADLplug_Standalone=ON"
+                          "-DADLplug_Jack=ON"
+                          "-DADLplug_CHIP=OPL3")))
+   (inputs
+    `(("alsa-lib" ,alsa-lib)
+      ("freetype" ,freetype)
+      ("jack" ,jack-1)
+      ("libx11" ,libx11)
+      ("libxcursor" ,libxcursor)
+      ("libxinerama" ,libxinerama)
+      ("libxrandr" ,libxrandr)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+    (synopsis "FM chip synthesizer plugin")
+    (description
+      "This package provides FM synthesizer plugins, based on
+OPL3 and OPN2 sound chip emulations.  The emulations and the drivers are
+provided by libADLMIDI and libOPNMIDI.")
+    (home-page "https://github.com/jpcima/ADLplug")
+    (license license:boost1.0)))
+
 (define-public powertabeditor
   (package
     (name "powertabeditor")
-- 
2.27.0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-20 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-08 21:47 [bug#42283] [PATCH] gnu: Add adlplug Alexandros Theodotou
2020-07-20 22:55 ` Marius Bakke
2020-07-20 23:18   ` Alexandros Theodotou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).