[gnome-games/wip/exalm/dolphin: 3/4] flatpak: Add Dolphin
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/dolphin: 3/4] flatpak: Add Dolphin
- Date: Sat, 20 Mar 2021 22:46:08 +0000 (UTC)
commit b8aebd2ee58943c81121bdfa7cb9b6183cf21c4c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Mar 20 15:24:47 2021 +0500
flatpak: Add Dolphin
Fixes https://gitlab.gnome.org/GNOME/gnome-games/-/issues/347
flatpak/libretro-cores/dolphin.libretro | 17 +++++++++++++++++
flatpak/libretro-cores/libretro-dolphin.json | 26 ++++++++++++++++++++++++++
flatpak/org.gnome.Games.json | 1 +
3 files changed, 44 insertions(+)
---
diff --git a/flatpak/libretro-cores/dolphin.libretro b/flatpak/libretro-cores/dolphin.libretro
new file mode 100644
index 00000000..6e7b02c1
--- /dev/null
+++ b/flatpak/libretro-cores/dolphin.libretro
@@ -0,0 +1,17 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Dolphin
+Module=dolphin_libretro.so
+LibretroVersion=1
+Authors=Team Dolphin;
+License=GPL-2.0+;
+
+[Platform:GameCube]
+MimeType=application/x-gamecube-rom;
+
+[Platform:Wii]
+MimeType=application/x-wii-rom;
+
+[Platform:WiiWare]
+MimeType=application/x-wii-wad;
diff --git a/flatpak/libretro-cores/libretro-dolphin.json b/flatpak/libretro-cores/libretro-dolphin.json
new file mode 100644
index 00000000..f6a02f15
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-dolphin.json
@@ -0,0 +1,26 @@
+ {
+ "name": "libretro-dolphin",
+ "buildsystem": "cmake",
+ "config-opts": [
+ "-DLIBRETRO=ON",
+ "-DLIBRETRO_STATIC=1",
+ "-DENABLE_QT=0",
+ "-DCMAKE_BUILD_TYPE=Release"
+ ],
+ "no-make-install": true,
+ "post-install": [
+ "mkdir -p /app/lib/libretro/",
+ "install -m644 -p dolphin_libretro.so /app/lib/libretro/",
+ "install -m644 -p dolphin.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/dolphin.git"
+ },
+ {
+ "type": "file",
+ "path": "dolphin.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index bbe5bc77..f7b4857b 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -55,6 +55,7 @@
"libretro-cores/libretro-bsnes-mercury.json",
"libretro-cores/libretro-citra.json",
"libretro-cores/libretro-desmume2015.json",
+ "libretro-cores/libretro-dolphin.json",
"libretro-cores/libretro-dosbox_svn.json",
"libretro-cores/libretro-flycast.json",
"libretro-cores/libretro-gambatte.json",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]