aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane D'Alu <sdalu@sdalu.com>2023-10-27 10:38:24 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-11-07 00:17:22 +0000
commit0b2e9d774f0674e9795af308305994b970fcde2f (patch)
tree25e694600f80e49afed22c101a1b6b031bcb8f7b
parentb50e7b05416572d4d0215195469cded40df1edf0 (diff)
downloadports-0b2e9d7.tar.gz
ports-0b2e9d7.zip
games/libretro-beetle_pcfx: rename to games/libretro-mednafen_pcfx + update to 0.20230528
PR: 274647
-rw-r--r--MOVED1
-rw-r--r--games/Makefile2
-rw-r--r--games/libretro-beetle_pcfx/distinfo3
-rw-r--r--games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c11
-rw-r--r--games/libretro-mednafen_pcfx/Makefile (renamed from games/libretro-beetle_pcfx/Makefile)10
-rw-r--r--games/libretro-mednafen_pcfx/distinfo3
-rw-r--r--games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c11
-rw-r--r--games/libretro-mednafen_pcfx/pkg-descr (renamed from games/libretro-beetle_pcfx/pkg-descr)0
8 files changed, 21 insertions, 20 deletions
diff --git a/MOVED b/MOVED
index 0d0ec5aabbae..a26c3b46e3e2 100644
--- a/MOVED
+++ b/MOVED
@@ -7966,3 +7966,4 @@ games/libretro-beetle_lynx|games/libretro-mednafen_lynx|2023-10-26|Follow naming
games/libretro-beetle_ngp|games/libretro-mednafen_ngp|2023-10-26|Follow naming of libretro-super build script
games/libretro-beetle_pce|games/libretro-mednafen_pce|2023-10-26|Follow naming of libretro-super build script
games/libretro-beetle_pce_fast|games/libretro-mednafen_pce_fast|2023-10-26|Follow naming of libretro-super build script
+games/libretro-beetle_pcfx|games/libretro-mednafen_pcfx|2023-10-26|Follow naming of libretro-super build script
diff --git a/games/Makefile b/games/Makefile
index edbae8e62201..abc6527cc3dd 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -497,7 +497,6 @@
SUBDIR += libretro
SUBDIR += libretro-2048
SUBDIR += libretro-a5200
- SUBDIR += libretro-beetle_pcfx
SUBDIR += libretro-beetle_psx
SUBDIR += libretro-beetle_saturn
SUBDIR += libretro-beetle_supergrafx
@@ -532,6 +531,7 @@
SUBDIR += libretro-mednafen_ngp
SUBDIR += libretro-mednafen_pce
SUBDIR += libretro-mednafen_pce_fast
+ SUBDIR += libretro-mednafen_pcfx
SUBDIR += libretro-melonds
SUBDIR += libretro-mgba
SUBDIR += libretro-mu
diff --git a/games/libretro-beetle_pcfx/distinfo b/games/libretro-beetle_pcfx/distinfo
deleted file mode 100644
index 1176a5a3932d..000000000000
--- a/games/libretro-beetle_pcfx/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1649322915
-SHA256 (libretro-beetle-pcfx-libretro-0.20220307-00abc26_GH0.tar.gz) = 67d87ea1745fa623619e9a105dd58b6de4258fc8e2f16150272337eac623f2a7
-SIZE (libretro-beetle-pcfx-libretro-0.20220307-00abc26_GH0.tar.gz) = 725043
diff --git a/games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c b/games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c
deleted file mode 100644
index 711eba8689ed..000000000000
--- a/games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libretro-common/rthreads/rthreads.c.orig 2020-03-17 18:50:48 UTC
-+++ libretro-common/rthreads/rthreads.c
-@@ -66,6 +66,8 @@
- #include <mach/mach.h>
- #endif
-
-+#include <sys/time.h>
-+
- struct thread_data
- {
- void (*func)(void*);
diff --git a/games/libretro-beetle_pcfx/Makefile b/games/libretro-mednafen_pcfx/Makefile
index 0ddff7e4f3f2..dc4dbc9c12cd 100644
--- a/games/libretro-beetle_pcfx/Makefile
+++ b/games/libretro-mednafen_pcfx/Makefile
@@ -1,5 +1,5 @@
-PORTNAME= libretro-beetle_pcfx
-PORTVERSION= 0.20220307
+PORTNAME= libretro-mednafen_pcfx
+DISTVERSION= 0.20230528
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
@@ -14,12 +14,12 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= libretro
GH_PROJECT= beetle-pcfx-libretro
-GH_TAGNAME= 00abc26
+GH_TAGNAME= 47c355b6a515aef6dc57f57df1535570108a0e21
PLIST_FILES= lib/libretro/mednafen_pcfx_libretro.so
do-install:
- ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
- ${INSTALL_LIB} ${WRKSRC}/mednafen_pcfx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
+ ${INSTALL_LIB} ${WRKSRC}/mednafen_pcfx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro
.include <bsd.port.mk>
diff --git a/games/libretro-mednafen_pcfx/distinfo b/games/libretro-mednafen_pcfx/distinfo
new file mode 100644
index 000000000000..92f4f688c4be
--- /dev/null
+++ b/games/libretro-mednafen_pcfx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698314775
+SHA256 (libretro-beetle-pcfx-libretro-0.20230528-47c355b6a515aef6dc57f57df1535570108a0e21_GH0.tar.gz) = 15f5395778c9ce03e99c3a7cf0e0303dd58e5eba93f2b95c8ee6366fd8c25cba
+SIZE (libretro-beetle-pcfx-libretro-0.20230528-47c355b6a515aef6dc57f57df1535570108a0e21_GH0.tar.gz) = 725283
diff --git a/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c b/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c
new file mode 100644
index 000000000000..efe404d1dce2
--- /dev/null
+++ b/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c
@@ -0,0 +1,11 @@
+--- libretro-common/rthreads/rthreads.c.orig 2023-11-02 10:57:19 UTC
++++ libretro-common/rthreads/rthreads.c
+@@ -55,7 +55,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>
+ #elif defined(__PS3__)
+ #include <sys/sys_time.h>
diff --git a/games/libretro-beetle_pcfx/pkg-descr b/games/libretro-mednafen_pcfx/pkg-descr
index 8d41eb27d5c9..8d41eb27d5c9 100644
--- a/games/libretro-beetle_pcfx/pkg-descr
+++ b/games/libretro-mednafen_pcfx/pkg-descr