2018-01-07 19:42:33 +00:00
|
|
|
threads = dependency('threads')
|
2018-03-30 21:26:58 +00:00
|
|
|
wayland_cursor = dependency('wayland-cursor')
|
2018-01-07 19:42:33 +00:00
|
|
|
|
2018-05-28 07:24:25 +00:00
|
|
|
libavutil = dependency('libavutil', required: false)
|
|
|
|
libavcodec = dependency('libavcodec', required: false)
|
|
|
|
libavformat = dependency('libavformat', required: false)
|
2018-05-27 03:03:29 +00:00
|
|
|
|
2018-04-16 22:42:10 +00:00
|
|
|
executable('simple', 'simple.c', dependencies: wlroots)
|
|
|
|
executable('pointer', 'pointer.c', dependencies: wlroots)
|
2018-04-29 21:32:07 +00:00
|
|
|
executable('touch', 'touch.c', 'cat.c', dependencies: wlroots)
|
2018-04-16 22:42:10 +00:00
|
|
|
executable('tablet', 'tablet.c', dependencies: wlroots)
|
2018-04-29 21:32:07 +00:00
|
|
|
executable('rotation', 'rotation.c', 'cat.c', dependencies: wlroots)
|
2018-04-16 22:42:10 +00:00
|
|
|
executable('multi-pointer', 'multi-pointer.c', dependencies: wlroots)
|
2018-04-29 21:32:07 +00:00
|
|
|
executable('output-layout', 'output-layout.c', 'cat.c', dependencies: wlroots)
|
2017-09-08 16:09:09 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'screenshot',
|
|
|
|
'screenshot.c',
|
2018-04-16 22:42:10 +00:00
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots]
|
2017-09-08 16:09:09 +00:00
|
|
|
)
|
2018-01-07 19:42:33 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'idle',
|
|
|
|
'idle.c',
|
2018-04-16 22:42:10 +00:00
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads]
|
2018-01-07 19:42:33 +00:00
|
|
|
)
|
2018-02-17 10:02:00 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'idle-inhibit',
|
|
|
|
'idle-inhibit.c',
|
2018-04-16 22:42:10 +00:00
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads]
|
2018-02-17 10:02:00 +00:00
|
|
|
)
|
2018-03-18 19:09:37 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'layer-shell',
|
|
|
|
'layer-shell.c',
|
2018-03-30 21:26:58 +00:00
|
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
2018-03-18 19:09:37 +00:00
|
|
|
)
|
2018-04-03 15:29:32 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'input-inhibitor',
|
|
|
|
'input-inhibitor.c',
|
|
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
|
|
|
)
|
2018-05-27 03:03:29 +00:00
|
|
|
|
2018-05-28 07:24:25 +00:00
|
|
|
if libavutil.found() and libavcodec.found() and libavformat.found()
|
|
|
|
executable(
|
|
|
|
'dmabuf-capture',
|
|
|
|
'dmabuf-capture.c',
|
2018-06-23 01:43:52 +00:00
|
|
|
dependencies: [wayland_client, wlr_protos, libavutil, libavcodec,
|
|
|
|
libavformat, wlroots, threads ]
|
2018-05-28 07:24:25 +00:00
|
|
|
)
|
|
|
|
endif
|