1systemd_system_services_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir', pkgconfig_define : [ 'rootprefix', prefix])
2
3install_data(sources : 'pipewire.socket',
4             install_dir : systemd_system_services_dir)
5
6systemd_config = configuration_data()
7systemd_config.set('PW_BINARY', pipewire_bindir / 'pipewire')
8
9configure_file(input : 'pipewire.service.in',
10               output : 'pipewire.service',
11               configuration : systemd_config,
12               install_dir : systemd_system_services_dir)
13