[retro-plugins] Add playstation plugin
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-plugins] Add playstation plugin
- Date: Thu, 28 Jul 2016 17:56:50 +0000 (UTC)
commit 76b7b0cd97513c108d7aa8c0d732790a279d9f42
Author: Ricard Gascons <gascons1995 gmail com>
Date: Sun Jun 5 11:20:16 2016 +0200
Add playstation plugin
Wrap pcsx-rearmed as the playstation plugin.
.gitmodules | 3 +++
configure.ac | 1 +
plugins/Makefile.am | 4 ++++
plugins/playstation/Makefile.in | 14 ++++++++++++++
plugins/playstation/configure.ac | 20 ++++++++++++++++++++
plugins/playstation/pcsx_rearmed | 1 +
6 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index 28859b7..948c3b5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -22,3 +22,6 @@
[submodule "plugins/atari-7800/prosystem-libretro"]
path = plugins/atari-7800/prosystem-libretro
url = https://github.com/libretro/prosystem-libretro.git
+[submodule "plugins/playstation/pcsx_rearmed"]
+ path = plugins/playstation/pcsx_rearmed
+ url = https://github.com/libretro/pcsx_rearmed.git
diff --git a/configure.ac b/configure.ac
index a3d1efe..64d6d39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,7 @@ m4_include([plugins/mame/configure.ac])
m4_include([plugins/neo-geo-pocket/configure.ac])
m4_include([plugins/nes/configure.ac])
m4_include([plugins/pc-engine/configure.ac])
+m4_include([plugins/playstation/configure.ac])
m4_include([plugins/snes/configure.ac])
PKG_CHECK_MODULES(RETRO_PLUGINS, [
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 7782fc3..acf4e24 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -28,6 +28,10 @@ if ENABLE_PC_ENGINE_PLUGIN
SUBDIRS += pc-engine
endif
+if ENABLE_PLAYSTATION_PLUGIN
+SUBDIRS += playstation
+endif
+
if ENABLE_SNES_PLUGIN
SUBDIRS += snes
endif
diff --git a/plugins/playstation/Makefile.in b/plugins/playstation/Makefile.in
new file mode 100644
index 0000000..b8cf263
--- /dev/null
+++ b/plugins/playstation/Makefile.in
@@ -0,0 +1,14 @@
+SYSTEM_NAME = playstation
+SUBMODULE_DIR = pcsx_rearmed
+
+OUT = $(srcdir)/$(SUBMODULE_DIR)/pcsx_rearmed_libretro.so
+
+GIT_LS_OPTIONS = | egrep -v '^jni|^mednafen/include/desa68|^mednafen/include/trio/CHANGES|^msvc'
+
+-include ../submodule-plugin.mk
+
+$(OUT):
+ make -C $(srcdir)/$(SUBMODULE_DIR) -f Makefile.libretro
+
+submodule-clean:
+ make -C $(srcdir)/$(SUBMODULE_DIR) clean
diff --git a/plugins/playstation/configure.ac b/plugins/playstation/configure.ac
new file mode 100644
index 0000000..e4a931b
--- /dev/null
+++ b/plugins/playstation/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(ENABLE_PLAYSTATION_PLUGIN, [
+#], [enable_playstation_plugin=yes], [enable_playstation_plugin=no])
+enable_playstation_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_PLAYSTATION_PLUGIN, test x$enable_playstation_plugin != xno)
+
+AC_CONFIG_FILES([
+ plugins/playstation/Makefile
+])
diff --git a/plugins/playstation/pcsx_rearmed b/plugins/playstation/pcsx_rearmed
new file mode 160000
index 0000000..73d32d6
--- /dev/null
+++ b/plugins/playstation/pcsx_rearmed
@@ -0,0 +1 @@
+Subproject commit 73d32d69496795050589cb845ddbd1a074ca3955
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]