pipewire/src/daemon/meson.build
Wim Taymans ac24743b2e the epoll shim should only be used by the system library.
All other places should use the system library to get the right
fds.
2019-11-19 15:16:18 +01:00

38 lines
843 B
Meson

pipewire_daemon_sources = [
'command.c',
'daemon-config.c',
'main.c',
]
pipewire_daemon_headers = [
'command.h',
'daemon-config.h',
]
pipewire_c_args = [
'-DHAVE_CONFIG_H',
'-D_GNU_SOURCE',
'-DG_LOG_DOMAIN=g_log_domain_pipewire',
]
conf_config = configuration_data()
conf_config.set('VERSION', '"@0@"'.format(pipewire_version))
conf_install_dir = join_paths(get_option('sysconfdir'), 'pipewire')
configure_file(input : 'pipewire.conf.in',
output : 'pipewire.conf',
configuration : conf_config,
install_dir : conf_install_dir)
executable('pipewire',
pipewire_daemon_sources,
install: true,
c_args : pipewire_c_args,
include_directories : [configinc, spa_inc],
dependencies : [pipewire_dep, ],
)
if get_option('systemd') and systemd.found()
subdir('systemd')
endif