[bug#74723,13/19] gnu: Add adplug.
Commit Message
* gnu/packages/audio.scm (adplug): New variable.
Change-Id: I4a7eefac29db50573c0db161eaea49672a7828af
---
gnu/packages/audio.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
@@ -159,6 +159,7 @@ (define-module (gnu packages audio)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
+ #:use-module (gnu packages texinfo)
#:use-module (guix build-system trivial)
#:use-module (guix build-system waf)
#:use-module (guix download)
@@ -662,6 +663,37 @@ (define-public aubio
streams from live audio.")
(license license:gpl3+)))
+(define-public adplug
+ (package
+ (name "adplug")
+ (version "2.3.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/adplug/adplug")
+ (commit (string-append "adplug-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1r23fndz8lpyga398qxp4iy8hxabmq5kx5n9407bx47sc32j3lnn"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Include mididata.h for installation.
+ '(substitute* "Makefile.am"
+ (("pkginclude_HEADERS = ")
+ (string-append "pkginclude_HEADERS = src/mididata.h "))))))
+ (native-inputs
+ (list autoconf automake libbinio libtool pkg-config texinfo))
+ (build-system gnu-build-system)
+ (home-page "https://adplug.github.io/")
+ (synopsis "AdLib sound player library")
+ (description
+ "AdPlug is a hardware independent AdLib sound player library, mainly
+written in C++. AdPlug plays sound data, originally created for the AdLib
+(OPL2/3) audio board, on top of an OPL2/3 emulator or by using the real
+hardware. No OPL2/3 chips are required for playback.")
+ (license license:lgpl2.1+)))
+
(define-public dsp
(package
(name "dsp")