[gnome-games] game-boy-advance: Replace the plugin by a simple type



commit 4ff936418246aafbfb9fd0e645bc2d8fcd069b12
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 15:14:41 2017 +0200

    game-boy-advance: Replace the plugin by a simple type
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783111

 configure.ac                                       |    1 -
 plugins/Makefile.am                                |    4 --
 plugins/game-boy-advance/Makefile.am               |    3 -
 plugins/game-boy-advance/configure.ac              |   14 ------
 plugins/game-boy-advance/data/Makefile.am          |    6 --
 .../game-boy-advance/data/game-boy-advance.plugin  |    6 --
 plugins/game-boy-advance/src/Makefile.am           |   49 --------------------
 .../src/game-boy-advance-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 582b935..ba2cdec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,6 @@ LT_INIT
 m4_include([plugins/desktop/configure.ac])
 m4_include([plugins/dreamcast/configure.ac])
 m4_include([plugins/nes/configure.ac])
-m4_include([plugins/game-boy-advance/configure.ac])
 m4_include([plugins/game-cube/configure.ac])
 m4_include([plugins/libretro/configure.ac])
 m4_include([plugins/love/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index f61c840..064b51a 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -8,10 +8,6 @@ if ENABLE_DREAMCAST_PLUGIN
 SUBDIRS += dreamcast
 endif
 
-if ENABLE_GAME_BOY_ADVANCE_PLUGIN
-SUBDIRS += game-boy-advance
-endif
-
 if ENABLE_GAME_CUBE_PLUGIN
 SUBDIRS += game-cube
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 962b7eb..65902fb 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -9,5 +9,6 @@ namespace Games {
                { "application/x-doom-wad", true, "DOOM", "doom" },
                { "application/x-gameboy-color-rom", true, "GameBoyColor", "game-boy" }, // The prefix is the 
same as the Game Boy type for backward compatibility.
                { "application/x-gameboy-rom", true, "GameBoy", "game-boy" },
+               { "application/x-gba-rom", true, "GameBoyAdvance", "game-boy-advance" },
        };
 }


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