Gentoo Archives: gentoo-commits

From: Samuel Bauer <samuel.bauer@×××××.fr>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/
Date: Fri, 09 Sep 2022 13:49:53
Message-Id: 1662731381.c927e2cc777459cc6295372c8b7b0ff9001ecd5c.samuel.bauer@gentoo
1 commit: c927e2cc777459cc6295372c8b7b0ff9001ecd5c
2 Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
3 AuthorDate: Fri Sep 9 13:43:17 2022 +0000
4 Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
5 CommitDate: Fri Sep 9 13:49:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c927e2cc
7
8 games-emulation/yuzu: update live ebuild
9
10 Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
11
12 games-emulation/yuzu/yuzu-9999.ebuild | 13 +++++++------
13 1 file changed, 7 insertions(+), 6 deletions(-)
14
15 diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild
16 index 0860eda94..7fdca80d6 100644
17 --- a/games-emulation/yuzu/yuzu-9999.ebuild
18 +++ b/games-emulation/yuzu/yuzu-9999.ebuild
19 @@ -49,7 +49,6 @@ DEPEND="${RDEPEND}
20 system-vulkan? ( >=dev-util/vulkan-headers-1.3.216 )
21 "
22 BDEPEND="
23 - test? ( <dev-cpp/catch-3:0 )
24 >=dev-cpp/nlohmann_json-3.8.0
25 dev-cpp/robin-map
26 dev-util/glslang
27 @@ -74,6 +73,10 @@ src_unpack() {
28 EGIT_SUBMODULES+=('Vulkan-Headers')
29 fi
30
31 + if use test; then
32 + EGIT_SUBMODULES+=('Catch2')
33 + fi
34 +
35 git-r3_src_unpack
36 # Do not fetch via sources because this file always changes
37 use compatibility-list && curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json
38 @@ -104,12 +107,10 @@ src_prepare() {
39
40 # Unbundle mbedtls: undefined reference to `mbedtls_cipher_cmac'
41 sed -i -e '/mbedtls/d' externals/CMakeLists.txt || die
42 + sed -i -e 's/mbedtls/& mbedcrypto mbedx509/'
43 sed -i -e 's/mbedtls/& mbedcrypto mbedx509/' \
44 - -e '1ifind_path(MBEDTLS_INCLUDE_DIR NAMES mbedtls/ssl.h)' \
45 - -e '1ifind_library(MBEDTLS_LIB NAMES mbedtls)' \
46 - -e '1ifind_library(MBEDX509_LIB NAMES mbedx509)' \
47 - -e '1ifind_library(MBEDCRYPTO_LIB NAMES mbedcrypto)' \
48 - src/core/CMakeLists.txt
49 + src/dedicated_room/CMakeLists.txt \
50 + src/core/CMakeLists.txt || die
51
52 # Workaround: GenerateSCMRev fails
53 sed -i -e "s/@GIT_BRANCH@/${EGIT_BRANCH:-master}/" \