mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
FreeBSD doesn't provide timerfd and eventfd functions. These are implemented in 3rd party library called epoll-shim. Link targets requiring these functions to this library.
38 lines
857 B
Meson
38 lines
857 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, epoll_shim_dep],
|
|
)
|
|
|
|
if get_option('systemd') and systemd.found()
|
|
subdir('systemd')
|
|
endif
|