mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-26 12:28:24 +02:00
23 lines
587 B
Meson
23 lines
587 B
Meson
wp_sources = [
|
|
'main.c',
|
|
]
|
|
|
|
wireplumber_config_file = join_paths(wireplumber_config_dir, 'wireplumber.conf')
|
|
|
|
install_subdir('config',
|
|
install_dir: wireplumber_config_dir,
|
|
strip_directory : true
|
|
)
|
|
|
|
executable('wireplumber',
|
|
wp_sources,
|
|
c_args : [
|
|
'-D_GNU_SOURCE',
|
|
'-DG_LOG_USE_STRUCTURED',
|
|
'-DG_LOG_DOMAIN="wireplumber"',
|
|
'-DWIREPLUMBER_DEFAULT_CONFIG_FILE="@0@"'.format(wireplumber_config_file),
|
|
'-DWIREPLUMBER_DEFAULT_CONFIG_DIR="@0@"'.format(wireplumber_config_dir),
|
|
],
|
|
install: true,
|
|
dependencies : [gobject_dep, gio_dep, wp_dep, pipewire_dep],
|
|
)
|