From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B1551382C5 for ; Sun, 30 May 2021 19:06:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7BD0E0814; Sun, 30 May 2021 19:06:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9E64E0814 for ; Sun, 30 May 2021 19:06:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEF91335CA3 for ; Sun, 30 May 2021 19:06:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51D7B59C for ; Sun, 30 May 2021 19:06:39 +0000 (UTC) From: "Samuel Bauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Samuel Bauer" Message-ID: <1622401591.89af8ce70562259d66541cf44d7c08c68ada3758.samuel.bauer@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-emulation/yuzu/yuzu-9999.ebuild X-VCS-Directories: games-emulation/yuzu/ X-VCS-Committer: samuel.bauer X-VCS-Committer-Name: Samuel Bauer X-VCS-Revision: 89af8ce70562259d66541cf44d7c08c68ada3758 X-VCS-Branch: dev Date: Sun, 30 May 2021 19:06:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af20170d-194c-46b9-b97f-9600fe718586 X-Archives-Hash: c22d29e908d0a784d66cb74c418c67c1 commit: 89af8ce70562259d66541cf44d7c08c68ada3758 Author: Samuel Bauer yahoo fr> AuthorDate: Sun May 30 19:02:45 2021 +0000 Commit: Samuel Bauer yahoo fr> CommitDate: Sun May 30 19:06:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89af8ce7 games-emulation/yuzu: enable compatibility list support Signed-off-by: Samuel Bauer yahoo.fr> games-emulation/yuzu/yuzu-9999.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild index 2942877d6..ce3240a30 100644 --- a/games-emulation/yuzu/yuzu-9999.ebuild +++ b/games-emulation/yuzu/yuzu-9999.ebuild @@ -54,8 +54,12 @@ pkg_setup() { fi } -# May fetch this file from src_unpack to provide compatibility list support -# curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json +src_unpack() { + git-r3_src_unpack + + # Do not fetch via sources because this file always changes + curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json +} src_prepare() { # Set yuzu dev flags @@ -112,10 +116,9 @@ src_configure() { -DYUZU_ALLOW_SYSTEM_SDL2=$(usex sdl) -DYUZU_ENABLE_BOXCAT=$(usex boxcat) -DYUZU_USE_QT_WEB_ENGINE=$(usex webengine) - -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF ) cmake_src_configure - ## This would be better in src_unpack but it would be unlinked - #mv "${S}"/compatibility_list.json "${BUILD_DIR}"/dist/compatibility_list/ || die + # This would be better in src_unpack but it would be unlinked + mv "${S}"/compatibility_list.json "${BUILD_DIR}"/dist/compatibility_list/ || die }