commit: 10f9fe1390f5f25e2ef68f44021259b231cc4518
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 2 19:26:15 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 2 19:33:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f9fe13
games-emulation/pcsx2: update live
Newly attempts to pass options to bundled subprojects but errors
out due to being unbundled.
Thanks-to: Samuel Bauer
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-emulation/pcsx2/pcsx2-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index f5543f61bed1..bdd694c0a1c5 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -75,6 +75,7 @@ src_prepare() {
# unbundle, use sed over patch for less chances to break -9999
sed -e '/add_subdir.*cubeb/c\find_package(cubeb REQUIRED)' \
-e '/add_subdir.*libchdr/c\pkg_check_modules(chdr REQUIRED
IMPORTED_TARGET libchdr)' \
+ -e '/compile_options(\(cubeb\|chdr-static\|speex\)/d' \
-i cmake/SearchForStuff.cmake || die
sed -i 's/chdr-static/PkgConfig::chdr/' pcsx2/CMakeLists.txt || die