commit: c8247708a2521c325b84d7bb0e265058427762e8
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Sat Jun 24 12:05:57 2023 +0000
Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Sat Jun 24 12:05:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8247708
games-emulation/flycast: update vulkan unbundling
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
games-emulation/flycast/flycast-9999.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/games-emulation/flycast/flycast-9999.ebuild
b/games-emulation/flycast/flycast-9999.ebuild
index a77d24c1c..25e3b4ba5 100644
--- a/games-emulation/flycast/flycast-9999.ebuild
+++ b/games-emulation/flycast/flycast-9999.ebuild
@@ -88,6 +88,10 @@ src_prepare() {
# Vulkan-header
sed -i -e
'/add_subdirectory(core.*Vulkan-Headers)$/,/Vulkan::Headers/d' \
-e '/core\/deps\/Vulkan-Headers\/include)/d' CMakeLists.txt
+ sed -i -e 's:SPIRV/GlslangToSpv.h:glslang/&:'
core/rend/vulkan/compiler.cpp
+ if use vulkan; then
+ sed -i -e '$atarget_link_libraries(${PROJECT_NAME} PRIVATE
glslang-default-resource-limits)' CMakeLists.txt
+ fi
# Do not use ccache
sed -i -e '/find_program(CCACHE_PROGRAM ccache)/d' CMakeLists.txt