From 0b2e9d774f0674e9795af308305994b970fcde2f Mon Sep 17 00:00:00 2001 From: Stephane D'Alu Date: Fri, 27 Oct 2023 12:38:24 +0200 Subject: [PATCH] games/libretro-beetle_pcfx: rename to games/libretro-mednafen_pcfx + update to 0.20230528 PR: 274647 --- MOVED | 1 + games/Makefile | 2 +- games/libretro-beetle_pcfx/distinfo | 3 --- .../files/patch-libretro-common_rthreads_rthreads.c | 11 ----------- .../Makefile | 10 +++++----- games/libretro-mednafen_pcfx/distinfo | 3 +++ .../files/patch-libretro-common_rthreads_rthreads.c | 11 +++++++++++ .../pkg-descr | 0 8 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 games/libretro-beetle_pcfx/distinfo delete mode 100644 games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c rename games/{libretro-beetle_pcfx => libretro-mednafen_pcfx}/Makefile (71%) create mode 100644 games/libretro-mednafen_pcfx/distinfo create mode 100644 games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c rename games/{libretro-beetle_pcfx => libretro-mednafen_pcfx}/pkg-descr (100%) diff --git a/MOVED b/MOVED index 0d0ec5aabbae2..a26c3b46e3e2e 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 edbae8e622016..abc6527cc3dd8 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 1176a5a3932d5..0000000000000 --- 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 711eba8689ed1..0000000000000 --- 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 - #endif - -+#include -+ - struct thread_data - { - void (*func)(void*); diff --git a/games/libretro-beetle_pcfx/Makefile b/games/libretro-mednafen_pcfx/Makefile similarity index 71% rename from games/libretro-beetle_pcfx/Makefile rename to games/libretro-mednafen_pcfx/Makefile index 0ddff7e4f3f27..dc4dbc9c12cd0 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 diff --git a/games/libretro-mednafen_pcfx/distinfo b/games/libretro-mednafen_pcfx/distinfo new file mode 100644 index 0000000000000..92f4f688c4be3 --- /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 0000000000000..efe404d1dce2c --- /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 + #endif + +-#if defined(VITA) || defined(BSD) || defined(ORBIS) ++#if defined(VITA) || defined(BSD) || defined(ORBIS) || (__FreeBSD__ <= 12) + #include + #elif defined(__PS3__) + #include diff --git a/games/libretro-beetle_pcfx/pkg-descr b/games/libretro-mednafen_pcfx/pkg-descr similarity index 100% rename from games/libretro-beetle_pcfx/pkg-descr rename to games/libretro-mednafen_pcfx/pkg-descr