[gnome-games/wip/exalm/rebrand: 103/124] virtual-boy: Move into the app
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/rebrand: 103/124] virtual-boy: Move into the app
- Date: Sat, 19 Jun 2021 14:37:46 +0000 (UTC)
commit 35f1bc6d8a7318e0761334f47311f113038d76bb
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Mar 30 21:16:35 2021 +0500
virtual-boy: Move into the app
meson_options.txt | 1 -
plugins/meson.build | 1 -
plugins/virtual-boy/data/meson.build | 1 -
plugins/virtual-boy/data/virtual-boy.plugin | 6 ------
plugins/virtual-boy/meson.build | 2 --
plugins/virtual-boy/src/meson.build | 18 ----------------
plugins/virtual-boy/src/virtual-boy-plugin.vala | 24 ----------------------
src/meson.build | 3 +++
src/platforms/platform-register.vala | 9 ++++++++
.../platforms/virtual-boy}/virtual-boy-header.vala | 0
.../platforms/virtual-boy}/virtual-boy-parser.vala | 0
11 files changed, 12 insertions(+), 53 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index d131d3c4..6a6c03b9 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,5 +10,4 @@ option (
# Plugins
# This must mirror the list in plugins/meson.build
-option ('virtual-boy-plugin', description: 'Support for Virtual Boy games', type: 'boolean')
option ('wii-plugin', description: 'Support for Wii games', type: 'boolean')
diff --git a/plugins/meson.build b/plugins/meson.build
index bbd8f492..ec4f458e 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -1,5 +1,4 @@
plugins = [
- 'virtual-boy',
'wii',
]
diff --git a/src/meson.build b/src/meson.build
index 2a7938d0..a21e63e7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -130,6 +130,9 @@ vala_sources = [
'platforms/turbografx-cd/turbografx-cd-error.vala',
'platforms/turbografx-cd/turbografx-cd-parser.vala',
+ 'platforms/virtual-boy/virtual-boy-header.vala',
+ 'platforms/virtual-boy/virtual-boy-parser.vala',
+
'platforms/platform.vala',
'platforms/platform-model.vala',
'platforms/platform-register.vala',
diff --git a/src/platforms/platform-register.vala b/src/platforms/platform-register.vala
index 0a16baf7..8de2b35f 100644
--- a/src/platforms/platform-register.vala
+++ b/src/platforms/platform-register.vala
@@ -335,6 +335,15 @@ private class Games.PlatformRegister : Object {
platform.parser_type = typeof (TurboGrafxCDParser);
add_platform (platform);
+ platform = new Platform (
+ "VirtualBoy",
+ _("Virtual Boy"),
+ "application/x-virtual-boy-rom",
+ "virtual-boy"
+ );
+ platform.parser_type = typeof (VirtualBoyParser);
+ add_platform (platform);
+
platform = new Platform (
"WiiWare",
_("WiiWare"),
diff --git a/plugins/virtual-boy/src/virtual-boy-header.vala
b/src/platforms/virtual-boy/virtual-boy-header.vala
similarity index 100%
rename from plugins/virtual-boy/src/virtual-boy-header.vala
rename to src/platforms/virtual-boy/virtual-boy-header.vala
diff --git a/plugins/virtual-boy/src/virtual-boy-parser.vala
b/src/platforms/virtual-boy/virtual-boy-parser.vala
similarity index 100%
rename from plugins/virtual-boy/src/virtual-boy-parser.vala
rename to src/platforms/virtual-boy/virtual-boy-parser.vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]