games/libretro-beetle_saturn: New port

Standalone port of Mednafen Saturn to libretro.

PR:		256776
This commit is contained in:
Daniel Menelkir 2021-08-13 14:41:08 -04:00 committed by Guangyuan Yang
parent 9ac959189d
commit 6acbe792c9
5 changed files with 44 additions and 0 deletions

View File

@ -486,6 +486,7 @@
SUBDIR += libretro-beetle_pce_fast
SUBDIR += libretro-beetle_pcfx
SUBDIR += libretro-beetle_psx
SUBDIR += libretro-beetle_saturn
SUBDIR += libretro-beetle_supergrafx
SUBDIR += libretro-beetle_vb
SUBDIR += libretro-beetle_wswan

View File

@ -0,0 +1,26 @@
PORTNAME= libretro-beetle_saturn
PORTVERSION= 0.20210622
CATEGORIES= games
MAINTAINER= menelkir@itroll.org
COMMENT= Standalone port of Mednafen Saturn to libretro
LICENSE= GPLv2
USES= compiler:c++11-lib gmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= libretro
GH_PROJECT= beetle-saturn-libretro
GH_TAGNAME= ee5b214
CFLAGS+= -fcommon
PLIST_FILES= lib/libretro/mednafen_saturn_libretro.so
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
${INSTALL_LIB} ${WRKSRC}/mednafen_saturn_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1624369815
SHA256 (libretro-beetle-saturn-libretro-0.20210622-ee5b214_GH0.tar.gz) = b4a2797fa0141db37f46df824cc1090f045a51fb9a78e6d03ce4efdea59207bf
SIZE (libretro-beetle-saturn-libretro-0.20210622-ee5b214_GH0.tar.gz) = 1114744

View File

@ -0,0 +1,11 @@
--- libretro-common/rthreads/rthreads.c.orig 2021-06-22 13:57:12 UTC
+++ libretro-common/rthreads/rthreads.c
@@ -64,6 +64,8 @@
#include <mach/mach.h>
#endif
+#include <sys/time.h>
+
struct thread_data
{
void (*func)(void*);

View File

@ -0,0 +1,3 @@
Standalone port of Mednafen Sega Saturn to libretro.
WWW: https://github.com/libretro/beetle-saturn-libretro