pipewire/src/daemon/systemd/user/meson.build

15 lines
548 B
Meson
Raw Normal View History

2017-08-17 19:01:11 +02:00
systemd = dependency('systemd', required: true)
if systemd.found()
systemd_user_services_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
endif
2017-08-17 19:01:11 +02:00
install_data(sources : 'pipewire.socket', install_dir : systemd_user_services_dir)
systemd_config = configuration_data()
2017-08-17 19:01:11 +02:00
systemd_config.set('PW_BINARY', join_paths(pipewire_bindir, 'pipewire'))
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)