From 2c36fd3324a5c88d1cc6db39d09e1a5d4118deaf Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Mon, 8 Jan 2024 15:03:40 +0900 Subject: [PATCH] games-emulation/yuzu: fix build with USE=-cubeb Closes: https://bugs.gentoo.org/921566 Signed-off-by: Takuya Wakazono --- games-emulation/yuzu/yuzu-0_p20230202.ebuild | 5 +---- games-emulation/yuzu/yuzu-9999.ebuild | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/games-emulation/yuzu/yuzu-0_p20230202.ebuild b/games-emulation/yuzu/yuzu-0_p20230202.ebuild index 0a33404db4..90270e6114 100644 --- a/games-emulation/yuzu/yuzu-0_p20230202.ebuild +++ b/games-emulation/yuzu/yuzu-0_p20230202.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -92,9 +92,6 @@ src_prepare() { # Allow skip submodule downloading rm .gitmodules || die - # Unbundle cubeb - use cubeb && sed -i '$afind_package(Threads REQUIRED)' CMakeLists.txt || die - if ! use discord; then sed -i -e '/^if.*discord-rpc/,/^endif()/d' externals/CMakeLists.txt || die else diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild index b562223aa9..e6f42589a9 100644 --- a/games-emulation/yuzu/yuzu-9999.ebuild +++ b/games-emulation/yuzu/yuzu-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -117,7 +117,6 @@ src_prepare() { fi # Unbundle cubeb - use cubeb && sed -i '$afind_package(Threads REQUIRED)' CMakeLists.txt || die sed -i '/^if.*cubeb/,/^endif()/d' externals/CMakeLists.txt || die # Unbundle cpp-httplib