aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-07-03 09:40:24 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-18 22:56:33 +0200
commitd6ef1039fe0f69e1b28b811c7a018a44eab721dc (patch)
tree8ccf7dc611a3e45f5179336ed3372ec262c8f1b2
parent38375ce952902931f626ce6440368dee1ff4f68c (diff)
downloadguix-d6ef1039fe0f69e1b28b811c7a018a44eab721dc.tar.gz
guix-d6ef1039fe0f69e1b28b811c7a018a44eab721dc.zip
gnu: Add libopenmpt.
* gnu/packages/audio.scm (libopenmpt): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r--gnu/packages/audio.scm33
1 files changed, 33 insertions, 0 deletions
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")