mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-27 11:54:32 +08: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
@ -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…
Reference in New Issue
Block a user