[gnome-games] flatpak: Add the libretro-stella core
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] flatpak: Add the libretro-stella core
- Date: Sat, 16 Sep 2017 05:25:33 +0000 (UTC)
commit 091f41e63fe1e8f45bdd6cbc29454bb7adeaf270
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Sep 16 06:49:27 2017 +0200
flatpak: Add the libretro-stella core
This allows to run Atari 2600 games.
flatpak/libretro-cores/libretro-stella.json | 27 +++++++++++++++++++++++++++
flatpak/libretro-cores/stella.libretro | 11 +++++++++++
flatpak/org.gnome.Games.json | 1 +
3 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-stella.json b/flatpak/libretro-cores/libretro-stella.json
new file mode 100644
index 0000000..bd3b463
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-stella.json
@@ -0,0 +1,27 @@
+ {
+ "name": "libretro-stella",
+ "no-autogen": true,
+ "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 stella.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/stella-libretro"
+ },
+ {
+ "type": "file",
+ "path": "stella.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/libretro-cores/stella.libretro b/flatpak/libretro-cores/stella.libretro
new file mode 100644
index 0000000..e3e281c
--- /dev/null
+++ b/flatpak/libretro-cores/stella.libretro
@@ -0,0 +1,11 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=Stella
+Module=stella_libretro.so
+LibretroVersion=1
+Authors=Stephen Anthony;Bradford Mott;Eckhard Stolberg;Brian Watson;
+License=GPL-2.0+;
+
+[Platform:Atari2600]
+MimeType=application/x-atari-2600-rom;
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 8bf08b2..4881fc6 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -55,6 +55,7 @@
"libretro-cores/libretro-mgba.json",
"libretro-cores/libretro-nestopia.json",
"libretro-cores/libretro-pcsx_rearmed.json",
+ "libretro-cores/libretro-stella.json",
/* End libretro cores */
"org.lua.modules.json",
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]