aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane D'Alu <sdalu@sdalu.com>2023-11-06 20:33:15 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-11-07 00:17:25 +0000
commit0d65836429eb54b9d8a13bfe415adbd14480b0fc (patch)
treef0bb9021471b00aa3549622b4f3b5c4738eceae8
parentf9b11c6a868e8932917780b920263582c85bf041 (diff)
downloadports-0d65836429eb54b9d8a13bfe415adbd14480b0fc.tar.gz
ports-0d65836429eb54b9d8a13bfe415adbd14480b0fc.zip
games/libretro-fbalpha: rename to games/libretro-fbalpha2012 + update to 0.20220327
PR: 274647
-rw-r--r--MOVED1
-rw-r--r--games/Makefile2
-rw-r--r--games/libretro-fbalpha/Makefile33
-rw-r--r--games/libretro-fbalpha/distinfo3
-rw-r--r--games/libretro-fbalpha/files/patch-Makefile.freebsd5
-rw-r--r--games/libretro-fbalpha/files/patch-src_burner_libretro_libretro-common_features_features__cpu.c20
-rw-r--r--games/libretro-fbalpha2012/Makefile35
-rw-r--r--games/libretro-fbalpha2012/distinfo3
-rw-r--r--games/libretro-fbalpha2012/pkg-descr (renamed from games/libretro-fbalpha/pkg-descr)0
9 files changed, 40 insertions, 62 deletions
diff --git a/MOVED b/MOVED
index 29f0405fb75f..9dc976f3021f 100644
--- a/MOVED
+++ b/MOVED
@@ -7971,3 +7971,4 @@ games/libretro-beetle_saturn|games/libretro-mednafen_saturn|2023-10-26|Follow na
games/libretro-beetle_supergrafx|games/libretro-mednafen_supergrafx|2023-10-26|Follow naming of libretro-super build script
games/libretro-beetle_vb|games/libretro-mednafen_vb|2023-10-26|Follow naming of libretro-super build script
games/libretro-beetle_wswan|games/libretro-mednafen_wswan|2023-10-26|Follow naming of libretro-super build script
+games/libretro-fbalpha|games/libretro-fbalpha2012|2023-10-26|Follow naming of libretro-super build script
diff --git a/games/Makefile b/games/Makefile
index 1c33ec565450..fd74a8b918c7 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -506,7 +506,7 @@
SUBDIR += libretro-desmume2015
SUBDIR += libretro-dosbox
SUBDIR += libretro-emux
- SUBDIR += libretro-fbalpha
+ SUBDIR += libretro-fbalpha2012
SUBDIR += libretro-fbneo
SUBDIR += libretro-fceumm
SUBDIR += libretro-fmsx
diff --git a/games/libretro-fbalpha/Makefile b/games/libretro-fbalpha/Makefile
deleted file mode 100644
index 897a3ac7bddb..000000000000
--- a/games/libretro-fbalpha/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-PORTNAME= libretro-fbalpha
-PORTVERSION= 0.20220405
-PORTREVISION= 1
-CATEGORIES= games
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Final Burn Alpha port for libretro
-WWW= https://github.com/libretro/libretro-fbalpha
-
-# Commercial users must seek permission from copyright holders.
-LICENSE= FBA
-LICENSE_NAME= FBA
-LICENSE_FILE= ${WRKSRC}/src/license.txt
-LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-
-USES= compiler:c++11-lib gmake gl
-USE_LDCONFIG= yes
-USE_GL= gl
-
-PLIST_FILES= lib/libretro/fbalpha_libretro.so
-
-USE_GITHUB= yes
-GH_ACCOUNT= libretro
-GH_PROJECT= fbalpha
-GH_TAGNAME= d584c83
-
-MAKEFILE= Makefile.freebsd
-
-do-install:
- ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
- ${INSTALL_LIB} ${WRKSRC}/fbalpha_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
-
-.include <bsd.port.mk>
diff --git a/games/libretro-fbalpha/distinfo b/games/libretro-fbalpha/distinfo
deleted file mode 100644
index cb87b9688934..000000000000
--- a/games/libretro-fbalpha/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1649324303
-SHA256 (libretro-fbalpha-0.20220405-d584c83_GH0.tar.gz) = 63eb0e998896b02222756866be94bee45793e9b9ac5c2d5da177a2bf6d8f42d1
-SIZE (libretro-fbalpha-0.20220405-d584c83_GH0.tar.gz) = 11634909
diff --git a/games/libretro-fbalpha/files/patch-Makefile.freebsd b/games/libretro-fbalpha/files/patch-Makefile.freebsd
deleted file mode 100644
index 0290a6d3be5a..000000000000
--- a/games/libretro-fbalpha/files/patch-Makefile.freebsd
+++ /dev/null
@@ -1,5 +0,0 @@
---- Makefile.freebsd.orig 2020-03-17 22:25:53 UTC
-+++ Makefile.freebsd
-@@ -0,0 +1,2 @@
-+all:
-+ $(foreach p,performance,${MAKE} -f makefile.libretro profile=$(p);)
diff --git a/games/libretro-fbalpha/files/patch-src_burner_libretro_libretro-common_features_features__cpu.c b/games/libretro-fbalpha/files/patch-src_burner_libretro_libretro-common_features_features__cpu.c
deleted file mode 100644
index 058376411e48..000000000000
--- a/games/libretro-fbalpha/files/patch-src_burner_libretro_libretro-common_features_features__cpu.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/burner/libretro/libretro-common/features/features_cpu.c.orig 2020-08-25 12:19:30 UTC
-+++ src/burner/libretro/libretro-common/features/features_cpu.c
-@@ -167,7 +167,7 @@ retro_perf_tick_t cpu_features_get_perf_counter(void)
- tv_sec = (long)((ularge.QuadPart - epoch) / 10000000L);
- tv_usec = (long)(system_time.wMilliseconds * 1000);
- time_ticks = (1000000 * tv_sec + tv_usec);
--#elif defined(__linux__) || defined(__QNX__) || defined(__MACH__)
-+#elif defined(_POSIX_MONOTONIC_CLOCK) || defined(__QNX__) || defined(ANDROID) || defined(__MACH__) || defined(__PSL1GHT__)
- struct timespec tv = {0};
- if (ra_clock_gettime(CLOCK_MONOTONIC, &tv) == 0)
- time_ticks = (retro_perf_tick_t)tv.tv_sec * 1000000000 +
-@@ -181,7 +181,7 @@ retro_perf_tick_t cpu_features_get_perf_counter(void)
- time_ticks = (retro_perf_tick_t)a | ((retro_perf_tick_t)d << 32);
- #elif defined(__ARM_ARCH_6__)
- __asm__ volatile( "mrc p15, 0, %0, c9, c13, 0" : "=r"(time_ticks) );
--#elif defined(__CELLOS_LV2__) || defined(_XBOX360) || defined(__powerpc__) || defined(__ppc__) || defined(__POWERPC__)
-+#elif defined(__CELLOS_LV2__) || defined(_XBOX360)
- time_ticks = __mftb();
- #elif defined(GEKKO)
- time_ticks = gettime();
diff --git a/games/libretro-fbalpha2012/Makefile b/games/libretro-fbalpha2012/Makefile
new file mode 100644
index 000000000000..f641acfd8fd4
--- /dev/null
+++ b/games/libretro-fbalpha2012/Makefile
@@ -0,0 +1,35 @@
+PORTNAME= libretro-fbalpha2012
+DISTVERSION= 0.20220327
+CATEGORIES= games
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Final Burn Alpha port for libretro
+WWW= https://github.com/libretro/fbalpha2012
+
+# Commercial users must seek permission from copyright holders.
+LICENSE= FBA
+LICENSE_NAME= FBA
+LICENSE_FILE= ${WRKSRC}/src/license.txt
+LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
+
+USES= compiler:c++11-lib gmake
+USE_LDCONFIG= yes
+
+PLIST_FILES= lib/libretro/fbalpha2012_libretro.so
+
+USE_GITHUB= yes
+GH_ACCOUNT= libretro
+GH_PROJECT= fbalpha2012
+GH_TAGNAME= 7f8860543a81ba79c0e1ce1aa219af44568c628a
+
+CXXFLAGS+= -Wno-c++11-narrowing
+
+WRKSRC_SUBDIR= svn-current/trunk
+MAKEFILE= makefile.libretro
+MAKE_ARGS= profile=performance
+
+do-install:
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
+ ${INSTALL_LIB} ${WRKSRC}/fbalpha2012_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro
+
+.include <bsd.port.mk>
diff --git a/games/libretro-fbalpha2012/distinfo b/games/libretro-fbalpha2012/distinfo
new file mode 100644
index 000000000000..eb4dea393f52
--- /dev/null
+++ b/games/libretro-fbalpha2012/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698314777
+SHA256 (libretro-fbalpha2012-0.20220327-7f8860543a81ba79c0e1ce1aa219af44568c628a_GH0.tar.gz) = 8de890151718424518b30bdef563a5922d1aa2442fd23a8453503cb7c42e65a7
+SIZE (libretro-fbalpha2012-0.20220327-7f8860543a81ba79c0e1ce1aa219af44568c628a_GH0.tar.gz) = 4895817
diff --git a/games/libretro-fbalpha/pkg-descr b/games/libretro-fbalpha2012/pkg-descr
index 493d0ef0fbbf..493d0ef0fbbf 100644
--- a/games/libretro-fbalpha/pkg-descr
+++ b/games/libretro-fbalpha2012/pkg-descr