[gnome-games] flatpak: Fix the Desmume core



commit f83ac332e9ced5928165f027f45298872a030c4a
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue May 16 20:59:44 2017 +0200

    flatpak: Fix the Desmume core
    
    The previous commit was pushed to master by accident, this commit fixes
    it.

 flatpak/libretro-cores/desmume.libretro      |   11 +++++++++++
 flatpak/libretro-cores/libretro-desmume.json |   11 ++++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/flatpak/libretro-cores/desmume.libretro b/flatpak/libretro-cores/desmume.libretro
new file mode 100644
index 0000000..5b47c1a
--- /dev/null
+++ b/flatpak/libretro-cores/desmume.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=DeSmuME
+Module=desmume_libretro.so
+LibretroVersion=1
+Authors=YopYop156;Zeromus;
+License=GPL-2.0+;
+
+[Platform:NintendoDS]
+MimeType=application/x-nintendo-ds-rom;
diff --git a/flatpak/libretro-cores/libretro-desmume.json b/flatpak/libretro-cores/libretro-desmume.json
index 6c5ee10..13c60b6 100644
--- a/flatpak/libretro-cores/libretro-desmume.json
+++ b/flatpak/libretro-cores/libretro-desmume.json
@@ -1,24 +1,29 @@
         {
             "name": "libretro-desmume",
             "no-autogen": true,
+            "subdir": "desmume",
             "make-args": [
-                "--directory=desmume",
                 "prefix=/app",
                 "core_installdir=/app/lib/libretro"
             ],
             "make-install-args": [
-                "--directory=desmume",
                 "prefix=/app",
                 "core_installdir=/app/lib/libretro"
             ],
             "post-install": [
                 /* TODO: Send that upstream */
-                "mkdir -p /app/lib/libretro/"
+                "mkdir -p /app/lib/libretro/",
+                "install -m644 -p desmume.libretro /app/lib/libretro/"
             ],
             "sources": [
                 {
                     "type": "git",
                     "url": "https://github.com/libretro/desmume";
+                },
+                {
+                    "type": "file",
+                    "path": "libretro-cores/desmume.libretro",
+                    "dest-filename": "desmume/desmume.libretro"
                 }
             ]
         }


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