[retro-plugins] Add atari-7800 plugin
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-plugins] Add atari-7800 plugin
- Date: Fri, 25 Mar 2016 10:36:47 +0000 (UTC)
commit 7e2a865f89886fbac2cd24d226271ff78d164d4b
Author: Ricard Gascons <gascons1995 gmail com>
Date: Sun Mar 13 10:03:26 2016 +0100
Add atari-7800 plugin
Wrap prosystem-libretro as the atari-7800 plugin.
.gitmodules | 3 +++
configure.ac | 1 +
plugins/Makefile.am | 4 ++++
plugins/atari-7800/Makefile.in | 12 ++++++++++++
plugins/atari-7800/configure.ac | 20 ++++++++++++++++++++
plugins/atari-7800/prosystem-libretro | 1 +
6 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index 8cb86d7..28859b7 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -19,3 +19,6 @@
[submodule "plugins/atari-2600/stella-libretro"]
path = plugins/atari-2600/stella-libretro
url = https://github.com/libretro/stella-libretro.git
+[submodule "plugins/atari-7800/prosystem-libretro"]
+ path = plugins/atari-7800/prosystem-libretro
+ url = https://github.com/libretro/prosystem-libretro.git
diff --git a/configure.ac b/configure.ac
index de66ee9..a3d1efe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ LT_INIT
# Plugins
m4_include([plugins/atari-2600/configure.ac])
+m4_include([plugins/atari-7800/configure.ac])
m4_include([plugins/game-boy/configure.ac])
m4_include([plugins/mame/configure.ac])
m4_include([plugins/neo-geo-pocket/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index e4a858c..7782fc3 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -4,6 +4,10 @@ if ENABLE_ATARI_2600_PLUGIN
SUBDIRS += atari-2600
endif
+if ENABLE_ATARI_7800_PLUGIN
+SUBDIRS += atari-7800
+endif
+
if ENABLE_GAME_BOY_PLUGIN
SUBDIRS += game-boy
endif
diff --git a/plugins/atari-7800/Makefile.in b/plugins/atari-7800/Makefile.in
new file mode 100644
index 0000000..3fecf8f
--- /dev/null
+++ b/plugins/atari-7800/Makefile.in
@@ -0,0 +1,12 @@
+SYSTEM_NAME = atari-7800
+SUBMODULE_DIR = prosystem-libretro
+
+OUT = $(srcdir)/$(SUBMODULE_DIR)/prosystem_libretro.so
+
+-include ../submodule-plugin.mk
+
+$(OUT):
+ make -C $(srcdir)/$(SUBMODULE_DIR)
+
+submodule-clean:
+ make -C $(srcdir)/$(SUBMODULE_DIR) clean
\ No newline at end of file
diff --git a/plugins/atari-7800/configure.ac b/plugins/atari-7800/configure.ac
new file mode 100644
index 0000000..c48c770
--- /dev/null
+++ b/plugins/atari-7800/configure.ac
@@ -0,0 +1,20 @@
+# When there are no modules to check, default to 'no', hence we need to
+# force it to 'yes'.
+#PKG_CHECK_MODULES(ATARI_7800_PLUGIN, [
+#], [enable_atari_7800_plugin=yes], [enable_atari_7800_plugin=no])
+enable_atari_7800_plugin=yes
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+
+AM_CONDITIONAL(ENABLE_ATARI_7800_PLUGIN, test x$enable_atari_7800_plugin != xno)
+
+AC_CONFIG_FILES([
+ plugins/atari-7800/Makefile
+])
diff --git a/plugins/atari-7800/prosystem-libretro b/plugins/atari-7800/prosystem-libretro
new file mode 160000
index 0000000..fe7530c
--- /dev/null
+++ b/plugins/atari-7800/prosystem-libretro
@@ -0,0 +1 @@
+Subproject commit fe7530c9586dad56e400791a9a353c2d27e6d7aa
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]