git: 32f43bbcf265 - main - emulators/ares: Switch to upstream release archive

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 11 Jul 2025 02:25:20 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32f43bbcf2651c54458af8aba467e0d2fc5a321b

commit 32f43bbcf2651c54458af8aba467e0d2fc5a321b
Author:     Stefan Schlosser <bsdcode@disroot.org>
AuthorDate: 2025-07-11 02:23:51 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-07-11 02:23:51 +0000

    emulators/ares: Switch to upstream release archive
    
    Upstream provides a release archive now, which guarantees stable
    checksums for the distfile and is the recommended way to retrieve the
    distfile by the Porter's Handbook.
    
    PR:     288137
---
 emulators/ares/Makefile | 7 +++++--
 emulators/ares/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/emulators/ares/Makefile b/emulators/ares/Makefile
index f7df988145a6..d2e59fa9646a 100644
--- a/emulators/ares/Makefile
+++ b/emulators/ares/Makefile
@@ -1,7 +1,10 @@
 PORTNAME=	ares
 DISTVERSIONPREFIX=	v
 DISTVERSION=	145
+PORTREVISION=	1
 CATEGORIES=	emulators
+MASTER_SITES=	https://github.com/${PORTNAME}-emulator/${PORTNAME}/releases/download/${DISTVERSIONFULL}/
+DISTNAME=	${PORTNAME}-source
 
 MAINTAINER=	bsdcode@disroot.org
 COMMENT=	Multi-system emulator
@@ -13,8 +16,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	librashader>0:devel/librashader
 
 USES=		cmake compiler:c++17-lang gl gnome pkgconfig xorg
-USE_GITHUB=	yes
-GH_ACCOUNT=	ares-emulator
 USE_GL=		opengl
 USE_GNOME=	gtk30
 USE_XORG=	x11 xext xrandr xrender
@@ -31,6 +32,8 @@ CMAKE_OFF=	ARES_BUILD_LOCAL \
 EXTRACT_AFTER_ARGS=	--exclude thirdparty/librashader \
 			--no-same-owner --no-same-permissions
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
+
 OPTIONS_DEFINE=			CHD SDL TOOLS
 OPTIONS_DEFAULT=		A26 ALSA AO CHD CV FC GB GBA LIBRASHADER \
 				LIBRETRO LTO MD MS MSX MYVISION N64 NG NGP \
diff --git a/emulators/ares/distinfo b/emulators/ares/distinfo
index 7cdcfa78a9f9..6d6b5f6a7b60 100644
--- a/emulators/ares/distinfo
+++ b/emulators/ares/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752083430
-SHA256 (ares-emulator-ares-v145_GH0.tar.gz) = ca846a3acc80ebb499cc92cf80213e5b5f3289da76ebcf6881767f10c0826dfb
-SIZE (ares-emulator-ares-v145_GH0.tar.gz) = 8966405
+TIMESTAMP = 1752185303
+SHA256 (ares-source.tar.gz) = 7a76acf87cca2903552683347fdf6f1cd06f436fa4e0c247108688785cbbd14b
+SIZE (ares-source.tar.gz) = 8967048