2019-11-22 08:11:15 +01: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 21:53:06 +02:00
|
|
|
# libseat
|
|
|
|
|
2021-04-02 11:46:37 +02:00
|
|
|
libseat = dependency('libseat',
|
|
|
|
required: get_option('libseat'),
|
|
|
|
version: '>=0.2.0',
|
|
|
|
fallback: ['seatd', 'libseat'],
|
2021-04-09 22:12:51 +02:00
|
|
|
default_options: ['server=disabled', 'man-pages=disabled'],
|
2021-04-02 11:46:37 +02:00
|
|
|
)
|
2020-07-25 21:53:06 +02:00
|
|
|
if libseat.found()
|
|
|
|
wlr_files += files('libseat.c')
|
|
|
|
wlr_deps += libseat
|
2021-02-08 15:16:10 +01:00
|
|
|
features += { 'libseat': true }
|
2020-07-25 21:53:06 +02:00
|
|
|
endif
|