[gnome-games] flatpak: Add the Mednafen GBA core



commit 8322a7d965bf520e771c394baca09c374e849108
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon May 15 19:18:20 2017 +0200

    flatpak: Add the Mednafen GBA core

 flatpak/libretro-cores/libretro-mednafen_gba.json |   27 +++++++++++++++++++++
 flatpak/libretro-cores/mednafen_gba.libretro      |   11 ++++++++
 flatpak/org.gnome.Games.json                      |    1 +
 3 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-mednafen_gba.json 
b/flatpak/libretro-cores/libretro-mednafen_gba.json
new file mode 100644
index 0000000..686a223
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-mednafen_gba.json
@@ -0,0 +1,27 @@
+        {
+            "name": "libretro-mednafen_gba",
+            "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_gba.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/beetle-gba-libretro";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/mednafen_gba.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/mednafen_gba.libretro b/flatpak/libretro-cores/mednafen_gba.libretro
new file mode 100644
index 0000000..d85dcb6
--- /dev/null
+++ b/flatpak/libretro-cores/mednafen_gba.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Beetle GBA
+Module=mednafen_gba_libretro.so
+LibretroVersion=1
+Authors=Forgotten;Mednafen Team;
+License=GPL-2.0+;
+
+[Platform:GameBoyAdvance]
+MimeType=application/x-gba-rom;
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 41000c8..4c76aaf 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -46,6 +46,7 @@
            change more rarely than the rest of the modules. */
         "libretro-cores/libretro-bsnes.json",
         "libretro-cores/libretro-gambatte.json",
+        "libretro-cores/libretro-mednafen_gba.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]