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

Closes: https://bugs.gentoo.org/921566
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2024-01-08 15:03:40 +09:00
parent 38fdbcf7a7
commit 2c36fd3324
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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