[gnome-games/wip/aplazas/wonderswan-core] flatpak: Add the libretro-mednafen_wswan core



commit d15b06b9023c9bf42e85d1eab085c1857dcf903d
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 09:55:16 2017 +0200

    flatpak: Add the libretro-mednafen_wswan core

 .../libretro-cores/libretro-mednafen_wswan.json    |   27 ++++++++++++++++++++
 flatpak/libretro-cores/mednafen_wswan.libretro     |   14 ++++++++++
 flatpak/org.gnome.Games.json                       |    1 +
 3 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-mednafen_wswan.json 
b/flatpak/libretro-cores/libretro-mednafen_wswan.json
new file mode 100644
index 0000000..1c42ebe
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-mednafen_wswan.json
@@ -0,0 +1,27 @@
+        {
+            "name": "libretro-mednafen_wswan",
+            "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_wswan.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/beetle-wswan-libretro";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/mednafen_wswan.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/mednafen_wswan.libretro b/flatpak/libretro-cores/mednafen_wswan.libretro
new file mode 100644
index 0000000..fd63411
--- /dev/null
+++ b/flatpak/libretro-cores/mednafen_wswan.libretro
@@ -0,0 +1,14 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Beetle Cygne
+Module=mednafen_wswan_libretro.so
+LibretroVersion=1
+Authors=Dox;Mednafen Team;
+License=GPL-2.0+;
+
+[Platform:WonderSwan]
+MimeType=application/x-wonderswan-rom;
+
+[Platform:WonderSwanColor]
+MimeType=application/x-wonderswan-color-rom;
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index ae1481a..5562a71 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -50,6 +50,7 @@
         "libretro-cores/libretro-mednafen_gba.json",
         "libretro-cores/libretro-mednafen_ngp.json",
         "libretro-cores/libretro-mednafen_pce_fast.json",
+        "libretro-cores/libretro-mednafen_wswan.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]