Date: Fri, 31 Dec 2021 20:16:53 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8042b641840f - main - emulators/yuzu-qt5: fix Compatibility == Not Tested Message-ID: <202112312016.1BVKGrIK007294@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8042b641840f40072866f92328877baa65836b39 commit 8042b641840f40072866f92328877baa65836b39 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-12-31 19:52:03 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-12-31 20:13:24 +0000 emulators/yuzu-qt5: fix Compatibility == Not Tested yuzu embeds game compatibility list during build. It cannot be updated on demand unlike rpcs3. So, cache the list in local-distfiles. --- emulators/yuzu-qt5/Makefile | 2 +- emulators/yuzu/Makefile | 8 ++++++++ emulators/yuzu/distinfo | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/emulators/yuzu-qt5/Makefile b/emulators/yuzu-qt5/Makefile index 30c667b9c82a..e8c5a305c736 100644 --- a/emulators/yuzu-qt5/Makefile +++ b/emulators/yuzu-qt5/Makefile @@ -1,4 +1,4 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -qt5 MASTERDIR= ${.CURDIR}/../yuzu diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index 6a6b1586e8a0..60d2f8c45ad6 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -2,6 +2,10 @@ PORTNAME= yuzu PORTVERSION= s20211228 PORTREVISION?= 0 CATEGORIES= emulators +MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb \ + LOCAL/jbeich:gamedb +DISTFILES= ${PORTNAME}/compatibility_list.json:gamedb +EXTRACT_ONLY= ${DISTFILES:N*\:gamedb:C/\:.*//} PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 6904f055db88.patch:-p1 # https://github.com/yuzu-emu/yuzu/pull/6598 mainline-merge @@ -107,6 +111,10 @@ post-patch: -e 's/@GIT_DESC@/${GH_TAGNAME}/' \ ${WRKSRC}/src/common/scm_rev.cpp.in +post-configure: + @${CP} ${DISTFILES:M*\:gamedb:C/\:.*//:S,^,${_DISTDIR},} \ + ${BUILD_WRKSRC}/dist/compatibility_list/ + post-patch-VAAPI-off: @${REINPLACE_CMD} -i .nova '/pkg_check.*libva/d' \ ${WRKSRC}/CMakeLists.txt diff --git a/emulators/yuzu/distinfo b/emulators/yuzu/distinfo index d75944644222..e1bf18861dc1 100644 --- a/emulators/yuzu/distinfo +++ b/emulators/yuzu/distinfo @@ -1,4 +1,6 @@ TIMESTAMP = 1640737537 +SHA256 (yuzu/compatibility_list.json) = 0e601d6ad2ebc5b6ec9dd84bbafd0b93f24e5a1d727507dcb03e33b94a8ed8e6 +SIZE (yuzu/compatibility_list.json) = 1255231 SHA256 (yuzu-emu-yuzu-s20211228-279c7bcc1_GH0.tar.gz) = 98d32aef80cb808e682a7af1ddd075b9f6ce4f6c18fb88f4541a10b3ee774b37 SIZE (yuzu-emu-yuzu-s20211228-279c7bcc1_GH0.tar.gz) = 4470528 SHA256 (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 8cd6d075b4da0ad5fb995eb37390e2e6088be8d41ab1cdfc7e7e4256bd991450
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112312016.1BVKGrIK007294>