[gnome-games/wip/exalm/dosbox-svn: 49/51] flatpak: Replace dosbox with dosbox_svn



commit 8c078f388f9c564f38c037a67fbce7ca14709a2c
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun Jan 20 15:30:59 2019 +0500

    flatpak: Replace dosbox with dosbox_svn

 flatpak/libretro-cores/dosbox_svn-Makefile.install |  4 +++
 .../{dosbox.libretro => dosbox_svn.libretro}       |  6 ++--
 flatpak/libretro-cores/libretro-dosbox.json        | 30 -------------------
 flatpak/libretro-cores/libretro-dosbox_svn.json    | 35 ++++++++++++++++++++++
 flatpak/org.gnome.Games.json                       |  2 +-
 5 files changed, 43 insertions(+), 34 deletions(-)
---
diff --git a/flatpak/libretro-cores/dosbox_svn-Makefile.install 
b/flatpak/libretro-cores/dosbox_svn-Makefile.install
new file mode 100644
index 00000000..f006bbf8
--- /dev/null
+++ b/flatpak/libretro-cores/dosbox_svn-Makefile.install
@@ -0,0 +1,4 @@
+include Makefile.libretro
+
+install: dosbox_svn_libretro.so
+       install -Dp -m755 dosbox_svn_libretro.so $(DESTDIR)$(prefix)/lib/libretro/dosbox_svn_libretro.so
diff --git a/flatpak/libretro-cores/dosbox.libretro b/flatpak/libretro-cores/dosbox_svn.libretro
similarity index 64%
rename from flatpak/libretro-cores/dosbox.libretro
rename to flatpak/libretro-cores/dosbox_svn.libretro
index 41d448d7..db230b45 100644
--- a/flatpak/libretro-cores/dosbox.libretro
+++ b/flatpak/libretro-cores/dosbox_svn.libretro
@@ -1,10 +1,10 @@
 [Libretro]
 Type=Emulator
 Version=1.0
-Name=DOSBox
-Module=dosbox_libretro.so
+Name=DOSBox-SVN
+Module=dosbox_svn_libretro.so
 LibretroVersion=1
-Authors=DOSBox Team;
+Authors=DOSBox Team;fr500;
 License=GPL-2.0+;
 
 [Platform:MSDOS]
diff --git a/flatpak/libretro-cores/libretro-dosbox_svn.json b/flatpak/libretro-cores/libretro-dosbox_svn.json
new file mode 100644
index 00000000..f817b175
--- /dev/null
+++ b/flatpak/libretro-cores/libretro-dosbox_svn.json
@@ -0,0 +1,35 @@
+        {
+            "name": "libretro-dosbox_svn",
+            "no-autogen": true,
+            "subdir": "libretro",
+            "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 dosbox_svn.libretro /app/lib/libretro/"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/libretro/dosbox-svn.git";,
+                    "branch": "libretro"
+                },
+                {
+                    "type": "file",
+                    "path": "dosbox_svn-Makefile.install",
+                    "dest-filename": "libretro/Makefile.install"
+                },
+                {
+                    "type": "file",
+                    "path": "dosbox_svn.libretro",
+                    "dest-filename": "libretro/dosbox_svn.libretro"
+                }
+            ]
+        }
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 5ef65fe1..f88e1a74 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -71,7 +71,7 @@
         "libretro-cores/libretro-blastem.json",
         "libretro-cores/libretro-bsnes-mercury.json",
         "libretro-cores/libretro-desmume2015.json",
-        "libretro-cores/libretro-dosbox.json",
+        "libretro-cores/libretro-dosbox_svn.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]