Date: Sat, 23 Nov 2024 00:27:19 GMT From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bedd1e49ee99 - main - emulators/fbneo: New port: An emulator for arcade games and select consoles Message-ID: <202411230027.4AN0RJFP023343@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=bedd1e49ee99a4a19384b9664b3d176c8ce42618 commit bedd1e49ee99a4a19384b9664b3d176c8ce42618 Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2024-11-23 00:26:15 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2024-11-23 00:26:15 +0000 emulators/fbneo: New port: An emulator for arcade games and select consoles This is the official repository of FinalBurn Neo, an Emulator for Arcade Games & Select Consoles. It is based on the emulators FinalBurn and old versions of MAME. FBNeo, or FinalBurn Neo, is a multi-system arcade emulator designed for retro gaming enthusiasts. It emulates a wide range of classic arcade games and consoles, such as Capcom CPS-1, CPS-2, CPS-3, Neo Geo, and Sega System 16, among others. FBNeo focuses on accurate emulation and high performance, supporting advanced features like netplay, rewinding, and shader effects. It's a continuation of the FinalBurn and FinalBurn Alpha projects, aiming to provide a comprehensive and user-friendly platform for preserving and enjoying vintage games on modern systems. --- emulators/Makefile | 1 + emulators/fbneo/Makefile | 40 ++++++++++++++++++++++ emulators/fbneo/distinfo | 3 ++ emulators/fbneo/files/patch-makefile.sdl2 | 14 ++++++++ emulators/fbneo/files/patch-src_burner_sdl_drv.cpp | 11 ++++++ emulators/fbneo/files/pkg-message.in | 25 ++++++++++++++ emulators/fbneo/pkg-descr | 12 +++++++ 7 files changed, 106 insertions(+) diff --git a/emulators/Makefile b/emulators/Makefile index a8cbfe618353..ce6f6bb811a4 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -33,6 +33,7 @@ SUBDIR += emu64 SUBDIR += emulationstation SUBDIR += es-de + SUBDIR += fbneo SUBDIR += fceux SUBDIR += flexemu SUBDIR += flycast diff --git a/emulators/fbneo/Makefile b/emulators/fbneo/Makefile new file mode 100644 index 000000000000..b9bf09c8b3ce --- /dev/null +++ b/emulators/fbneo/Makefile @@ -0,0 +1,40 @@ +PORTNAME= fbneo +DISTVERSION= 1.0.0.3.20241120 +CATEGORIES= emulators + +MAINTAINER= acm@FreeBSD.org +COMMENT= An emulator for arcade games and select consoles +WWW= https://github.com/finalburnneo/FBNeo + +LICENSE= FBNeo +LICENSE_NAME= FBNeo +LICENSE_FILE= ${WRKSRC}/src/license.txt +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +BUILD_DEPENDS= nasm>0:devel/nasm + +USES= compiler:c11 gl gmake sdl shebangfix + +USE_GITHUB= yes +GH_ACCOUNT= finalburnneo +GH_PROJECT= FBNeo +GH_TAGNAME= 60b73a1fd017d7d8af5a428e16be17e24847d3a2 + +USE_GL+= gl +USE_SDL= sdl2 image2 + +SHEBANG_GLOB= *.pl +PLIST_FILES= bin/fbneo \ + share/fbneo/gamelist.txt +PLIST_DIRS= share/fbneo + +MAKEFILE= makefile +ALL_TARGET= sdl2 +SUB_FILES= pkg-message + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/fbneo ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/gamelist.txt ${STAGEDIR}${DATADIR} + +.include <bsd.port.mk> diff --git a/emulators/fbneo/distinfo b/emulators/fbneo/distinfo new file mode 100644 index 000000000000..894fcbf1c39a --- /dev/null +++ b/emulators/fbneo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1732150958 +SHA256 (finalburnneo-FBNeo-1.0.0.3.20241120-60b73a1fd017d7d8af5a428e16be17e24847d3a2_GH0.tar.gz) = c5a92689da77aff002504ef631a9e81f40f8fea7cf33bfe5d84d27391ea59c17 +SIZE (finalburnneo-FBNeo-1.0.0.3.20241120-60b73a1fd017d7d8af5a428e16be17e24847d3a2_GH0.tar.gz) = 13794300 diff --git a/emulators/fbneo/files/patch-makefile.sdl2 b/emulators/fbneo/files/patch-makefile.sdl2 new file mode 100644 index 000000000000..4b1220c9863e --- /dev/null +++ b/emulators/fbneo/files/patch-makefile.sdl2 @@ -0,0 +1,14 @@ +--- makefile.sdl2.orig 2024-11-21 01:07:09 UTC ++++ makefile.sdl2 +@@ -170,9 +170,9 @@ ifdef DARWIN + # + + ifdef DARWIN +- CC = gcc ++ CC ?= gcc + else +- CC = gcc ++ CC ?= gcc + endif + + CXX = $(CC) diff --git a/emulators/fbneo/files/patch-src_burner_sdl_drv.cpp b/emulators/fbneo/files/patch-src_burner_sdl_drv.cpp new file mode 100644 index 000000000000..64edff022ed2 --- /dev/null +++ b/emulators/fbneo/files/patch-src_burner_sdl_drv.cpp @@ -0,0 +1,11 @@ +--- src/burner/sdl/drv.cpp.orig 2024-11-21 06:47:25 UTC ++++ src/burner/sdl/drv.cpp +@@ -3,7 +3,7 @@ int bDrvOkay = 0; // 1 if the Dr + #include "neocdlist.h" + int bDrvOkay = 0; // 1 if the Driver has been initted okay, and it's okay to use the BurnDrv functions + +-char szAppRomPaths[DIRS_MAX][MAX_PATH] = { { "/usr/local/share/roms/" }, { "roms/" }, }; ++char szAppRomPaths[DIRS_MAX][MAX_PATH] = { { "/usr/local/share/fbneo/roms/" }, { "roms/" }, }; + + static bool bSaveRAM = false; + diff --git a/emulators/fbneo/files/pkg-message.in b/emulators/fbneo/files/pkg-message.in new file mode 100644 index 000000000000..8d9481df3b9f --- /dev/null +++ b/emulators/fbneo/files/pkg-message.in @@ -0,0 +1,25 @@ +[ +{ type: install + message: <<EOM +The fbneo emulator was installed + +1) Run fbneo from command line + + # fbneo -menu + +2) First time, default config file will be generated at: + + ~/.local/share/fbneo/config/fbneo.ini + +3) Default rom paths are %%DATADIR%%/roms and roms directories. Change it from + config file + +4) You can do some in game configuration like "Mappings options" pressing key + "tab" + +5) Enjoy it ;) +EOM +} +] + + diff --git a/emulators/fbneo/pkg-descr b/emulators/fbneo/pkg-descr new file mode 100644 index 000000000000..facbe18b3bae --- /dev/null +++ b/emulators/fbneo/pkg-descr @@ -0,0 +1,12 @@ +This is the official repository of FinalBurn Neo, an Emulator for Arcade Games +& Select Consoles. It is based on the emulators FinalBurn and old versions of +MAME. + +FBNeo, or FinalBurn Neo, is a multi-system arcade emulator designed for retro +gaming enthusiasts. It emulates a wide range of classic arcade games and +consoles, such as Capcom CPS-1, CPS-2, CPS-3, Neo Geo, and Sega System 16, +among others. FBNeo focuses on accurate emulation and high performance, +supporting advanced features like netplay, rewinding, and shader effects. It's +a continuation of the FinalBurn and FinalBurn Alpha projects, aiming to provide +a comprehensive and user-friendly platform for preserving and enjoying vintage +games on modern systems.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411230027.4AN0RJFP023343>