Add option to save replay/recording to a folder with the name of the game

This commit is contained in:
dec05eba
2024-11-04 20:37:26 +01:00
parent 89512313b2
commit 26a9e750dc
11 changed files with 293 additions and 37 deletions

View File

@@ -57,8 +57,16 @@ executable(
cpp_args : '-DGSR_UI_RESOURCES_PATH="' + gsr_ui_resources_path + '"',
)
executable(
'gsr-window-name',
['gsr-window-name/main.c'],
install : true,
dependencies : [dependency('x11')],
)
install_subdir('images', install_dir : gsr_ui_resources_path)
install_subdir('fonts', install_dir : gsr_ui_resources_path)
install_subdir('scripts', install_dir : gsr_ui_resources_path, install_mode : 'rwxr-xr-x')
if get_option('systemd') == true
install_data(files('extra/gpu-screen-recorder-ui.service'), install_dir : 'lib/systemd/user')