mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 05:20:05 +01:00
src: move scripts to their own directory, install in $prefix/share/
This commit is contained in:
parent
9fa17e04b4
commit
e52bd4468d
10 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
../common/monitor-alsa.lua
|
||||
|
|
@ -1 +0,0 @@
|
|||
../common/monitor-bluez5.lua
|
||||
|
|
@ -1 +0,0 @@
|
|||
../common/monitor-v4l2.lua
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue