[gnome-games] wonderswan: Replace the plugin by simple types



commit 1ad25943b55eb9114a414f3a9476d47d9e481eb1
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 18:00:11 2017 +0200

    wonderswan: Replace the plugin by simple types
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783111

 configure.ac                                  |    1 -
 plugins/Makefile.am                           |    4 --
 plugins/wonderswan/Makefile.am                |    3 -
 plugins/wonderswan/configure.ac               |   14 -----
 plugins/wonderswan/data/Makefile.am           |    6 --
 plugins/wonderswan/data/wonderswan.plugin     |    6 --
 plugins/wonderswan/src/Makefile.am            |   49 -----------------
 plugins/wonderswan/src/wonderswan-plugin.vala |   69 -------------------------
 src/retro/retro-simple-types.vala             |    2 +
 9 files changed, 2 insertions(+), 152 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4f4cc2c..5d95cf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,6 @@ m4_include([plugins/sega-saturn/configure.ac])
 m4_include([plugins/steam/configure.ac])
 m4_include([plugins/turbografx-cd/configure.ac])
 m4_include([plugins/wii/configure.ac])
-m4_include([plugins/wonderswan/configure.ac])
 
 PKG_CHECK_MODULES(GNOME_GAMES, [
        gio-2.0
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index e121ca0..1dea72b 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -52,8 +52,4 @@ if ENABLE_WII_PLUGIN
 SUBDIRS += wii
 endif
 
-if ENABLE_WONDERSWAN_PLUGIN
-SUBDIRS += wonderswan
-endif
-
 -include $(top_srcdir)/git.mk
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 961339f..7388052 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -24,5 +24,7 @@ namespace Games {
                { "application/x-sg1000-rom", true, "SG1000", "sg-1000" },
                { "application/x-sms-rom", true, "MasterSystem", "master-system" },
                { "application/x-wii-wad", true, "WiiWare", "wii-ware" },
+               { "application/x-wonderswan-rom", true, "WonderSwan", "wonderswan" },
+               { "application/x-wonderswan-color-rom", true, "WonderSwanColor", "wonderswan-color" },
        };
 }


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