Eric Engestrom
2025-07-24 13:00:38 +02:00
committed by Marge Bot
parent 45789ac396
commit 56c910aafc
2 changed files with 13 additions and 3 deletions
@@ -3,7 +3,7 @@
"layer" : {
"name": "VK_LAYER_MESA_screenshot",
"type": "GLOBAL",
"library_path": "libVkLayer_MESA_screenshot.so",
"library_path": "@library_path@",
"api_version": "1.4.303",
"implementation_version": "1",
"description": "Mesa Screenshot layer"
+12 -2
View File
@@ -34,12 +34,22 @@ vklayer_mesa_screenshot = shared_library(
install : true
)
install_data(
files('VkLayer_MESA_screenshot.json'),
configure_file(
configuration : {'library_path' : 'libVkLayer_MESA_screenshot.so'},
input : 'VkLayer_MESA_screenshot.json.in',
output : '@BASENAME@',
install : true,
install_dir : join_paths(get_option('datadir'), 'vulkan', 'explicit_layer.d'),
install_tag : 'runtime',
)
configure_file(
configuration : {'library_path' : vklayer_mesa_screenshot.full_path()},
input : 'VkLayer_MESA_screenshot.json.in',
output : '@PLAINNAME@_dev.json',
)
devenv.append('VK_ADD_LAYER_PATH', meson.current_build_dir())
install_data(
'mesa-screenshot-control.py',
install_dir : get_option('bindir'),