commit:     2c36fd3324a5c88d1cc6db39d09e1a5d4118deaf
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Jan  8 06:03:40 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 06:03:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c36fd33

games-emulation/yuzu: fix build with USE=-cubeb

Closes: https://bugs.gentoo.org/921566
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 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

Reply via email to