games/libretro-boom3: new port

PR:		274647
2024Q1
Stephane D'Alu 2023-10-27 00:27:47 +02:00 committed by Robert Clausecker
parent 9f9b4c41e8
commit 13490562a6
5 changed files with 43 additions and 0 deletions

View File

@ -510,6 +510,7 @@
SUBDIR += libretro-beetle_vb
SUBDIR += libretro-beetle_wswan
SUBDIR += libretro-bluemsx
SUBDIR += libretro-boom3
SUBDIR += libretro-cap32
SUBDIR += libretro-core-info
SUBDIR += libretro-desmume2015

View File

@ -0,0 +1,27 @@
PORTNAME= libretro-boom3
DISTVERSION= 0.20220810
CATEGORIES= games
MAINTAINER= sdalu@sdalu.com
COMMENT= dhewm3 (Doom 3) core for libretro API
WWW= https://github.com/libretro/boom3
LICENSE= GPLv3
USES= gmake gl localbase:ldflags
USE_GL= gl
USE_GITHUB= yes
GH_ACCOUNT= libretro
GH_PROJECT= boom3
GH_TAGNAME= 0bea79abf5ec8262dfe9af73cb8c54ea6e2aeb98
WRKSRC_SUBDIR= neo
PLIST_FILES= lib/libretro/boom3_libretro.so
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
${INSTALL_LIB} ${WRKSRC}/boom3_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1698356977
SHA256 (libretro-boom3-0.20220810-0bea79abf5ec8262dfe9af73cb8c54ea6e2aeb98_GH0.tar.gz) = 613d655c7f05dd2fd90fc27721165efad2be6c30ed85d82a07d28d81e30324cc
SIZE (libretro-boom3-0.20220810-0bea79abf5ec8262dfe9af73cb8c54ea6e2aeb98_GH0.tar.gz) = 6893409

View File

@ -0,0 +1,11 @@
--- sys/libretro-common/rthreads/rthreads.c.orig 2023-10-28 13:28:00 UTC
+++ sys/libretro-common/rthreads/rthreads.c
@@ -58,7 +58,7 @@
#include <time.h>
#endif
-#if defined(VITA) || defined(BSD) || defined(ORBIS)
+#if defined(VITA) || defined(BSD) || defined(ORBIS) || (__FreeBSD__ <= 12)
#include <sys/time.h>
#endif

View File

@ -0,0 +1 @@
dhewm3 (Doom 3) core for libretro API