[gnome-games/gnome-3-26] flatpak: Add the libretro-stella core



commit b5e416072809a21dd75a94afbb1d2deb34a13037
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Sep 16 06:49:27 2017 +0200

    flatpak: Add the libretro-stella core
    
    This allows to run Atari 2600 games.

 flatpak/libretro-cores/libretro-stella.json |   28 +++++++++++++++++++++++++++
 flatpak/libretro-cores/stella.libretro      |   11 ++++++++++
 flatpak/org.gnome.Games.json                |    1 +
 3 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-stella.json b/flatpak/libretro-cores/libretro-stella.json
new file mode 100644
index 0000000..f13e9a8
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-stella.json
@@ -0,0 +1,28 @@
+        {
+            "name": "libretro-stella",
+            "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 stella.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://github.com/libretro/stella-libretro/archive/b87c0d55390360226b8d461b2964234fc72dc6c6.zip";,
+                    "sha256": "20f618adfaf4b8fd80341a7c21d5c72769a20c253f8a42fea87b1aad21dbc5e6"
+                },
+                {
+                    "type": "file",
+                    "path": "stella.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/stella.libretro b/flatpak/libretro-cores/stella.libretro
new file mode 100644
index 0000000..e3e281c
--- /dev/null
+++ b/flatpak/libretro-cores/stella.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Stella
+Module=stella_libretro.so
+LibretroVersion=1
+Authors=Stephen Anthony;Bradford Mott;Eckhard Stolberg;Brian Watson;
+License=GPL-2.0+;
+
+[Platform:Atari2600]
+MimeType=application/x-atari-2600-rom;
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index df66644..6c7a45e 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -50,6 +50,7 @@
         "libretro-cores/libretro-mgba.json",
         "libretro-cores/libretro-nestopia.json",
         "libretro-cores/libretro-pcsx_rearmed.json",
+        "libretro-cores/libretro-stella.json",
         /* End libretro cores */
         "org.lua.modules.json",
         {


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