From 34802090c7bf5d6ee9daf0e8323157ab8ef02e19 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 7 Mar 2024 03:00:15 +0100 Subject: [PATCH] emulators/yuzu: don't phone home - Redirect in-app help to Wayback Machine - Disable endpoint for telemetry, multiplayer lobby/announce --- emulators/yuzu/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index a8544de458ae..a1972ffe3aca 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -1,5 +1,6 @@ PORTNAME= yuzu PORTVERSION= s20240301 +PORTREVISION= 1 CATEGORIES= emulators wayland .if make(makesum) MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb @@ -144,6 +145,13 @@ post-patch: @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1,ConsoleKit,' \ ${WRKSRC}/src/${PORTNAME}/main.cpp +.ifdef DEPRECATED + @${GREP} -Flr 'yuzu-emu' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e 's,${WWW:S,/$,,},https://web.archive.org/web/20240304190805/&,g' \ + -e 's,https://api.yuzu-emu.org,,g' \ + -e 's,https://profile.yuzu-emu.org/,,g' \ + -e 's,\(https://github.com\)/\(yuzu-emu\),\1/${GH_ACCOUNT},g' +.endif post-patch-VAAPI-off: @${REINPLACE_CMD} -i .nova '/pkg_check.*libva/d' \