|
|
@ -1,9 +1,9 @@
|
|
|
|
threads = dependency('threads')
|
|
|
|
threads = dependency('threads')
|
|
|
|
wayland_cursor = dependency('wayland-cursor')
|
|
|
|
wayland_cursor = dependency('wayland-cursor')
|
|
|
|
|
|
|
|
|
|
|
|
libavutil = dependency('libavutil')
|
|
|
|
libavutil = dependency('libavutil', required: false)
|
|
|
|
libavcodec = dependency('libavcodec')
|
|
|
|
libavcodec = dependency('libavcodec', required: false)
|
|
|
|
libavformat = dependency('libavformat')
|
|
|
|
libavformat = dependency('libavformat', required: false)
|
|
|
|
|
|
|
|
|
|
|
|
executable('simple', 'simple.c', dependencies: wlroots)
|
|
|
|
executable('simple', 'simple.c', dependencies: wlroots)
|
|
|
|
executable('pointer', 'pointer.c', dependencies: wlroots)
|
|
|
|
executable('pointer', 'pointer.c', dependencies: wlroots)
|
|
|
@ -43,8 +43,10 @@ executable(
|
|
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
|
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if libavutil.found() and libavcodec.found() and libavformat.found()
|
|
|
|
executable(
|
|
|
|
executable(
|
|
|
|
'dmabuf-capture',
|
|
|
|
'dmabuf-capture',
|
|
|
|
'dmabuf-capture.c',
|
|
|
|
'dmabuf-capture.c',
|
|
|
|
dependencies: [wayland_client, wlr_protos, libavutil, libavcodec, libavformat]
|
|
|
|
dependencies: [wayland_client, wlr_protos, libavutil, libavcodec, libavformat]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
endif
|
|
|
|