summary refs log tree commit diff
path: root/gnu/packages/sdl.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2015-12-15 13:30:56 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-12-17 22:01:49 -0500
commit855e2939819c967d42d34b4c90f9c1abd9fd3c87 (patch)
treef7ca4186749bbbc90f61a09657461a14894ac67e /gnu/packages/sdl.scm
parent6813f70a5c02eec999850603bd99b6df4fd41bec (diff)
downloadguix-855e2939819c967d42d34b4c90f9c1abd9fd3c87.tar.gz
gnu: Add sdl2-mixer.
* gnu/packages/sdl.scm (sdl2-mixer): New variable.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r--gnu/packages/sdl.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 63c1037fcb..2d019665ba 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -323,6 +323,21 @@ directory.")
     (propagated-inputs
      (propagated-inputs-with-sdl2 sdl-image))))
 
+(define-public sdl2-mixer
+  (package (inherit sdl-mixer)
+    (name "sdl2-mixer")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-"
+                              version ".tar.gz"))
+              (sha256
+               (base32
+                "0nvjdxjchrajrn0jag877hdx9zb788hsd315zzg1lyck2wb0xkm8"))))
+    (propagated-inputs
+     (propagated-inputs-with-sdl2 sdl-mixer))))
+
 (define-public guile-sdl
   (package
     (name "guile-sdl")