mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05: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
|
|
@ -507,11 +507,11 @@ devenv = environment()
|
|||
builddir = meson.project_build_root()
|
||||
srcdir = meson.project_source_root()
|
||||
|
||||
devenv.set('PIPEWIRE_CONFIG_DIR', pipewire_dep.get_variable(internal: 'confdatadir'))
|
||||
devenv.set('PIPEWIRE_MODULE_DIR', pipewire_dep.get_variable(internal: 'moduledir'))
|
||||
devenv.set('PIPEWIRE_CONFIG_DIR', pipewire_dep.get_variable('confdatadir'))
|
||||
devenv.set('PIPEWIRE_MODULE_DIR', pipewire_dep.get_variable('moduledir'))
|
||||
|
||||
devenv.set('SPA_PLUGIN_DIR', spa_dep.get_variable(internal: 'plugindir'))
|
||||
devenv.set('SPA_DATA_DIR', spa_dep.get_variable(internal: 'datadir'))
|
||||
devenv.set('SPA_PLUGIN_DIR', spa_dep.get_variable('plugindir'))
|
||||
devenv.set('SPA_DATA_DIR', spa_dep.get_variable('datadir'))
|
||||
|
||||
devenv.set('GST_PLUGIN_PATH', builddir / 'src'/ 'gst')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue