mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: meson.build: simplify get_variable() calls
Since 01c6fd0a88 the
minimum required meson version is 0.59.0, and since
meson 0.58.0, `get_variable()` on a dependency object
accepts a positional argument. The "type" of variable
(internal, pkgconfig, etc.) in that case does not need
to be specified explicitly.
This commit is contained in:
parent
e34cbcb92c
commit
ec465966bc
7 changed files with 15 additions and 15 deletions
|
|
@ -140,7 +140,7 @@ foreach a : test_apps
|
|||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir / 'audioconvert'),
|
||||
env : [
|
||||
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable(internal: 'plugindir')),
|
||||
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable('plugindir')),
|
||||
])
|
||||
|
||||
if installed_tests_enabled
|
||||
|
|
@ -170,7 +170,7 @@ foreach a : benchmark_apps
|
|||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir / 'audioconvert'),
|
||||
env : [
|
||||
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable(internal: 'plugindir')),
|
||||
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable('plugindir')),
|
||||
])
|
||||
|
||||
if installed_tests_enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue