[gnome-games/wip/aplazas/libretro-mednafen-lynx: 2/2] flatpak: Add the libretro-mednafen_saturn core



commit 65159ae563da3cc294edbceac44be6cc03947bc0
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun May 28 10:04:09 2017 +0200

    flatpak: Add the libretro-mednafen_saturn core
    
    This allows to run Sega Saturn games.

 .../libretro-cores/libretro-mednafen_saturn.json   |   27 ++++++++++++++++
 flatpak/libretro-cores/mednafen_saturn.libretro    |   32 ++++++++++++++++++++
 flatpak/org.gnome.Games.json                       |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-mednafen_saturn.json 
b/flatpak/libretro-cores/libretro-mednafen_saturn.json
new file mode 100644
index 0000000..1ddfd59
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-mednafen_saturn.json
@@ -0,0 +1,27 @@
+        {
+            "name": "libretro-mednafen_saturn",
+            "no-autogen": true,
+            "make-args": [
+                "prefix=/app",
+                "core_installdir=/app/lib/libretro"
+            ],
+            "make-install-args": [
+                "prefix=/app",
+                "core_installdir=/app/lib/libretro"
+            ],
+            "post-install": [
+                /* TODO: Send that upstream */
+                "mkdir -p /app/lib/libretro/",
+                "install -m644 -p mednafen_saturn.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/Kekun/beetle-saturn-libretro";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/mednafen_saturn.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/mednafen_saturn.libretro b/flatpak/libretro-cores/mednafen_saturn.libretro
new file mode 100644
index 0000000..5987105
--- /dev/null
+++ b/flatpak/libretro-cores/mednafen_saturn.libretro
@@ -0,0 +1,32 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=PCSX ReARMed
+Module=mednafen_saturn_libretro.so
+LibretroVersion=1
+Authors=Mednafen Team;
+License=GPL-2.0+;
+
+[Platform:SegaSaturn]
+MimeType=application/x-cue;application/x-saturn-rom;
+Firmwares=SegaSaturnEU;SegaSaturnJ;TheKingOfFighters95;UltramanHikariNoKyojinDensetsu;
+
+[Firmware:SegaSaturnEU]
+Path=mpr-17933.bin
+MD5=3240872c70984b6cbfda1586cab68dbe
+Mandatory=false
+
+[Firmware:SegaSaturnJ]
+Path=sega_101.bin
+MD5=85ec9ca47d8f6807718151cbcca8b964
+Mandatory=false
+
+[Firmware:TheKingOfFighters95]
+Path=mpr-18811-mx.ic1
+MD5=255113ba943c92a54facd25a10fd780c
+Mandatory=false
+
+[Firmware:UltramanHikariNoKyojinDensetsu]
+Path=mpr-19367-mx.ic1
+MD5=1cd19988d1d72a3e7caa0b73234c96b4
+Mandatory=false
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index fd6d6e6..eb1474d 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -52,6 +52,7 @@
         "libretro-cores/libretro-mednafen_lynx.json",
         "libretro-cores/libretro-mednafen_ngp.json",
         "libretro-cores/libretro-mednafen_pce_fast.json",
+        "libretro-cores/libretro-mednafen_saturn.json",
         "libretro-cores/libretro-mednafen_wswan.json",
         "libretro-cores/libretro-nestopia.json",
         "libretro-cores/libretro-pcsx_rearmed.json",


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