[gnome-games/wip/exalm/sharp-x68000: 9/16] flatpak: Add PX68k
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/sharp-x68000: 9/16] flatpak: Add PX68k
- Date: Fri, 30 Nov 2018 15:50:50 +0000 (UTC)
commit e8313ef49d992005ff57f5f0a5cb0205e68e8525
Author: Exalm <exalm7659 gmail com>
Date: Tue Apr 3 00:38:44 2018 +0500
flatpak: Add PX68k
flatpak/libretro-cores/libretro-px68k.json | 32 +++++++++++++++++++++++++++
flatpak/libretro-cores/px68k-Makefile.install | 4 ++++
flatpak/libretro-cores/px68k.libretro | 22 ++++++++++++++++++
flatpak/org.gnome.Games.json | 1 +
4 files changed, 59 insertions(+)
---
diff --git a/flatpak/libretro-cores/libretro-px68k.json b/flatpak/libretro-cores/libretro-px68k.json
new file mode 100644
index 00000000..6d32e3fc
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-px68k.json
@@ -0,0 +1,32 @@
+ {
+ "name": "libretro-px68k",
+ "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 px68k.libretro /app/lib/libretro/"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/libretro/px68k-libretro"
+ },
+ {
+ "type": "file",
+ "path": "px68k-Makefile.install",
+ "dest-filename": "Makefile.install"
+ },
+ {
+ "type": "file",
+ "path": "px68k.libretro"
+ }
+ ]
+ }
diff --git a/flatpak/libretro-cores/px68k-Makefile.install b/flatpak/libretro-cores/px68k-Makefile.install
new file mode 100644
index 00000000..ba29495b
--- /dev/null
+++ b/flatpak/libretro-cores/px68k-Makefile.install
@@ -0,0 +1,4 @@
+include Makefile.libretro
+
+install: px68k_libretro.so
+ install -Dp -m755 px68k_libretro.so $(DESTDIR)$(prefix)/lib/libretro/px68k_libretro.so
diff --git a/flatpak/libretro-cores/px68k.libretro b/flatpak/libretro-cores/px68k.libretro
new file mode 100644
index 00000000..ec356c5e
--- /dev/null
+++ b/flatpak/libretro-cores/px68k.libretro
@@ -0,0 +1,22 @@
+[Libretro]
+Type=Emulator
+Version=1.0
+Name=PX68k
+Module=px68k_libretro.so
+LibretroVersion=1
+Authors=hissorii;
+License=???;
+
+[Platform:SharpX68000]
+MimeType=application/x-x68k-rom;
+Firmwares=CGROM;IPLROM;
+
+[Firmware:CGROM]
+Path=keropi/cgrom.dat
+MD5=cb0a5cfcf7247a7eab74bb2716260269
+Mandatory=true
+
+[Firmware:IPLROM]
+Path=keropi/iplrom.dat
+MD5=7fd4caabac1d9169e289f0f7bbf71d8e
+Mandatory=true
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 10f3a633..23c2c6b4 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -84,6 +84,7 @@
"libretro-cores/libretro-pcsx_rearmed.json",
"libretro-cores/libretro-prboom.json",
"libretro-cores/libretro-prosystem.json",
+ "libretro-cores/libretro-px68k.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]