[gnome-games] flatpak: Add libretro-blastem



commit bec9a3aa719f0a1bf32d616618bca6ce45579d0a
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Sep 19 10:32:54 2017 +0200

    flatpak: Add libretro-blastem

 flatpak/libretro-cores/blastem.libretro      |   11 +++++++++
 flatpak/libretro-cores/libretro-blastem.json |   29 ++++++++++++++++++++++++++
 flatpak/org.gnome.Games.json                 |    1 +
 3 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/blastem.libretro b/flatpak/libretro-cores/blastem.libretro
new file mode 100644
index 0000000..c76876a
--- /dev/null
+++ b/flatpak/libretro-cores/blastem.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=BlastEm
+Module=blastem_libretro.so
+LibretroVersion=1
+Authors=Mike Pavone;
+License=GPL-3.0+;
+
+[Platform:SegaGenesis]
+MimeType=application/x-genesis-rom;
diff --git a/flatpak/libretro-cores/libretro-blastem.json b/flatpak/libretro-cores/libretro-blastem.json
new file mode 100644
index 0000000..92f0f82
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-blastem.json
@@ -0,0 +1,29 @@
+        {
+            "name": "libretro-blastem",
+            "no-autogen": true,
+            "subdir": "libretro",
+            "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 blastem.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/blastem-libretro.git";
+                },
+                {
+                    "type": "file",
+                    "path": "blastem.libretro",
+                    "dest-filename": "libretro/blastem.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index a00461a..df39935 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -44,6 +44,7 @@
 
            We build them first, because some of them are very big, and they
            change more rarely than the rest of the modules. */
+        "libretro-cores/libretro-blastem.json",
         "libretro-cores/libretro-bsnes.json",
         "libretro-cores/libretro-desmume.json",
         "libretro-cores/libretro-dosbox.json",


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