Skip to content
Snippets Groups Projects
Commit e52bd446 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

src: move scripts to their own directory, install in $prefix/share/

parent 9fa17e04
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,12 @@ else
wireplumber_config_dir = join_paths(get_option('prefix'), get_option('sysconfdir'), 'wireplumber')
endif
if get_option('datadir').startswith('/')
wireplumber_data_dir = join_paths(get_option('datadir'), 'wireplumber')
else
wireplumber_data_dir = join_paths(get_option('prefix'), get_option('datadir'), 'wireplumber')
endif
if get_option('wrap_mode') == 'nodownload'
cpptoml_dep = dependency('cpptoml')
else
......
../common/monitor-alsa.lua
\ No newline at end of file
../common/monitor-bluez5.lua
\ No newline at end of file
../common/monitor-v4l2.lua
\ No newline at end of file
......@@ -8,6 +8,10 @@ install_subdir('config',
install_dir: wireplumber_config_dir,
strip_directory : true
)
install_subdir('scripts',
install_dir: wireplumber_data_dir,
strip_directory : false
)
executable('wireplumber',
wp_sources,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment