[gnome-games/wip/aplazas/type-registration: 9/19] game-boy: Replace the plugin by simple types



commit 1b8ca9f67085076418f862ef1b5fdddac5512d6f
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 15:13:11 2017 +0200

    game-boy: Replace the plugin by simple types

 configure.ac                              |    1 -
 plugins/Makefile.am                       |    4 -
 plugins/game-boy/Makefile.am              |    3 -
 plugins/game-boy/configure.ac             |   14 ---
 plugins/game-boy/data/Makefile.am         |    6 --
 plugins/game-boy/data/game-boy.plugin     |    6 --
 plugins/game-boy/src/Makefile.am          |   50 ------------
 plugins/game-boy/src/game-boy-header.vala |  124 -----------------------------
 plugins/game-boy/src/game-boy-plugin.vala |   66 ---------------
 src/retro/retro-simple-types.vala         |    2 +
 10 files changed, 2 insertions(+), 274 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b3b92d3..582b935 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/configure.ac])
 m4_include([plugins/game-boy-advance/configure.ac])
 m4_include([plugins/game-cube/configure.ac])
 m4_include([plugins/libretro/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 51a56dd..f61c840 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -8,10 +8,6 @@ if ENABLE_DREAMCAST_PLUGIN
 SUBDIRS += dreamcast
 endif
 
-if ENABLE_GAME_BOY_PLUGIN
-SUBDIRS += game-boy
-endif
-
 if ENABLE_GAME_BOY_ADVANCE_PLUGIN
 SUBDIRS += game-boy-advance
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 657fe84..962b7eb 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -7,5 +7,7 @@ namespace Games {
                { "application/x-atari-7800-rom", true, "Atari7800", "atari-7800" },
                { "application/x-atari-lynx-rom", true, "AtariLynx", "atari-lynx" },
                { "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" },
        };
 }


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