treewide: meson.build: get PIPEWIRE_{CONFIG,MODULE}_DIR from dependency

Instead of hard-coding the paths relative to the project root,
retrieve the correct paths from `pipewire_dep`.
This commit is contained in:
Barnabás Pőcze 2021-12-28 17:14:10 +01:00
parent 26eb66fb5b
commit 93b4fc59cf
3 changed files with 6 additions and 6 deletions

View file

@ -380,8 +380,8 @@ test('pw-test-protocol-native',
),
env : [
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable(internal: 'plugindir')),
'PIPEWIRE_CONFIG_DIR=@0@/src/daemon/'.format(meson.project_build_root()),
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.project_build_root())
'PIPEWIRE_CONFIG_DIR=@0@'.format(pipewire_dep.get_variable(internal: 'confdatadir')),
'PIPEWIRE_MODULE_DIR=@0@'.format(pipewire_dep.get_variable(internal: 'moduledir')),
]
)