[gnome-games] flatpak: Add the libretro-dosbox core



commit ddfb690051e771c8cdfc607e96235c5f5096039a
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 07:15:34 2017 +0200

    flatpak: Add the libretro-dosbox core

 flatpak/libretro-cores/dosbox.libretro      |   11 ++++++++++
 flatpak/libretro-cores/libretro-dosbox.json |   29 +++++++++++++++++++++++++++
 flatpak/org.gnome.Games.json                |    1 +
 3 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/dosbox.libretro b/flatpak/libretro-cores/dosbox.libretro
new file mode 100644
index 0000000..41d448d
--- /dev/null
+++ b/flatpak/libretro-cores/dosbox.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=DOSBox
+Module=dosbox_libretro.so
+LibretroVersion=1
+Authors=DOSBox Team;
+License=GPL-2.0+;
+
+[Platform:MSDOS]
+MimeType=application/x-ms-dos-executable;
diff --git a/flatpak/libretro-cores/libretro-dosbox.json b/flatpak/libretro-cores/libretro-dosbox.json
new file mode 100644
index 0000000..3ef5572
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-dosbox.json
@@ -0,0 +1,29 @@
+        {
+            "name": "libretro-dosbox",
+            "no-autogen": true,
+            "make-args": [
+                "--makefile=Makefile.libretro",
+                "prefix=/app",
+                "core_installdir=/app/lib/libretro"
+            ],
+            "make-install-args": [
+                "--makefile=Makefile.libretro",
+                "prefix=/app",
+                "core_installdir=/app/lib/libretro"
+            ],
+            "post-install": [
+                /* TODO: Send that upstream */
+                "mkdir -p /app/lib/libretro/",
+                "install -m644 -p dosbox.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/dosbox-libretro.git";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/dosbox.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 5562a71..02b561a 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -46,6 +46,7 @@
            change more rarely than the rest of the modules. */
         "libretro-cores/libretro-bsnes.json",
         "libretro-cores/libretro-desmume.json",
+        "libretro-cores/libretro-dosbox.json",
         "libretro-cores/libretro-gambatte.json",
         "libretro-cores/libretro-mednafen_gba.json",
         "libretro-cores/libretro-mednafen_ngp.json",


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