[gnome-games] flatpak: Add Flycast
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] flatpak: Add Flycast
- Date: Sat, 7 Nov 2020 17:09:17 +0000 (UTC)
commit 904540b6ac82c8c519245b2b6dd85f289e90f3cf
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Oct 31 15:07:16 2020 +0100
flatpak: Add Flycast
flatpak/libretro-cores/flycast-Makefile.install | 4 +++
flatpak/libretro-cores/flycast.libretro | 11 +++++++++
flatpak/libretro-cores/libretro-flycast.json | 33 +++++++++++++++++++++++++
flatpak/org.gnome.Games.json | 1 +
4 files changed, 49 insertions(+)
---
diff --git a/flatpak/libretro-cores/flycast-Makefile.install b/flatpak/libretro-cores/flycast-Makefile.install
new file mode 100644
index 00000000..8c199dc7
--- /dev/null
+++ b/flatpak/libretro-cores/flycast-Makefile.install
@@ -0,0 +1,4 @@
+include Makefile
+
+install: flycast_libretro.so
+ install -Dp -m755 flycast_libretro.so $(DESTDIR)$(prefix)/lib/libretro/flycast_libretro.so
diff --git a/flatpak/libretro-cores/flycast.libretro b/flatpak/libretro-cores/flycast.libretro
new file mode 100644
index 00000000..f131f1e5
--- /dev/null
+++ b/flatpak/libretro-cores/flycast.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Flycast
+Module=flycast_libretro.so
+LibretroVersion=1
+Authors=flyinghead;
+License=GPL-2.0;
+
+[Platform:Dreamcast]
+MimeType=application/x-discjuggler-cd-image;application/x-gd-rom-cue;
diff --git a/flatpak/libretro-cores/libretro-flycast.json b/flatpak/libretro-cores/libretro-flycast.json
new file mode 100644
index 00000000..3b6d4ab9
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-flycast.json
@@ -0,0 +1,33 @@
+ {
+ "name": "libretro-flycast",
+ "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 flycast.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "commit": "3151a18da5c4bbf26c174299d68699c47ea2bf1a",
+ "url": "https://github.com/libretro/flycast"
+ },
+ {
+ "type": "file",
+ "path": "flycast-Makefile.install",
+ "dest-filename": "Makefile.install"
+ },
+ {
+ "type": "file",
+ "path": "flycast.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index ee284dbd..e3b052a1 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -54,6 +54,7 @@
"libretro-cores/libretro-bsnes-mercury.json",
"libretro-cores/libretro-desmume2015.json",
"libretro-cores/libretro-dosbox_svn.json",
+ "libretro-cores/libretro-flycast.json",
"libretro-cores/libretro-gambatte.json",
"libretro-cores/libretro-gearsystem.json",
"libretro-cores/libretro-handy.json",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]