Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
cxfksword committed Sep 24, 2024
1 parent 77bc0ef commit e0a0342
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Sources/BuildScripts/XCFrameworkBuild/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ enum Library: String, CaseIterable {
case .libdovi:
return "3.3.0"
case .vulkan:
return "1.2.9"
return "1.2.9-fix"
case .libshaderc: // compiling GLSL (OpenGL Shading Language) shaders into SPIR-V (Standard Portable Intermediate Representation - Vulkan) code
return "2024.2.0"
case .libuchardet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ index e75cb228f8d99462ccecf7780098ea97ae7cfe02..afc17284773204563f4c90b4860758e6
#define VK_USE_PLATFORM_METAL_EXT
#endif
diff --git forkSrcPrefix/meson.build forkDstPrefix/meson.build
index 2c2246ba232a603d67e68dc14df51caf0faf2f9a..c516c42df77163aa9d525d56ccb82972b40d010c 100644
index b7bcb1b0badb21743f40f707d908092042de6db3..ebba7eeb7365b0e3cced1b3f2f23971101b0f66b 100644
--- forkSrcPrefix/meson.build
+++ forkDstPrefix/meson.build
@@ -1288,6 +1288,17 @@ if features['vulkan'] and features['x11']
@@ -1310,6 +1310,17 @@ if features['vulkan'] and features['x11']
sources += files('video/out/vulkan/context_xlib.c')
endif

Expand All @@ -156,18 +156,18 @@ index 2c2246ba232a603d67e68dc14df51caf0faf2f9a..c516c42df77163aa9d525d56ccb82972
+ endif
+endif
+
features += {'vk-khr-display': cc.has_function('vkCreateDisplayPlaneSurfaceKHR', prefix: '#include <vulkan/vulkan_core.h>',
features += {'vk-khr-display': vulkan.type_name() == 'internal' or
cc.has_function('vkCreateDisplayPlaneSurfaceKHR', prefix: '#include <vulkan/vulkan_core.h>',
dependencies: [vulkan])}
if features['vk-khr-display']
diff --git forkSrcPrefix/meson_options.txt forkDstPrefix/meson_options.txt
index e488f6ee881f89eb453916adf13846849b52d60b..e4ee27aab17d7bc9d4e39a29d6674dd09ffc46c7 100644
index c6e6337d68b3e1210513c767db79cc204f404000..55fc334edf27f4e495dbb75f6316ecaffc661a8c 100644
--- forkSrcPrefix/meson_options.txt
+++ forkDstPrefix/meson_options.txt
@@ -103,6 +103,7 @@ option('ios-gl', type: 'feature', value: 'auto', description: 'iOS OpenGL ES int
@@ -103,6 +103,7 @@ option('gl-dxinterop-d3d9', type: 'feature', value: 'auto', description: 'OpenGL
option('ios-gl', type: 'feature', value: 'auto', description: 'iOS OpenGL ES interop support')
option('videotoolbox-gl', type: 'feature', value: 'auto', description: 'Videotoolbox with OpenGL')
option('videotoolbox-pl', type: 'feature', value: 'auto', description: 'Videotoolbox with libplacebo')
option('vulkan-interop', type: 'feature', value: 'auto', description: 'Vulkan graphics interop')
+option('moltenvk', type: 'feature', value: 'auto', description: 'Moltenvk context')

# macOS features
option('macos-cocoa-cb', type: 'feature', value: 'auto', description: 'macOS libmpv backend')
option('macos-10-15-4-features', type: 'feature', value: 'auto', description: 'macOS 10.15.4 SDK Features')

0 comments on commit e0a0342

Please sign in to comment.