pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libretro-px68k: Import libretro-px68k-20170806



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Thu Sep 7 11:19:37 2017 +0100
Changeset:	0c5fe1bddad41616f3ce2c4d19600c3de723e043

Modified Files:
	Makefile
Added Files:
	libretro-px68k/DESCR
	libretro-px68k/MESSAGE
	libretro-px68k/Makefile
	libretro-px68k/PLIST
	libretro-px68k/distinfo
	libretro-px68k/patches/patch-Makefile.libretro

Log Message:
libretro-px68k: Import libretro-px68k-20170806

Libretro is a simple but powerful development interface that allows for
the easy creation of emulators, games and multimedia applications that
can plug straight into any libretro-compatible frontend. This development
interface is open to others so that they can run these pluggable emulator
and game cores also in their own programs or devices.

PX68k (Portable xkeropi PRO-68K) is a portable and fast emulator for
the Sharp X68000 series of home computers.

The Sharp X68000 was released exclusively in Japan in 1987. It was a
powerful machine for its time and saw a great number of arcade ports,
exclusive titles and doujin/indie games developed for it, even years
after the last model was launched in 1993.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0c5fe1bddad41616f3ce2c4d19600c3de723e043

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                       |  1 +
 libretro-px68k/DESCR                           | 13 +++++++++++++
 libretro-px68k/MESSAGE                         | 10 ++++++++++
 libretro-px68k/Makefile                        | 23 +++++++++++++++++++++++
 libretro-px68k/PLIST                           |  2 ++
 libretro-px68k/distinfo                        |  7 +++++++
 libretro-px68k/patches/patch-Makefile.libretro | 16 ++++++++++++++++
 7 files changed, 72 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 113d1c05ec..e5dc88c7dd 100644
--- a/Makefile
+++ b/Makefile
@@ -1777,6 +1777,7 @@ SUBDIR+=	libretro-picodrive
 SUBDIR+=	libretro-ppsspp
 SUBDIR+=	libretro-prboom
 SUBDIR+=	libretro-prosystem
+SUBDIR+=	libretro-px68k
 SUBDIR+=	libretro-snes9x
 SUBDIR+=	libretro-snes9x2005
 SUBDIR+=	libretro-snes9x2010
diff --git a/libretro-px68k/DESCR b/libretro-px68k/DESCR
new file mode 100644
index 0000000000..b1dc0b72cf
--- /dev/null
+++ b/libretro-px68k/DESCR
@@ -0,0 +1,13 @@
+Libretro is a simple but powerful development interface that allows for
+the easy creation of emulators, games and multimedia applications that
+can plug straight into any libretro-compatible frontend. This development
+interface is open to others so that they can run these pluggable emulator
+and game cores also in their own programs or devices.
+
+PX68k (Portable xkeropi PRO-68K) is a portable and fast emulator for
+the Sharp X68000 series of home computers.
+
+The Sharp X68000 was released exclusively in Japan in 1987. It was a
+powerful machine for its time and saw a great number of arcade ports,
+exclusive titles and doujin/indie games developed for it, even years
+after the last model was launched in 1993.
diff --git a/libretro-px68k/MESSAGE b/libretro-px68k/MESSAGE
new file mode 100644
index 0000000000..12c6101c68
--- /dev/null
+++ b/libretro-px68k/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD$
+
+PX68K requires its BIOS files to be placed in the subdirectory "keropi" of
+either the RetroArch content directory or system directory.
+
+Sharp released the BIOS files to the public domain. They can be downloaded
+for free here: http://www.jcec.co.uk/x68000r.zip
+
+===========================================================================
diff --git a/libretro-px68k/Makefile b/libretro-px68k/Makefile
new file mode 100644
index 0000000000..47e7f79f29
--- /dev/null
+++ b/libretro-px68k/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	libretro-px68k-20170806
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=libretro/}
+
+HOMEPAGE=	https://github.com/libretro/px68k-libretro
+COMMENT=	Libretro core based on the PX68K SHARP X68000 emulator
+
+GITHUB_PROJECT=	px68k-libretro
+GITHUB_TAG=	8f6be979ca47396e5b692d288b31825fb1d45c92
+
+MAKE_FILE=	Makefile.libretro
+USE_TOOLS=	gmake
+USE_LANGUAGES=	c c++
+
+INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
+
+do-install:
+	${INSTALL_LIB} ${WRKSRC}/px68k_libretro.so \
+	    ${DESTDIR}${PREFIX}/lib/libretro/px68k_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libretro-px68k/PLIST b/libretro-px68k/PLIST
new file mode 100644
index 0000000000..95455ec462
--- /dev/null
+++ b/libretro-px68k/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/libretro/px68k_libretro.so
diff --git a/libretro-px68k/distinfo b/libretro-px68k/distinfo
new file mode 100644
index 0000000000..57eec58147
--- /dev/null
+++ b/libretro-px68k/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = 58de55754ef0d7877695813b4db2befbadb4dc5f
+RMD160 (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = f1c3220f4462576aec2ac75ee866802d9e6fb30f
+SHA512 (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = 1f8a9a24b8811a3e9e737ccdd3aa58be466484ab65869d099c91e20db5183f3d099f9298c65ec2a3599ff18b51ed240af5b55f3b95a935c20cd22d800612b55c
+Size (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = 491688 bytes
+SHA1 (patch-Makefile.libretro) = 0e79ee53f5ef7c0107644122ee92e9983ac3ee87
diff --git a/libretro-px68k/patches/patch-Makefile.libretro b/libretro-px68k/patches/patch-Makefile.libretro
new file mode 100644
index 0000000000..4719c7c65f
--- /dev/null
+++ b/libretro-px68k/patches/patch-Makefile.libretro
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Don't override CFLAGS
+
+--- Makefile.libretro.orig	2017-07-31 10:39:04.000000000 +0000
++++ Makefile.libretro
+@@ -39,8 +39,7 @@ ENDIANNESS_DEFINES :=
+ CORE_DIR := .
+ 
+ ifeq ($(platform), unix)
+-	CFLAGS = -g -O2 
+-	CXXFLAGS = -g -O2  -fno-merge-constants 
++	CXXFLAGS += -fno-merge-constants 
+ 	TARGET := $(TARGET_NAME)_libretro.so
+ 	fpic := -fPIC
+ 	SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T


Home | Main Index | Thread Index | Old Index