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



commit a64a8acf3c56ce92d9aafec63749874604a16495
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 14:47:06 2017 +0200

    atari-2600: Replace the plugin by a simple type

 configure.ac                                  |    1 -
 plugins/Makefile.am                           |    4 --
 plugins/atari-2600/Makefile.am                |    3 --
 plugins/atari-2600/configure.ac               |   14 -------
 plugins/atari-2600/data/Makefile.am           |    6 ---
 plugins/atari-2600/data/atari-2600.plugin     |    6 ---
 plugins/atari-2600/src/Makefile.am            |   49 -------------------------
 plugins/atari-2600/src/atari-2600-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 8735232..9a281e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,6 @@ AC_SUBST(GLIB_MIN_VERSION)
 LT_INIT
 
 # Plugins
-m4_include([plugins/atari-2600/configure.ac])
 m4_include([plugins/atari-7800/configure.ac])
 m4_include([plugins/atari-lynx/configure.ac])
 m4_include([plugins/desktop/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 8a966c4..5b5f77d 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -1,9 +1,5 @@
 SUBDIRS =
 
-if ENABLE_ATARI_2600_PLUGIN
-SUBDIRS += atari-2600
-endif
-
 if ENABLE_ATARI_7800_PLUGIN
 SUBDIRS += atari-7800
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 45afaa6..4c0a9d5 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -3,5 +3,6 @@
 namespace Games {
        private const RetroSimpleType[] RETRO_SIMPLE_TYPES = {
                { "application/x-amiga-disk-format", "Amiga", "amiga" },
+               { "application/x-atari-2600-rom", "Atari2600", "atari-2600" },
        };
 }


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