git: 4021b373abaa - main - emulators/yuzu: unbreak fetch via Codeberg mirror

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 May 2024 16:25:24 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4021b373abaa323119f1d817e329350c9292a2c9

commit 4021b373abaa323119f1d817e329350c9292a2c9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-04 15:18:58 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-04 16:22:28 +0000

    emulators/yuzu: unbreak fetch via Codeberg mirror
    
    fetch: https://codeload.github.com/yuzu-mirror/yuzu/tar.gz/15e6e48bef?dummy=/yuzu-mirror-yuzu-s20240301-15e6e48bef_GH0.tar.gz: Not Found
---
 emulators/yuzu/Makefile | 5 ++++-
 emulators/yuzu/distinfo | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index ab74cf1c3291..c7fa47dd6319 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -7,7 +7,9 @@ MASTER_SITES=	https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
 .else
 MASTER_SITES=	LOCAL/jbeich:gamedb
 .endif
+MASTER_SITES+=	https://codeberg.org/TxzK/${PORTNAME}/archive/${GH_TAGNAME}${EXTRACT_SUFX}?dummy=/
 DISTFILES=	${PORTNAME}-s20230424/compatibility_list.json:gamedb
+DISTFILES+=	${DISTNAME}${EXTRACT_SUFX}
 EXTRACT_ONLY=	${DISTFILES:N*\:gamedb:C/\:.*//}
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -48,7 +50,7 @@ qt5_OPTIONS_SLAVE=	QT5
 qt5_OPTIONS_EXCLUDE=	QT6
 qt6_CONFLICTS_INSTALL=	${PORTNAME}-qt5
 
-USE_GITHUB=	yes
+USE_GITHUB=	nodefault
 GH_ACCOUNT=	yuzu-mirror
 GH_TAGNAME=	15e6e48bef
 GH_TUPLE=	yuzu-mirror:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \
@@ -66,6 +68,7 @@ GH_TUPLE=	yuzu-mirror:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \
 
 USES=		cmake:testing elfctl localbase:ldflags pkgconfig sdl ssl
 USE_SDL=	sdl2
+WRKSRC=		${WRKDIR}/${PORTNAME}
 CMAKE_ON=	Boost_USE_STATIC_LIBS
 CMAKE_ON+=	BUNDLE_SPEEX # only used by cubeb tests
 CMAKE_ON+=	CMAKE_DISABLE_FIND_PACKAGE_LLVM # only need Demangle but llvm* is huge
diff --git a/emulators/yuzu/distinfo b/emulators/yuzu/distinfo
index e509d176e906..396114682318 100644
--- a/emulators/yuzu/distinfo
+++ b/emulators/yuzu/distinfo
@@ -1,8 +1,8 @@
 TIMESTAMP = 1709737254
 SHA256 (yuzu-s20230424/compatibility_list.json) = 382db629d6b060af722a27dfa9cd6bb60ac16a7544c58322f63aa1be4c0c0fac
 SIZE (yuzu-s20230424/compatibility_list.json) = 1801327
-SHA256 (yuzu-mirror-yuzu-s20240301-15e6e48bef_GH0.tar.gz) = 546214c192db690a630308792b5acacf3c620c5df4779ca6509f87da510cf70d
-SIZE (yuzu-mirror-yuzu-s20240301-15e6e48bef_GH0.tar.gz) = 7132866
+SHA256 (yuzu-s20240301.tar.gz) = 1f343ccf09bf53513655be968749ec5aca72d33e1825b6c262979e405a06d2a1
+SIZE (yuzu-s20240301.tar.gz) = 7124470
 SHA256 (yuzu-mirror-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 8cd6d075b4da0ad5fb995eb37390e2e6088be8d41ab1cdfc7e7e4256bd991450
 SIZE (yuzu-mirror-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 2679189
 SHA256 (yuzu-mirror-sirit-ab75463_GH0.tar.gz) = 6b61e265be182b7a78075fc1b98ccf80fd33008343205dd0e22a10a439c45319