treewide: meson.build: get SPA_PLUGIN_DIR from dependency

Instead of hard-coding the path relative to the project root,
retrieve the correct path from `spa_dep`.
This commit is contained in:
Barnabás Pőcze 2021-12-28 17:08:11 +01:00
parent 8ed46a283f
commit 26eb66fb5b
5 changed files with 6 additions and 6 deletions

View file

@ -511,7 +511,7 @@ if meson.version().version_compare('>=0.58.0')
devenv.set('PIPEWIRE_CONFIG_DIR', builddir / 'src' / 'daemon')
devenv.set('PIPEWIRE_MODULE_DIR', builddir / 'src' / 'modules')
devenv.set('SPA_PLUGIN_DIR', builddir / 'spa' / 'plugins')
devenv.set('SPA_PLUGIN_DIR', spa_dep.get_variable(internal: 'plugindir'))
devenv.set('SPA_DATA_DIR', srcdir / 'spa' / 'plugins')
devenv.set('GST_PLUGIN_PATH', builddir / 'src'/ 'gst')