[gnome-games/wip/exalm/3ds: 9/14] flatpak: Build Citra
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/3ds: 9/14] flatpak: Build Citra
- Date: Thu, 10 Dec 2020 22:33:51 +0000 (UTC)
commit 61a762cf40278d4d17a500306a5085a3f6f5b5d5
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Dec 5 18:20:09 2020 +0500
flatpak: Build Citra
flatpak/libretro-cores/citra.libretro | 11 ++++++++
flatpak/libretro-cores/libretro-citra.json | 43 ++++++++++++++++++++++++++++++
flatpak/org.gnome.Games.json | 1 +
3 files changed, 55 insertions(+)
---
diff --git a/flatpak/libretro-cores/citra.libretro b/flatpak/libretro-cores/citra.libretro
new file mode 100644
index 00000000..608cf2bd
--- /dev/null
+++ b/flatpak/libretro-cores/citra.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Citra
+Module=citra_libretro.so
+LibretroVersion=1
+Authors=Citra Emulation Project;
+License=GPL-2.0+;
+
+[Platform:Nintendo3DS]
+MimeType=application/x-nintendo-3ds-rom;application/x-nintendo-3ds-executable;
diff --git a/flatpak/libretro-cores/libretro-citra.json b/flatpak/libretro-cores/libretro-citra.json
new file mode 100644
index 00000000..bd37b54b
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-citra.json
@@ -0,0 +1,43 @@
+ {
+ "name": "libretro-citra",
+ "buildsystem": "cmake",
+ "builddir": true,
+ "config-opts": [
+ "-DENABLE_LIBRETRO=1",
+ "-DLIBRETRO_STATIC=1",
+ "-DENABLE_SDL2=0",
+ "-DENABLE_QT=0",
+ "-DCMAKE_BUILD_TYPE=Release",
+ "-DENABLE_WEB_SERVICE=0"
+ ],
+ "make-args": [
+ "citra_libretro"
+ ],
+ "post-install": [
+ /* TODO: Send that upstream */
+ "mkdir -p /app/lib/libretro/",
+ "install -m644 -p src/citra_libretro/citra_libretro.so /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/citra.git"
+ }
+ ],
+ "modules" : [
+ {
+ "name" : "libretro-citra-descriptor",
+ "buildsystem": "simple",
+ "build-commands" : [
+ "mkdir -p /app/lib/libretro/",
+ "install -m644 -p citra.libretro /app/lib/libretro/"
+ ],
+ "sources" : [
+ {
+ "type": "file",
+ "path": "citra.libretro"
+ }
+ ]
+ }
+ ]
+ }
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index e3b052a1..2b1b5996 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -52,6 +52,7 @@
"shared-modules/SDL/SDL-1.2.15.json",
"shared-modules/SDL/SDL_net-1.2.8.json",
"libretro-cores/libretro-bsnes-mercury.json",
+ "libretro-cores/libretro-citra.json",
"libretro-cores/libretro-desmume2015.json",
"libretro-cores/libretro-dosbox_svn.json",
"libretro-cores/libretro-flycast.json",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]