1 |
commit: 004c8a95c3a793c888018109818c545481ce4d0f |
2 |
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> |
3 |
AuthorDate: Mon Jan 30 10:37:05 2023 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Mon Jan 30 10:37:05 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=004c8a95 |
7 |
|
8 |
games-emulation/flycast: updates |
9 |
|
10 |
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr> |
11 |
|
12 |
games-emulation/flycast/flycast-9999.ebuild | 6 +----- |
13 |
1 file changed, 1 insertion(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/flycast/flycast-9999.ebuild b/games-emulation/flycast/flycast-9999.ebuild |
16 |
index eefcdbb67..f5235a1cc 100644 |
17 |
--- a/games-emulation/flycast/flycast-9999.ebuild |
18 |
+++ b/games-emulation/flycast/flycast-9999.ebuild |
19 |
@@ -32,7 +32,7 @@ DEPEND=" |
20 |
openmp? ( sys-devel/gcc:*[openmp] ) |
21 |
pulseaudio? ( media-sound/pulseaudio ) |
22 |
vulkan? ( |
23 |
- dev-util/glslang |
24 |
+ >=dev-util/glslang-1.3.231 |
25 |
dev-util/spirv-headers |
26 |
) |
27 |
" |
28 |
@@ -67,7 +67,6 @@ src_prepare() { |
29 |
sed -i -e '/add_subdirectory(core\/deps\/glslang/{N;s/.*/find_library(GLSLANG libglslang.so)\nfind_library(SPIRV libSPIRV.so)\ntarget_link_libraries(${PROJECT_NAME} PRIVATE ${GLSLANG} ${SPIRV})/}' CMakeLists.txt || die |
30 |
sed -i -e '/include.*SPIRV/{s:":<glslang/:;s/"/>/}' core/rend/vulkan/shaders.h \ |
31 |
core/rend/vulkan/compiler.cpp || die |
32 |
- sed -i -e '/maxMeshViewCountNV/a1,' core/rend/vulkan/compiler.cpp || die |
33 |
|
34 |
# Unbundle xxHash |
35 |
sed -i -e '/XXHASH_BUILD_XXHSUM/{N;N;s/.*/target_link_libraries(${PROJECT_NAME} PRIVATE xxhash)/}' CMakeLists.txt || die |
36 |
@@ -84,9 +83,6 @@ src_prepare() { |
37 |
# Vulkan-header |
38 |
sed -i -e '/add_subdirectory(core.*Vulkan-Headers)$/,/Vulkan::Headers/d' \ |
39 |
-e '/core\/deps\/Vulkan-Headers\/include)/d' CMakeLists.txt |
40 |
- # local fix for < 1.3.224 |
41 |
- sed -i -e '/^1,$/d' core/rend/vulkan/compiler.cpp |
42 |
- sed -i -e '/swapchainExtent = /{s/= /&static_cast<VkExtent2D>(/;s/;/);/}' core/rend/vulkan/vulkan_context.cpp |
43 |
|
44 |
# Do not use ccache |
45 |
sed -i -e '/find_program(CCACHE_PROGRAM ccache)/d' CMakeLists.txt |