This patch adds DeSmuMe a Nintendo DS emulator. I am looking forward to
using it with emulation-station :-)

It's licensed under the GPLv2 and doesn't require any binary firmware
from the DS to run.

Manolis
>From 86e12e184b4f2e51b566becaf2c358e5c8a51c09 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <[email protected]>
Date: Mon, 29 Feb 2016 22:20:16 +0200
Subject: [PATCH] gnu: Add desmume.

* gnu/packages/games.scm (desmume): New variable.
---
 gnu/packages/games.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 991fa24..d0e972f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2015 Paul van der Walt <[email protected]>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <[email protected]>
 ;;; Copyright © 2016 Rodger Fox <[email protected]>
+;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1917,3 +1918,34 @@ Catan.  It can be played on a local network, on the internet, and with AI
 players.")
     (home-page "http://pio.sourceforge.net/";)
     (license license:gpl2+)))
+
+(define-public desmume
+  (package
+    (name "desmume")
+    (version "0.9.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://sourceforge/desmume/desmume/"
+             version "/desmume-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags '(;; Support for wifi and mic.
+                           "--enable-wifi"
+                           "--enable-openal")))
+    (native-inputs `(("pkg-config" ,pkg-config)
+                     ("intltool" ,intltool)))
+    (inputs `(("zlib" ,zlib)
+              ("sdl" ,sdl)
+              ("glib" ,glib)
+              ("gtk+" ,gtk+-2)
+              ("glu" ,glu)))
+    (home-page "http://desmume.org/";)
+    (synopsis "Nintendo DS emulator")
+    (description
+     "DeSmuME is a Nintendo DS emulator")
+    (license license:gpl2)))
-- 
2.7.2

Reply via email to