pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators
Module Name: pkgsrc
Committed By: nia
Date: Tue Aug 14 16:44:08 UTC 2018
Modified Files:
pkgsrc/emulators: Makefile
Added Files:
pkgsrc/emulators/libretro-np2kai: DESCR Makefile PLIST distinfo
pkgsrc/emulators/libretro-np2kai/patches: patch-sdl2_Makefile.libretro
patch-sound_mame_driver.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.279 -r1.280 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/libretro-np2kai/DESCR \
pkgsrc/emulators/libretro-np2kai/Makefile \
pkgsrc/emulators/libretro-np2kai/PLIST \
pkgsrc/emulators/libretro-np2kai/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro \
pkgsrc/emulators/libretro-np2kai/patches/patch-sound_mame_driver.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.279 pkgsrc/emulators/Makefile:1.280
--- pkgsrc/emulators/Makefile:1.279 Tue Aug 14 12:55:41 2018
+++ pkgsrc/emulators/Makefile Tue Aug 14 16:44:07 2018
@@ -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-glsl-shaders
SUBDIR+= libretro-mgba
SUBDIR+= libretro-mupen64plus
SUBDIR+= libretro-nestopia
+SUBDIR+= libretro-np2kai
SUBDIR+= libretro-o2em
SUBDIR+= libretro-pcsx-rearmed
SUBDIR+= libretro-picodrive
Added files:
Index: pkgsrc/emulators/libretro-np2kai/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-np2kai/DESCR:1.1
--- /dev/null Tue Aug 14 16:44:08 2018
+++ pkgsrc/emulators/libretro-np2kai/DESCR Tue Aug 14 16:44:07 2018
@@ -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.
Index: pkgsrc/emulators/libretro-np2kai/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-np2kai/Makefile:1.1
--- /dev/null Tue Aug 14 16:44:08 2018
+++ pkgsrc/emulators/libretro-np2kai/Makefile Tue Aug 14 16:44:07 2018
@@ -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"
Index: pkgsrc/emulators/libretro-np2kai/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-np2kai/PLIST:1.1
--- /dev/null Tue Aug 14 16:44:08 2018
+++ pkgsrc/emulators/libretro-np2kai/PLIST Tue Aug 14 16:44:07 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/14 16:44:07 nia Exp $
+lib/libretro/np2kai_libretro.so
Index: pkgsrc/emulators/libretro-np2kai/distinfo
diff -u /dev/null pkgsrc/emulators/libretro-np2kai/distinfo:1.1
--- /dev/null Tue Aug 14 16:44:08 2018
+++ pkgsrc/emulators/libretro-np2kai/distinfo Tue Aug 14 16:44:07 2018
@@ -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
Index: pkgsrc/emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro
diff -u /dev/null pkgsrc/emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro:1.1
--- /dev/null Tue Aug 14 16:44:08 2018
+++ pkgsrc/emulators/libretro-np2kai/patches/patch-sdl2_Makefile.libretro Tue Aug 14 16:44:08 2018
@@ -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)
Index: pkgsrc/emulators/libretro-np2kai/patches/patch-sound_mame_driver.h
diff -u /dev/null pkgsrc/emulators/libretro-np2kai/patches/patch-sound_mame_driver.h:1.1
--- /dev/null Tue Aug 14 16:44:08 2018
+++ pkgsrc/emulators/libretro-np2kai/patches/patch-sound_mame_driver.h Tue Aug 14 16:44:08 2018
@@ -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