Attempt to fix sounds for nonstandard paths.
This commit is contained in:
@@ -1,7 +1,26 @@
|
||||
# Install sound theme files
|
||||
# Themes are installed to: {datadir}/cthulhu/sounds/{theme_name}/
|
||||
|
||||
install_subdir(
|
||||
'default',
|
||||
install_dir: get_option('datadir') / 'cthulhu' / 'sounds'
|
||||
# Use explicit install_data for better compatibility across Meson versions
|
||||
default_theme_sounds = files(
|
||||
'default/browse_mode.wav',
|
||||
'default/button.wav',
|
||||
'default/checkbox_checked.wav',
|
||||
'default/checkbox_mixed.wav',
|
||||
'default/checkbox_unchecked.wav',
|
||||
'default/combobox.wav',
|
||||
'default/focus_mode.wav',
|
||||
'default/radiobutton_checked.wav',
|
||||
'default/radiobutton_unchecked.wav',
|
||||
'default/start.wav',
|
||||
'default/stop.wav',
|
||||
'default/switch_off.wav',
|
||||
'default/switch_on.wav',
|
||||
'default/togglebutton_checked.wav',
|
||||
'default/togglebutton_unchecked.wav',
|
||||
)
|
||||
|
||||
install_data(
|
||||
default_theme_sounds,
|
||||
install_dir: get_option('datadir') / 'cthulhu' / 'sounds' / 'default'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user