diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-12-18 06:31:09 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-12-31 20:39:49 +0000 |
commit | 66e2037c4970eb8b9a2d6bbb37cb0bae84074672 (patch) | |
tree | b1bf8bd64da4949b89c1d43292a1d346ba334e58 | |
parent | 96e6417aa10072254133b8dd96432db82ec859aa (diff) |
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.
-rw-r--r-- | emulators/citra-qt5/Makefile | 2 | ||||
-rw-r--r-- | emulators/citra/Makefile | 8 | ||||
-rw-r--r-- | emulators/citra/distinfo | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/emulators/citra-qt5/Makefile b/emulators/citra-qt5/Makefile index 7acb8727f8c8..c3ac5ab82c9c 100644 --- a/emulators/citra-qt5/Makefile +++ b/emulators/citra-qt5/Makefile @@ -1,4 +1,4 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -qt5 MASTERDIR= ${.CURDIR}/../citra diff --git a/emulators/citra/Makefile b/emulators/citra/Makefile index 81640316c2dd..4982654322aa 100644 --- a/emulators/citra/Makefile +++ b/emulators/citra/Makefile @@ -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> diff --git a/emulators/citra/distinfo b/emulators/citra/distinfo index f8681ab6d19c..7a9001a34a5b 100644 --- a/emulators/citra/distinfo +++ b/emulators/citra/distinfo @@ -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 |