[gnome-games/wip/aplazas/mgba] flatpak: Replace Beetle GBA by mGBA



commit 580c910c514201245111ef4880313abc4633719f
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri May 19 07:16:20 2017 +0200

    flatpak: Replace Beetle GBA by mGBA

 flatpak/libretro-cores/libretro-mgba.json |   27 +++++++++++++++++++++++++++
 flatpak/libretro-cores/mgba.libretro      |   17 +++++++++++++++++
 flatpak/org.gnome.Games.json              |    2 +-
 3 files changed, 45 insertions(+), 1 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-mgba.json b/flatpak/libretro-cores/libretro-mgba.json
new file mode 100644
index 0000000..7a12911
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-mgba.json
@@ -0,0 +1,27 @@
+        {
+            "name": "libretro-mgba",
+            "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 mgba.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/Kekun/mgba";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/mgba.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/mgba.libretro b/flatpak/libretro-cores/mgba.libretro
new file mode 100644
index 0000000..2827ca3
--- /dev/null
+++ b/flatpak/libretro-cores/mgba.libretro
@@ -0,0 +1,17 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=mGBA
+Module=mgba_libretro.so
+LibretroVersion=1
+Authors=Jeffrey Pfau;
+License=MPL-2.0;
+
+[Platform:GameBoyAdvance]
+MimeType=application/x-gba-rom;
+Firmwares=GameBoyAdvance;
+
+[Firmware:GameBoyAdvance]
+Path=gba_bios.bin
+MD5=a860e8c0b6d573d191e4ec7db1b1e4f6
+Mandatory=false
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index ae1481a..b438aef 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -47,9 +47,9 @@
         "libretro-cores/libretro-bsnes.json",
         "libretro-cores/libretro-desmume.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-mgba.json",
         "libretro-cores/libretro-nestopia.json",
         "libretro-cores/libretro-pcsx_rearmed.json",
         /* End libretro cores */


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