[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#76719] [PATCH 1/2] gnu: Add mt32emu.
From: |
Andrew Wong |
Subject: |
[bug#76719] [PATCH 1/2] gnu: Add mt32emu. |
Date: |
Mon, 3 Mar 2025 15:30:22 -0500 |
* gnu/packages/audio.scm (mt32emu): New variable.
Change-Id: I458e4722ac012935814643a2925e185c46ecaba3
---
gnu/packages/audio.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 9f50f7f940..1b134cd911 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2030,6 +2030,36 @@ (define-public midicomp
(home-page "https://github.com/markc/midicomp")
(license license:agpl3))))
+(use-modules (guix build utils))
+(define-public mt32emu
+ (package
+ (name "mt32emu")
+ (version "2.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/munt/munt")
+ (commit (string-append "libmt32emu_"
+ (string-replace-substring
+ version "." "_")))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06d3jzx69nwy9jj6jv9q6rhq5399mp51w6d5mijg3fmwr4al13fd"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "mt32emu"))))))
+ (home-page "https://sourceforge.net/projects/munt/")
+ (synopsis "Pre-GM Roland MIDI device emulator")
+ (description "libmt32emu is a C/C++ library which approximately emulates
+the Roland MT-32, CM-32L and LAPC-I synthesizer modules. It is part of the
+Munt project.")
+ (license license:gpl2+)))
+
(define-public clalsadrv
(package
(name "clalsadrv")
--
2.48.1