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



commit f832c6a56d6ebecb38b7df571979c351c88d412a
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 08:57:11 2017 +0200

    flatpak: Add the libretro-mednafen_lynx core
    
    This allows to run Atari Lynx games.

 flatpak/libretro-cores/libretro-mednafen_lynx.json |   27 ++++++++++++++++++++
 flatpak/libretro-cores/mednafen_lynx.libretro      |   18 +++++++++++++
 flatpak/org.gnome.Games.json                       |    1 +
 3 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-mednafen_lynx.json 
b/flatpak/libretro-cores/libretro-mednafen_lynx.json
new file mode 100644
index 0000000..d0a6a7b
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-mednafen_lynx.json
@@ -0,0 +1,27 @@
+        {
+            "name": "libretro-mednafen_lynx",
+            "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_lynx.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/beetle-lynx-libretro";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/mednafen_lynx.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/mednafen_lynx.libretro b/flatpak/libretro-cores/mednafen_lynx.libretro
new file mode 100644
index 0000000..67e5e1a
--- /dev/null
+++ b/flatpak/libretro-cores/mednafen_lynx.libretro
@@ -0,0 +1,18 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Beetle Handy
+Module=mednafen_lynx_libretro.so
+LibretroVersion=1
+Authors=K. Wilkins;Mednafen Team;
+License=GPL-2.0+;
+
+[Platform:AtariLynx]
+MimeType=application/x-atari-lynx-rom;
+Firmwares=AtariLynx;
+
+[Platform:AtariLynx]
+Path=lynxboot.img
+MD5=fcd403db69f54290b51035d82f835e7b
+SHA-512=d7d0f9379dcefc253127357fbf7fafce9c630878f3ff987b19692fdbafb6419490c8320f192f6eb0933f68add413537cee7cc31e9c01c9ab8c478bc1167f1575
+Mandatory=true
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index ae1481a..1819511 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -48,6 +48,7 @@
         "libretro-cores/libretro-desmume.json",
         "libretro-cores/libretro-gambatte.json",
         "libretro-cores/libretro-mednafen_gba.json",
+        "libretro-cores/libretro-mednafen_lynx.json",
         "libretro-cores/libretro-mednafen_ngp.json",
         "libretro-cores/libretro-mednafen_pce_fast.json",
         "libretro-cores/libretro-nestopia.json",


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