[gnome-games/wip/aplazas/virtual-boy: 2/2] flatpak: Add libretro-mednafen_vb



commit ddcae7e4a28ad41e2d191e7fa21a0596141ca963
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Sep 16 09:20:45 2017 +0200

    flatpak: Add libretro-mednafen_vb

 flatpak/libretro-cores/libretro-mednafen_vb.json | 27 ++++++++++++++++++++++++
 flatpak/libretro-cores/mednafen_vb.libretro      | 11 ++++++++++
 flatpak/org.gnome.Games.json                     |  1 +
 3 files changed, 39 insertions(+)
---
diff --git a/flatpak/libretro-cores/libretro-mednafen_vb.json 
b/flatpak/libretro-cores/libretro-mednafen_vb.json
new file mode 100644
index 0000000..182238b
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-mednafen_vb.json
@@ -0,0 +1,27 @@
+        {
+            "name": "libretro-mednafen_vb",
+            "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_vb.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/beetle-vb-libretro";
+                },
+                {
+                    "type": "file",
+                    "path": "mednafen_vb.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/mednafen_vb.libretro b/flatpak/libretro-cores/mednafen_vb.libretro
new file mode 100644
index 0000000..7f81551
--- /dev/null
+++ b/flatpak/libretro-cores/mednafen_vb.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Beetle VB
+Module=mednafen_vb_libretro.so
+LibretroVersion=1
+Authors=Mednafen Team;
+License=GPL-2.0+;
+
+[Platform:VirtualBoy]
+MimeType=application/x-virtual-boy-rom;
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index f4342d3..2f930a5 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -53,6 +53,7 @@
         "libretro-cores/libretro-mednafen_ngp.json",
         "libretro-cores/libretro-mednafen_pce_fast.json",
         "libretro-cores/libretro-mednafen_saturn.json",
+        "libretro-cores/libretro-mednafen_vb.json",
         "libretro-cores/libretro-mednafen_wswan.json",
         "libretro-cores/libretro-mgba.json",
         "libretro-cores/libretro-nestopia.json",


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