From nobody Sat Nov 23 00:27:19 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XwCTg6Wkpz5dbqP; Sat, 23 Nov 2024 00:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XwCTg5Xs0z4swd; Sat, 23 Nov 2024 00:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732321639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yfUP5mWKu3jInhviBiaUfRB4ljaabjtrVz/lnsB3BJE=; b=ExgO/9JYjNom/M6iJF98t9tR1tgfHtonfm7xMVgE7NGv3iNxhQ90ZZANOGAtppiHxxk+KL yMgDccCOGtUC4RVzpR2FYtkHg71YdelZolshgsKn8DjD26Jjw9Qsurly/hd8Ijv/5m+miC yO1odJ5mM0ir+mQtOTGyTfjcv5QSfiaNaC0NBY2cbin7kGOiCp19XwVCQ/yVHJzIt6P8ct f32DW1Vj9IiOU6UiiQsvggftohd6CFshxPEvshq+5Iqog1yUzVxP6JMTZrSVU1RZRx6hgR BxFGLgwLH79hMd2rSlU6XShGgYrJgq2zpqSXqLrSC4D916W3q4neB9ElPfSNsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732321639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yfUP5mWKu3jInhviBiaUfRB4ljaabjtrVz/lnsB3BJE=; b=Vs/4l59sX+ztcXiB27VbBG1xn9Rbm4hHnzOgVG/UMwvi3xxIANInsPgmgofBwEPjTx8SLL 3VInT2/ZbUhX+B26BsmywcLMguUu1sYlMKP82fRq4vGpf3+nu4aI9Hbfh2VTW/5BX/8ueH ijXaRHohlqwP4Zfoj8yViWIZTqdwA0n1rXIEiKI67+RfGUQ4UylZ4xAKU/g9v3Rcas6SnA CW2mBYxZYDlf0q1oGTZp04AMCW/PyiLJJf6HPmy7k2QL5ELlbMzOWm+ln2fwYs8H609e0k p27sqwjedGy7R1OHk/J8YbMrR9DvLAffHGSirbwALxR41DvMenGGwIfuRgQ7OQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732321639; a=rsa-sha256; cv=none; b=yNPptZLtjbCTZKRWPI1iAdSCcGiHTo/HEMpSb23c0708wGE2uHruqglt3EuYIVMEzj1M+J YFFnZJVkK9OvQ4jFA/QbGdZspmCJOpklPoI7ik4txN+lSTz3sqOAGmEWj4FKMeVvONCCFr xiTD2oNlvexifFm2jq32qF/5802tuDEPEh1JI0bKpBxqTB9e0VYxxo9J75pyqC2czKT7PX enmLUEAnRuyjx7+x/k2ggQE9N815yT/MfvF61vq3Ld2cXhnY+5xVbqOeyUVE+iGDMFDpTa HRYiM3bXbU4aC9tO9uRUYNfOKNDswGPGSsFW1l7Tq9Uyi0YZZ9Db9+5KnMrJwQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XwCTg58CMzmD9; Sat, 23 Nov 2024 00:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AN0RJOE023346; Sat, 23 Nov 2024 00:27:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AN0RJFP023343; Sat, 23 Nov 2024 00:27:19 GMT (envelope-from git) Date: Sat, 23 Nov 2024 00:27:19 GMT Message-Id: <202411230027.4AN0RJFP023343@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: bedd1e49ee99 - main - emulators/fbneo: New port: An emulator for arcade games and select consoles List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bedd1e49ee99a4a19384b9664b3d176c8ce42618 Auto-Submitted: auto-generated The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=bedd1e49ee99a4a19384b9664b3d176c8ce42618 commit bedd1e49ee99a4a19384b9664b3d176c8ce42618 Author: Jose Alonso Cardenas Marquez AuthorDate: 2024-11-23 00:26:15 +0000 Commit: Jose Alonso Cardenas Marquez 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 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: <