2019-11-22 07:11:15 +00:00
|
|
|
wlr_files += files(
|
|
|
|
'direct-ipc.c',
|
|
|
|
'noop.c',
|
|
|
|
'session.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
if host_machine.system().startswith('freebsd')
|
|
|
|
wlr_files += files('direct-freebsd.c')
|
|
|
|
else
|
|
|
|
wlr_files += files('direct.c')
|
|
|
|
endif
|
|
|
|
|
2020-07-25 19:53:06 +00:00
|
|
|
# libseat
|
|
|
|
|
2021-04-02 09:46:37 +00:00
|
|
|
libseat = dependency('libseat',
|
|
|
|
required: get_option('libseat'),
|
|
|
|
version: '>=0.2.0',
|
|
|
|
fallback: ['seatd', 'libseat'],
|
2021-04-09 20:12:51 +00:00
|
|
|
default_options: ['server=disabled', 'man-pages=disabled'],
|
2021-04-02 09:46:37 +00:00
|
|
|
)
|
2020-07-25 19:53:06 +00:00
|
|
|
if libseat.found()
|
|
|
|
wlr_files += files('libseat.c')
|
|
|
|
wlr_deps += libseat
|
2021-02-08 14:16:10 +00:00
|
|
|
features += { 'libseat': true }
|
2020-07-25 19:53:06 +00:00
|
|
|
endif
|