pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators libretro-np2kai: add version 0.86.17



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31fc53cb4c55
branches:  trunk
changeset: 311580:31fc53cb4c55
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Aug 14 16:44:07 2018 +0000

description:
libretro-np2kai: add version 0.86.17

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.

Neko Project II is a PC-9801 emulator. The PC-9800 series, commonly
shortened to PC-98, is a line of Japanese 16-bit and 32-bit personal
computers manufactured by NEC from 1982 through 2000.

diffstat:

 emulators/Makefile                                             |   3 +-
 emulators/libretro-np2kai/DESCR                                |   9 ++
 emulators/libretro-np2kai/Makefile                             |  38 ++++++++++
 emulators/libretro-np2kai/PLIST                                |   2 +
 emulators/libretro-np2kai/distinfo                             |   8 ++
 emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro |  15 +++
 emulators/libretro-np2kai/patches/patch-sound_mame_driver.h    |  25 ++++++
 7 files changed, 99 insertions(+), 1 deletions(-)

diffs (138 lines):

diff -r 923788057d89 -r 31fc53cb4c55 emulators/Makefile
--- a/emulators/Makefile        Tue Aug 14 16:41:30 2018 +0000
+++ b/emulators/Makefile        Tue Aug 14 16:44:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.279 2018/08/14 12:55:41 nia Exp $
+# $NetBSD: Makefile,v 1.280 2018/08/14 16:44:07 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -111,6 +111,7 @@
 SUBDIR+=       libretro-mgba
 SUBDIR+=       libretro-mupen64plus
 SUBDIR+=       libretro-nestopia
+SUBDIR+=       libretro-np2kai
 SUBDIR+=       libretro-o2em
 SUBDIR+=       libretro-pcsx-rearmed
 SUBDIR+=       libretro-picodrive
diff -r 923788057d89 -r 31fc53cb4c55 emulators/libretro-np2kai/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-np2kai/DESCR   Tue Aug 14 16:44:07 2018 +0000
@@ -0,0 +1,9 @@
+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.
+
+Neko Project II is a PC-9801 emulator. The PC-9800 series, commonly
+shortened to PC-98, is a line of Japanese 16-bit and 32-bit personal
+computers manufactured by NEC from 1982 through 2000.
diff -r 923788057d89 -r 31fc53cb4c55 emulators/libretro-np2kai/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-np2kai/Makefile        Tue Aug 14 16:44:07 2018 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2018/08/14 16:44:07 nia Exp $
+
+NP2KAI_REV=    17
+DISTNAME=      libretro-np2kai-0.86.${NP2KAI_REV}
+CATEGORIES=    emulators
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=AZO234/}
+GITHUB_PROJECT=        NP2kai
+GITHUB_TAG=    rev.${NP2KAI_REV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://docs.libretro.com/library/neko_project_ii_kai/
+COMMENT=       Libretro core based on the Neko Project II PC-9801 emulator
+LICENSE=       mit
+
+EXTRACT_USING= bsdtar
+BUILD_DIRS=    sdl2
+MAKE_FILE=     Makefile.libretro
+
+USE_TOOLS+=    gmake
+USE_LANGUAGES= c c++
+
+MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
+
+.include "../../mk/bsd.prefs.mk"
+
+# The networking code currently uses non-portable Linux-specific calls.
+.if ${OPSYS} != "Linux"
+MAKE_FLAGS=    SUPPORT_NET=0
+.endif
+
+INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/sdl2/np2kai_libretro.so \
+           ${DESTDIR}${PREFIX}/lib/libretro/np2kai_libretro.so
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 923788057d89 -r 31fc53cb4c55 emulators/libretro-np2kai/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-np2kai/PLIST   Tue Aug 14 16:44:07 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/14 16:44:07 nia Exp $
+lib/libretro/np2kai_libretro.so
diff -r 923788057d89 -r 31fc53cb4c55 emulators/libretro-np2kai/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-np2kai/distinfo        Tue Aug 14 16:44:07 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/08/14 16:44:07 nia Exp $
+
+SHA1 (libretro-np2kai-0.86.17.tar.gz) = 0b55ecdac28dfc4124ba05669913f036d16547f8
+RMD160 (libretro-np2kai-0.86.17.tar.gz) = 0e443aa091498d1b1345422ef10b4b29b27e1e66
+SHA512 (libretro-np2kai-0.86.17.tar.gz) = 0102ff49c0fa3f9440fc998ef2a8062724d539279fcc1fd9b216de07e80db14535980401fec3e9d052eb338dfc47894ee64f4802daeabd6e89c14a92d0c9d617
+Size (libretro-np2kai-0.86.17.tar.gz) = 2449112 bytes
+SHA1 (patch-sdl2_Makefile.libretro) = 7c670340b4e552dc67ba025c85f49105eb4200c9
+SHA1 (patch-sound_mame_driver.h) = 7378846e2c15c445f56fd144077d48a5bd69327c
diff -r 923788057d89 -r 31fc53cb4c55 emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro    Tue Aug 14 16:44:07 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sdl2_Makefile.libretro,v 1.1 2018/08/14 16:44:08 nia Exp $
+
+Don't force -O3.
+
+--- sdl2/Makefile.libretro.orig        2018-07-12 22:06:17.000000000 +0000
++++ sdl2/Makefile.libretro
+@@ -235,7 +235,7 @@ endif
+ ifeq ($(DEBUG), 1)
+ COMMONFLAGS += -O0 -g
+ else
+-COMMONFLAGS += -O3 -DNDEBUG -DGIT_VERSION=\"$(GIT_VERSION)\"
++COMMONFLAGS += -DNDEBUG -DGIT_VERSION=\"$(GIT_VERSION)\"
+ endif
+ 
+ ifeq ($(HAVE_RUST),1)
diff -r 923788057d89 -r 31fc53cb4c55 emulators/libretro-np2kai/patches/patch-sound_mame_driver.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-np2kai/patches/patch-sound_mame_driver.h       Tue Aug 14 16:44:07 2018 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-sound_mame_driver.h,v 1.1 2018/08/14 16:44:08 nia Exp $
+
+Use the standard keyword for making a function inline.
+
+--- sound/mame/driver.h.orig   2018-07-12 22:06:17.000000000 +0000
++++ sound/mame/driver.h
+@@ -8,17 +8,7 @@
+ #define HAS_Y8950  1
+ #define HAS_YMF262 1
+ 
+-#if defined(_MSC_VER)
+-#pragma warning(disable: 4244)
+-#pragma warning(disable: 4245)
+-#define INLINE __inline
+-#elif defined(__BORLANDC__)
+-#define INLINE __inline
+-#elif defined(__GNUC__)
+-#define INLINE __inline__ __attribute__((always_inline))
+-#else
+-#define INLINE
+-#endif
++#define INLINE inline
+ 
+ #define logerror(x,y,z)
+ //typedef signed int stream_sample_t;



Home | Main Index | Thread Index | Old Index