[gnome-games/wip/aplazas/type-registration: 3/5] snes: Replace the plugin by a simple type



commit c65190c77322109331d6b2664acc2816e9111953
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 17:53:55 2017 +0200

    snes: Replace the plugin by a simple type

 configure.ac                      |    1 -
 plugins/Makefile.am               |    4 ---
 plugins/snes/Makefile.am          |    3 --
 plugins/snes/configure.ac         |   14 ----------
 plugins/snes/data/Makefile.am     |    6 ----
 plugins/snes/data/snes.plugin     |    6 ----
 plugins/snes/src/Makefile.am      |   49 -------------------------------------
 plugins/snes/src/snes-plugin.vala |   38 ----------------------------
 src/retro/retro-simple-types.vala |    1 +
 9 files changed, 1 insertions(+), 121 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6e9210b..1c3cc73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,6 @@ m4_include([plugins/nintendo-ds/configure.ac])
 m4_include([plugins/playstation/configure.ac])
 m4_include([plugins/sega-cd/configure.ac])
 m4_include([plugins/sega-saturn/configure.ac])
-m4_include([plugins/snes/configure.ac])
 m4_include([plugins/steam/configure.ac])
 m4_include([plugins/turbografx-cd/configure.ac])
 m4_include([plugins/wii/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 19a7011..54ef094 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -40,10 +40,6 @@ if ENABLE_SEGA_SATURN_PLUGIN
 SUBDIRS += sega-saturn
 endif
 
-if ENABLE_SNES_PLUGIN
-SUBDIRS += snes
-endif
-
 if ENABLE_STEAM_PLUGIN
 SUBDIRS += steam
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 33b25d0..0e4433c 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -2,6 +2,7 @@
 
 namespace Games {
        private const RetroSimpleType[] RETRO_SIMPLE_TYPES = {
+               { "application/vnd.nintendo.snes.rom", true, "SuperNintendoEntertainmentSystem", "snes" },
                { "application/x-amiga-disk-format", true, "Amiga", "amiga" },
                { "application/x-atari-2600-rom", true, "Atari2600", "atari-2600" },
                { "application/x-atari-7800-rom", true, "Atari7800", "atari-7800" },


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