mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
meson: Install systemd user service
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
d717089218
commit
a054e088a3
1 changed files with 17 additions and 0 deletions
|
|
@ -134,3 +134,20 @@ if dbus_dep.found()
|
||||||
install_dir : join_paths(sysconfdir, 'dbus-1', 'system.d')
|
install_dir : join_paths(sysconfdir, 'dbus-1', 'system.d')
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if systemd_dep.found()
|
||||||
|
sd_user_service_conf = configuration_data()
|
||||||
|
sd_user_service_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
||||||
|
|
||||||
|
sd_user_service_file = configure_file(
|
||||||
|
input : 'systemd/user/pulseaudio.service.in',
|
||||||
|
output : 'pulseaudio.service',
|
||||||
|
configuration : sd_user_service_conf,
|
||||||
|
install : true,
|
||||||
|
install_dir : systemduserunitdir,
|
||||||
|
)
|
||||||
|
|
||||||
|
install_data('systemd/user/pulseaudio.socket',
|
||||||
|
install_dir: systemduserunitdir,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue