guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#37793] [PATCH] gnu: Add gens-gs.


From: Pierre Neidhardt
Subject: [bug#37793] [PATCH] gnu: Add gens-gs.
Date: Thu, 17 Oct 2019 16:42:38 +0200

* gnu/packages/emulators.scm (gens-gs): New variable.
---
 gnu/packages/emulators.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index f6da7f2d25..c1d1d54052 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1366,3 +1366,37 @@ functions.  The source code to MAME serves as this 
documentation.")
     ;; However, over 90% of the files are under Expat license.  Also, artwork,
     ;; keymaps, languages and samples are under CC0.
     (license (list license:gpl2+ license:expat license:cc0))))
+
+(define-public gens-gs
+  (package
+    (name "gens-gs")
+    (version "7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://retrocdn.net/images/6/6d/Gens-gs-r";
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:system "i686-linux"))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("nasm" ,nasm)))
+    (inputs
+     `(("sdl" ,sdl)
+       ("gtk" ,gtk+-2)
+       ;; TODO: Test if following deps are necessary.
+       ;; ("libpng" ,libpng)
+       ;; ("zlib" ,zlib)
+       ;; ("glu" ,glu)
+       ))
+    (home-page "https://segaretro.org/Gens/GS";)
+    (synopsis "Emulator for Sega Genesis/Mega Drive systems")
+    (description
+     "Gens/GS is an emulator for the Sega Mega Drive (also known as Genesis),
+derived from Gens.  Project goals include clean source code, combined features
+from various forks of Gens, and improved platform portability.")
+    (license license:gpl2+)))
-- 
2.23.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]