mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
meson: Install start-pulseaudio-x11 if x11 is found
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
ce16b373b2
commit
6b0bad4246
1 changed files with 13 additions and 0 deletions
|
|
@ -32,3 +32,16 @@ executable('pulseaudio',
|
|||
dependencies : [ltdl_dep, cap_dep, dbus_dep, systemd_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
|
||||
if x11_dep.found()
|
||||
conf = configuration_data()
|
||||
conf.set('PACTL_BINARY', join_paths(bindir, 'pactl'))
|
||||
|
||||
configure_file(
|
||||
input : 'start-pulseaudio-x11.in',
|
||||
output : 'start-pulseaudio-x11',
|
||||
configuration : conf,
|
||||
install : true,
|
||||
install_dir : bindir,
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue