[gnome-games/wip/exalm/stella] flatpak: Rename stella to stella2014



commit 1b9df23c3f59775ee398c2437afe51947cc30a4a
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sat Jul 20 21:52:05 2019 +0500

    flatpak: Rename stella to stella2014
    
    Follow upstream here. Update core descriptor, manifest and tests.

 .../{libretro-stella.json => libretro-stella2014.json}      |   8 ++++----
 .../libretro-cores/{stella.libretro => stella2014.libretro} |   4 ++--
 flatpak/org.gnome.Games.json                                |   2 +-
 flatpak/tests/stella.hunchy.expected                        |   5 -----
 flatpak/tests/stella.hunchy.test                            |   9 ---------
 .../tests/{stella.hunchy.1.png => stella2014.hunchy.1.png}  | Bin
 flatpak/tests/stella2014.hunchy.expected                    |   5 +++++
 flatpak/tests/stella2014.hunchy.test                        |   9 +++++++++
 flatpak/tests/test-data.json                                |  12 ++++++------
 9 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/flatpak/libretro-cores/libretro-stella.json b/flatpak/libretro-cores/libretro-stella2014.json
similarity index 72%
rename from flatpak/libretro-cores/libretro-stella.json
rename to flatpak/libretro-cores/libretro-stella2014.json
index bd3b4632..9eefdbd4 100644
--- a/flatpak/libretro-cores/libretro-stella.json
+++ b/flatpak/libretro-cores/libretro-stella2014.json
@@ -1,5 +1,5 @@
         {
-            "name": "libretro-stella",
+            "name": "libretro-stella2014",
             "no-autogen": true,
             "make-args": [
                 "prefix=/app",
@@ -12,16 +12,16 @@
             "post-install": [
                 /* TODO: Send that upstream */
                 "mkdir -p /app/lib/libretro/",
-                "install -m644 -p stella.libretro /app/lib/libretro/"
+                "install -m644 -p stella2014.libretro /app/lib/libretro/"
             ],
             "sources": [
                 {
                     "type": "git",
-                    "url": "https://github.com/libretro/stella-libretro";
+                    "url": "https://github.com/libretro/stella2014-libretro";
                 },
                 {
                     "type": "file",
-                    "path": "stella.libretro"
+                    "path": "stella2014.libretro"
                 }
             ]
         }
diff --git a/flatpak/libretro-cores/stella.libretro b/flatpak/libretro-cores/stella2014.libretro
similarity index 81%
rename from flatpak/libretro-cores/stella.libretro
rename to flatpak/libretro-cores/stella2014.libretro
index e3e281cf..c0b3ad8f 100644
--- a/flatpak/libretro-cores/stella.libretro
+++ b/flatpak/libretro-cores/stella2014.libretro
@@ -1,8 +1,8 @@
 [Libretro]
 Type=Emulator
 Version=1.0
-Name=Stella
-Module=stella_libretro.so
+Name=Stella 2014
+Module=stella2014_libretro.so
 LibretroVersion=1
 Authors=Stephen Anthony;Bradford Mott;Eckhard Stolberg;Brian Watson;
 License=GPL-2.0+;
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 22107e90..388b77b6 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -82,7 +82,7 @@
         "libretro-cores/libretro-pcsx_rearmed.json",
         "libretro-cores/libretro-prboom.json",
         "libretro-cores/libretro-prosystem.json",
-        "libretro-cores/libretro-stella.json",
+        "libretro-cores/libretro-stella2014.json",
         /* End libretro cores */
         "org.lua.modules.json",
         {
diff --git a/flatpak/tests/stella.hunchy.1.png b/flatpak/tests/stella2014.hunchy.1.png
similarity index 100%
rename from flatpak/tests/stella.hunchy.1.png
rename to flatpak/tests/stella2014.hunchy.1.png
diff --git a/flatpak/tests/stella2014.hunchy.expected b/flatpak/tests/stella2014.hunchy.expected
new file mode 100644
index 00000000..00c9b0f5
--- /dev/null
+++ b/flatpak/tests/stella2014.hunchy.expected
@@ -0,0 +1,5 @@
+/stella2014/hunchy/Boot: OK
+/stella2014/hunchy/Options: OK
+/stella2014/hunchy/1/FastForward: OK
+/stella2014/hunchy/1/Run: OK
+/stella2014/hunchy/1/Video: OK
diff --git a/flatpak/tests/stella2014.hunchy.test b/flatpak/tests/stella2014.hunchy.test
new file mode 100644
index 00000000..c34ba134
--- /dev/null
+++ b/flatpak/tests/stella2014.hunchy.test
@@ -0,0 +1,9 @@
+[Retro Reftest]
+Path=/stella2014/hunchy
+Core=/app/lib/libretro/stella2014_libretro.so
+Medias=hunchy.a26;
+
+[Options]
+
+[Frame 1]
+Video=stella2014.hunchy.1.png
diff --git a/flatpak/tests/test-data.json b/flatpak/tests/test-data.json
index 00b8c29a..8432198c 100644
--- a/flatpak/tests/test-data.json
+++ b/flatpak/tests/test-data.json
@@ -123,18 +123,18 @@
                 },
                 {
                     "type" : "file",
-                    "path" : "stella.hunchy.1.png",
-                    "dest-filename" : "stella.hunchy.1.png"
+                    "path" : "stella2014.hunchy.1.png",
+                    "dest-filename" : "stella2014.hunchy.1.png"
                 },
                 {
                     "type" : "file",
-                    "path" : "stella.hunchy.expected",
-                    "dest-filename" : "stella.hunchy.expected"
+                    "path" : "stella2014.hunchy.expected",
+                    "dest-filename" : "stella2014.hunchy.expected"
                 },
                 {
                     "type" : "file",
-                    "path" : "stella.hunchy.test",
-                    "dest-filename" : "stella.hunchy.test"
+                    "path" : "stella2014.hunchy.test",
+                    "dest-filename" : "stella2014.hunchy.test"
                 }
             ]
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]