* gnu/packages/emulators.scm (mednafen): New variable.
gnu/packages/emulators.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
Toggle diff (74 lines)
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 6acd6d63d3..35b0476a56 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -411,6 +411,67 @@ Pocket Color, WonderSwan, WonderSwan Color, SwanCrystal, Pocket Challenge
(license license:gpl3+)))
+ (uri (string-append "https://mednafen.github.io/releases/files/"
+ "mednafen-" version ".tar.xz"))
+ (base32 "03zplcfvmnnv7grhacmr1zy789pb2wda36wylmzmar23g0zqbsix"))))
+ (build-system gnu-build-system)
+ ;; "--with-external-mpcdec"
+ "--with-external-lzo")))
+ `(("pkg-config" ,pkg-config)))
+ ;; ("libmpcdec" ,libmpcdec) FIXME: not recognized.
+ ("libsndfile" ,libsndfile)
+ (home-page "https://mednafen.github.io/")
+ (synopsis "Multi-system emulator utilizing OpenGL and SDL")
+ "Mednafen is a portable, utilizing OpenGL and SDL, argument-driven
+multi-system emulator. Mednafen has the ability to remap hotkey functions and
+virtual system inputs to a keyboard, a joystick, or both simultaneously. Save
+states are supported, as is real-time game rewinding. Screen snapshots may be
+taken, in the PNG file format, at the press of a button. Mednafen can record
+audiovisual movies in the QuickTime file format, with several different
+lossless codecs supported.
+The following systems are supported:
+@item Neo Geo Pocket (Color)
+@item Nintendo Entertainment System
+@item Super Nintendo Entertainment System/Super Famicom
+@item PC Engine/TurboGrafx 16 (CD)
+@item Sega Genesis/Megadrive
+@item Sega Master System
+@item Sega Saturn (experimental, x86_64 only)
+ ;; Main license is GPL2+. Some parts are BSD-3.
+ (license (list license:gpl2+ license:bsd-3))))