diff --git a/emulators/Makefile b/emulators/Makefile index a8cbfe618353..ce6f6bb811a4 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -1,194 +1,195 @@ COMMENT = Emulators for other operating systems SUBDIR += 86Box SUBDIR += adamem SUBDIR += almostti SUBDIR += anese SUBDIR += aqemu SUBDIR += aranym SUBDIR += ares SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += cannonball SUBDIR += catapult SUBDIR += cemu SUBDIR += cingb SUBDIR += citra SUBDIR += citra-qt5 SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += dosbox-staging SUBDIR += dosbox-x SUBDIR += dps8m SUBDIR += duckstation SUBDIR += dynamips-community SUBDIR += edumips64 SUBDIR += elliott-803 SUBDIR += emu64 SUBDIR += emulationstation SUBDIR += es-de + SUBDIR += fbneo SUBDIR += fceux SUBDIR += flexemu SUBDIR += flycast SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe SUBDIR += gens SUBDIR += gngb SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hv_kvp_cmd SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += klh10 SUBDIR += lib765 SUBDIR += libc6-shim SUBDIR += libdsk SUBDIR += libretro-bsnes SUBDIR += libretro-flycast SUBDIR += libretro-kronos SUBDIR += libretro-mame SUBDIR += libretro-pcsx2 SUBDIR += libretro-ppsspp SUBDIR += libretro-reicast SUBDIR += libretro-vice SUBDIR += libspectrum SUBDIR += linux-c7 SUBDIR += linux-power10-functional-sim SUBDIR += linux-power9-functional-sim SUBDIR += linux-rl9 SUBDIR += linux_base-c7 SUBDIR += linux_base-rl9 SUBDIR += magia SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mesen SUBDIR += mgba SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-qt SUBDIR += mupen64plus-rsp-cxd4 SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nemu SUBDIR += nestopia SUBDIR += o2em SUBDIR += ods2reader SUBDIR += open-simh SUBDIR += open-vm-tools SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcem SUBDIR += pcemu SUBDIR += pcsx2 SUBDIR += playonbsd SUBDIR += ppsspp SUBDIR += ppsspp-qt5 SUBDIR += py-gns3-converter SUBDIR += py-m64py SUBDIR += py-unicorn SUBDIR += qemu SUBDIR += qemu-cheri SUBDIR += qemu-devel SUBDIR += qemu-powernv SUBDIR += qemu-user-static SUBDIR += qemu-user-static-devel SUBDIR += qemu8 SUBDIR += qmc2 SUBDIR += quasi88 SUBDIR += reicast SUBDIR += ripes SUBDIR += riscv-isa-sim SUBDIR += rpcs3 SUBDIR += rubygem-fission SUBDIR += sameboy SUBDIR += simh SUBDIR += simh-hp2100 SUBDIR += simh-hp3000 SUBDIR += simh-hpdoc SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += teo SUBDIR += tic-80 SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tnylpo SUBDIR += tpm-emulator SUBDIR += uae SUBDIR += ucon64 SUBDIR += uconvert SUBDIR += ukncbtl SUBDIR += unicorn SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-additions-legacy SUBDIR += virtualbox-ose-additions-nox11 SUBDIR += virtualbox-ose-additions-nox11-legacy SUBDIR += virtualbox-ose-kmod SUBDIR += virtualbox-ose-kmod-legacy SUBDIR += virtualbox-ose-legacy SUBDIR += virtualbox-ose-nox11 SUBDIR += virtualbox-ose-nox11-legacy SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vt100 SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += wine-proton SUBDIR += winetricks SUBDIR += x16-emulator SUBDIR += x16-rom SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yaze-ag SUBDIR += yuzu SUBDIR += z80pack SUBDIR += zsnes .include 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 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: <