Skip to content

Commit

Permalink
games/libretro-beetle_saturn: New port
Browse files Browse the repository at this point in the history
Standalone port of Mednafen Saturn to libretro.

PR:		256776
  • Loading branch information
Daniel Menelkir authored and yzgyyang committed Aug 13, 2021
1 parent 9ac9591 commit 6acbe79
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions games/Makefile
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions games/libretro-beetle_saturn/Makefile
@@ -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>
3 changes: 3 additions & 0 deletions games/libretro-beetle_saturn/distinfo
@@ -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
@@ -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*);
3 changes: 3 additions & 0 deletions games/libretro-beetle_saturn/pkg-descr
@@ -0,0 +1,3 @@
Standalone port of Mednafen Sega Saturn to libretro.

WWW: https://github.com/libretro/beetle-saturn-libretro

0 comments on commit 6acbe79

Please sign in to comment.