mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
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:
parent
38fdbcf7a7
commit
2c36fd3324
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user