[gnome-games/wip/exalm/platform-preferences: 25/26] flatpak: Bundle more cores
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/platform-preferences: 25/26] flatpak: Bundle more cores
- Date: Thu, 27 Sep 2018 16:35:41 +0000 (UTC)
commit 2a51154d8fca5c1a2e78cc541957ad6b9741d670
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Thu Sep 27 15:50:08 2018 +0500
flatpak: Bundle more cores
flatpak/libretro-cores2/bsnes_balanced.libretro | 11 ++++++++
flatpak/libretro-cores2/desmume.libretro | 11 ++++++++
flatpak/libretro-cores2/libretro-bsnes.json | 30 ++++++++++++++++++++++
flatpak/libretro-cores2/libretro-desmume.json | 29 +++++++++++++++++++++
flatpak/libretro-cores2/libretro-melonds.json | 32 ++++++++++++++++++++++++
flatpak/libretro-cores2/melonds-Makefile.install | 4 +++
flatpak/libretro-cores2/melonds.libretro | 30 ++++++++++++++++++++++
flatpak/org.gnome.Games.json | 3 +++
8 files changed, 150 insertions(+)
---
diff --git a/flatpak/libretro-cores2/bsnes_balanced.libretro b/flatpak/libretro-cores2/bsnes_balanced.libretro
new file mode 100644
index 00000000..b105c530
--- /dev/null
+++ b/flatpak/libretro-cores2/bsnes_balanced.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=bsnes Balanced
+Module=bsnes_balanced_libretro.so
+LibretroVersion=1
+Authors=byuu;
+License=GPL-3.0;
+
+[Platform:SuperNintendoEntertainmentSystem]
+MimeType=application/vnd.nintendo.snes.rom;
diff --git a/flatpak/libretro-cores2/desmume.libretro b/flatpak/libretro-cores2/desmume.libretro
new file mode 100644
index 00000000..5b47c1a4
--- /dev/null
+++ b/flatpak/libretro-cores2/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-cores2/libretro-bsnes.json b/flatpak/libretro-cores2/libretro-bsnes.json
new file mode 100644
index 00000000..c9525074
--- /dev/null
+++ b/flatpak/libretro-cores2/libretro-bsnes.json
@@ -0,0 +1,30 @@
+ {
+ "name": "libretro-bsnes",
+ "no-autogen": true,
+ "make-args": [
+ "prefix=/app",
+ "core_installdir=/app/lib/libretro",
+ "profile=balanced"
+ ],
+ "make-install-args": [
+ "prefix=/app",
+ "core_installdir=/app/lib/libretro",
+ "profile=balanced"
+ ],
+ "post-install": [
+ /* TODO: Send that upstream */
+ "mkdir -p /app/lib/libretro/",
+ "install -m644 -p bsnes_balanced.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/bsnes-libretro.git",
+ "branch": "libretro"
+ },
+ {
+ "type": "file",
+ "path": "bsnes_balanced.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/libretro-cores2/libretro-desmume.json b/flatpak/libretro-cores2/libretro-desmume.json
new file mode 100644
index 00000000..19404e86
--- /dev/null
+++ b/flatpak/libretro-cores2/libretro-desmume.json
@@ -0,0 +1,29 @@
+ {
+ "name": "libretro-desmume",
+ "no-autogen": true,
+ "subdir": "desmume/src/frontend/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 desmume.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/desmume"
+ },
+ {
+ "type": "file",
+ "path": "desmume.libretro",
+ "dest-filename": "desmume/src/frontend/libretro/desmume.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/libretro-cores2/libretro-melonds.json b/flatpak/libretro-cores2/libretro-melonds.json
new file mode 100644
index 00000000..cf388217
--- /dev/null
+++ b/flatpak/libretro-cores2/libretro-melonds.json
@@ -0,0 +1,32 @@
+ {
+ "name": "libretro-melonds",
+ "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 melonds.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/melonds"
+ },
+ {
+ "type": "file",
+ "path": "melonds-Makefile.install",
+ "dest-filename": "Makefile.install"
+ },
+ {
+ "type": "file",
+ "path": "melonds.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/libretro-cores2/melonds-Makefile.install
b/flatpak/libretro-cores2/melonds-Makefile.install
new file mode 100644
index 00000000..84ba7202
--- /dev/null
+++ b/flatpak/libretro-cores2/melonds-Makefile.install
@@ -0,0 +1,4 @@
+include Makefile
+
+install: melonds_libretro.so
+ install -Dp -m755 melonds_libretro.so $(DESTDIR)$(prefix)/lib/libretro/melonds_libretro.so
diff --git a/flatpak/libretro-cores2/melonds.libretro b/flatpak/libretro-cores2/melonds.libretro
new file mode 100644
index 00000000..8ce3c670
--- /dev/null
+++ b/flatpak/libretro-cores2/melonds.libretro
@@ -0,0 +1,30 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=melonDS
+Module=melonds_libretro.so
+LibretroVersion=1
+Authors=StapleButter;
+License=GPL-3.0;
+
+[Platform:NintendoDS]
+MimeType=application/x-nintendo-ds-rom;
+Firmwares=NintendoDS;NintendoDSBios7;NintendoDSBios9;
+
+[Firmware:NintendoDS]
+Path=firmware.bin
+MD5=e45033d9b0fa6b0de071292bba7c9d13
+SHA-512=e675eae0ff95930912bd05540aeca98d6b51a933a73860b22f7ae95aff1866ffae1f7c05db005b4adcbd2f1ba1d784c7674ac0017b44c1d43d8b528669df836a
+Mandatory=true
+
+[Firmware:NintendoDSBios7]
+Path=bios7.bin
+MD5=df692a80a5b1bc90728bc3dfc76cd948
+SHA-512=d2dc12d37fc5196336bc23979cebb65c2dd23e96a611af85610ed921bb29b641ba65c996fa76d3742aaedad48391b25b760a40552b79cb0daf7e4c31540fe7b8
+Mandatory=true
+
+[Firmware:NintendoDSBios9]
+Path=bios9.bin
+MD5=a392174eb3e572fed6447e956bde4b25
+SHA-512=4b425ae9c7dde4bcad0dd99160fd718c789abb1867d6daca55ffc98bcf3dca5b8edb88465b4a7febafe0416c2cf803cf3deecf24f99ca575504aacfb80f2624c
+Mandatory=true
\ No newline at end of file
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 10f3a633..f63c5029 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -85,6 +85,9 @@
"libretro-cores/libretro-prboom.json",
"libretro-cores/libretro-prosystem.json",
"libretro-cores/libretro-stella.json",
+ "libretro-cores2/libretro-bsnes.json",
+ "libretro-cores2/libretro-desmume.json",
+ "libretro-cores2/libretro-melonds.json",
/* End libretro cores */
"org.lua.modules.json",
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]