From d6ef1039fe0f69e1b28b811c7a018a44eab721dc Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 3 Jul 2020 09:40:24 -0400 Subject: gnu: Add libopenmpt. * gnu/packages/audio.scm (libopenmpt): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/audio.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index f3e94e8eb0..75ffa7c033 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -128,6 +128,39 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public libopenmpt + (package + (name "libopenmpt") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri + (string-append "https://download.openmpt.org/archive/" name "/src/" + name "-" version "+release.autotools.tar.gz")) + (sha256 + (base32 "0zl3djy9z7cpqk8g8pxrzmmikxsskb0y5qdabg6c683j7x5abjs3")))) + (build-system gnu-build-system) + (native-inputs + `(("doxygen" ,doxygen) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (inputs + `(("alsa" ,alsa-lib) + ("flac" ,flac) + ("mpg123" ,mpg123) + ("portaudio" ,portaudio) + ("pulseaudio" ,pulseaudio) + ("sdl2" ,sdl2) + ("sndfile" ,libsndfile) + ("vorbis" ,libvorbis) + ("zlib" ,zlib))) + (synopsis "Audio tracking library") + (description "LibOpenMPT is a cross-platform C++ and C module playback +library. It is based on the player code of the Open ModPlug Tracker project.") + (home-page "https://openmpt.org/") + (license (license:non-copyleft "file:///LICENSE")))) + (define-public libofa (package (name "libofa") -- cgit 1.4.1