mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
meson: avoid deprecated get_pkgconfig_variable
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
a8d7d2f732
commit
b0adc7a482
1 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ bashcompletiondir = get_option('bashcompletiondir')
|
||||||
if bashcompletiondir == ''
|
if bashcompletiondir == ''
|
||||||
bash_completion_dep = dependency('bash-completion', required : false)
|
bash_completion_dep = dependency('bash-completion', required : false)
|
||||||
if bash_completion_dep.found()
|
if bash_completion_dep.found()
|
||||||
bashcompletiondir = bash_completion_dep.get_pkgconfig_variable('completionsdir')
|
bashcompletiondir = bash_completion_dep.get_variable(pkgconfig : 'completionsdir')
|
||||||
else
|
else
|
||||||
bashcompletiondir = join_paths(datadir, 'bash-completion', 'completions')
|
bashcompletiondir = join_paths(datadir, 'bash-completion', 'completions')
|
||||||
endif
|
endif
|
||||||
|
|
@ -733,7 +733,7 @@ if get_option('daemon')
|
||||||
|
|
||||||
systemd_dep = dependency('systemd', required : get_option('systemd'))
|
systemd_dep = dependency('systemd', required : get_option('systemd'))
|
||||||
if systemd_dep.found() and systemduserunitdir == ''
|
if systemd_dep.found() and systemduserunitdir == ''
|
||||||
systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir')
|
systemduserunitdir = systemd_dep.get_variable(pkgconfig: 'systemduserunitdir')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libelogind_dep = dependency('libelogind', required : get_option('elogind'))
|
libelogind_dep = dependency('libelogind', required : get_option('elogind'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue