[gnome-games/wip/exalm/n64: 13/15] flatpak: Add ParaLLel N64 core



commit 2af243be25ff68d6b185367c24320f3d44ad5ec8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat Feb 1 01:39:24 2020 +0500

    flatpak: Add ParaLLel N64 core
    
    It's needed for upcoming Nintendo 64 support.

 flatpak/libretro-cores/libretro-parallel_n64.json  | 32 ++++++++++++++++++++++
 .../libretro-cores/parallel_n64-Makefile.install   |  4 +++
 flatpak/libretro-cores/parallel_n64.libretro       | 18 ++++++++++++
 flatpak/org.gnome.Games.json                       |  1 +
 4 files changed, 55 insertions(+)
---
diff --git a/flatpak/libretro-cores/libretro-parallel_n64.json 
b/flatpak/libretro-cores/libretro-parallel_n64.json
new file mode 100644
index 00000000..4cef1884
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-parallel_n64.json
@@ -0,0 +1,32 @@
+        {
+            "name": "libretro-parallel_n64",
+            "no-autogen": true,
+            "make-args": [
+                "--makefile=Makefile.install",
+                "prefix=/app"
+            ],
+            "make-install-args": [
+                "--makefile=Makefile.install",
+                "prefix=/app"
+            ],
+            "post-install": [
+                /* TODO: Send that upstream */
+                "mkdir -p /app/lib/libretro/",
+                "install -m644 -p parallel_n64.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/parallel-n64";
+                },
+                {
+                    "type": "file",
+                    "path": "parallel_n64-Makefile.install",
+                    "dest-filename": "Makefile.install"
+                },
+                {
+                    "type": "file",
+                    "path": "parallel_n64.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/libretro-cores/parallel_n64-Makefile.install 
b/flatpak/libretro-cores/parallel_n64-Makefile.install
new file mode 100644
index 00000000..1155ca5a
--- /dev/null
+++ b/flatpak/libretro-cores/parallel_n64-Makefile.install
@@ -0,0 +1,4 @@
+include Makefile
+
+install: parallel_n64_libretro.so
+       install -Dp -m755 parallel_n64_libretro.so $(DESTDIR)$(prefix)/lib/libretro/parallel_n64_libretro.so
diff --git a/flatpak/libretro-cores/parallel_n64.libretro b/flatpak/libretro-cores/parallel_n64.libretro
new file mode 100644
index 00000000..ae70da75
--- /dev/null
+++ b/flatpak/libretro-cores/parallel_n64.libretro
@@ -0,0 +1,18 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=ParaLLEl N64
+Module=parallel_n64_libretro.so
+LibretroVersion=1
+Authors=Hacktarux;Mupen64Plus Team;TinyTiger;Libretro;
+License=GPL-2.0;
+
+[Platform:Nintendo64]
+MimeType=application/x-n64-rom;
+Firmwares=Nintendo64DD;
+
+[Firmware:Nintendo64DD]
+Path=64DD_IPL.bin
+MD5=8d3d9f294b6e174bc7b1d2fd1c727530
+SHA-512=7339971e4525e09f6b7075aeef8fc7c13ef57fd894eadfea4893aade7a8e2b5d64a48ee289f0020db70da42820619270d664214d02a3214a093bfdb8267d3286
+Mandatory=false
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 7c4c7bc1..1f4352e8 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -78,6 +78,7 @@
         "libretro-cores/libretro-mednafen_wswan.json",
         "libretro-cores/libretro-mgba.json",
         "libretro-cores/libretro-nestopia.json",
+        "libretro-cores/libretro-parallel_n64.json",
         "libretro-cores/libretro-pcsx_rearmed.json",
         "libretro-cores/libretro-prboom.json",
         "libretro-cores/libretro-prosystem.json",


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