2020-02-29 11:05:46 -05:00
|
|
|
systemd_user_services_dir = systemd.get_pkgconfig_variable('systemduserunitdir', define_variable : [ 'prefix', prefix])
|
2017-08-17 18:59:03 +02:00
|
|
|
|
2017-08-17 19:01:11 +02:00
|
|
|
install_data(sources : 'pipewire.socket', install_dir : systemd_user_services_dir)
|
2017-08-17 18:59:03 +02:00
|
|
|
|
|
|
|
|
systemd_config = configuration_data()
|
2017-08-17 19:01:11 +02:00
|
|
|
systemd_config.set('PW_BINARY', join_paths(pipewire_bindir, 'pipewire'))
|
2017-08-17 18:59:03 +02:00
|
|
|
|
|
|
|
|
configure_file(input : 'pipewire.service.in',
|
|
|
|
|
output : 'pipewire.service',
|
|
|
|
|
configuration : systemd_config,
|
2017-08-17 19:01:11 +02:00
|
|
|
install_dir : systemd_user_services_dir)
|