emulators/citra-qt5: fix Compatibility == Not Tested

citra-qt embeds game compatibility list during build. It cannot be
updated on demand unlike rpcs3. So, cache the list in local-distfiles.
This commit is contained in:
Jan Beich 2021-12-18 06:31:09 +00:00
parent 96e6417aa1
commit 66e2037c49
3 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,4 @@
PORTREVISION= 0
PORTREVISION= 1
PKGNAMESUFFIX= -qt5
MASTERDIR= ${.CURDIR}/../citra

View file

@ -2,6 +2,10 @@ PORTNAME= citra
PORTVERSION= s20211218
PORTREVISION?= 0
CATEGORIES= emulators
MASTER_SITES= https://api.citra-emu.org/gamedb/?dummy=/:gamedb \
LOCAL/jbeich:gamedb
DISTFILES= ${PORTNAME}/compatibility_list.json:gamedb
EXTRACT_ONLY= ${DISTFILES:N*\:gamedb:C/\:.*//}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Nintendo 3DS emulator/debugger
@ -89,4 +93,8 @@ 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/
.include <bsd.port.mk>

View file

@ -1,4 +1,6 @@
TIMESTAMP = 1639809069
SHA256 (citra/compatibility_list.json) = 42586174a9fa78723eb0cf9a8c42fa9969c1b1007f70b09909a49d41418e52a2
SIZE (citra/compatibility_list.json) = 327574
SHA256 (citra-emu-citra-s20211218-0126ecb3e_GH0.tar.gz) = 17f0a311d23ed81bdced0e2bdcfe617d2257e9a9f8cf442d2421e56d4b30f052
SIZE (citra-emu-citra-s20211218-0126ecb3e_GH0.tar.gz) = 5326925
SHA256 (citra-emu-ext-boost-36603a1_GH0.tar.gz) = a1885cf0f7b1c790f8a83e963fec591bad1232e6b824e64d8db136920ec1b67d