2 wl_client_dep = dependency('wayland-client', version: wl_req, required: get_option('wayland'))
3 libdrm_dep = dependency('libdrm', version: '>= 2.4.55', required: get_option('wayland'))
4 wl_protocol_dep = dependency('wayland-protocols', version: wl_req, required: get_option('wayland'))
5 wl_scanner = find_program('wayland-scanner', required: get_option('wayland'))
6 # Also used in ext/wayland
7 use_wayland = wl_protocol_dep.found() and wl_client_dep.found() and wl_scanner.found() and libdrm_dep.found()
10 gstwayland = library('gstwayland-' + api_version,
12 c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
13 include_directories : [configinc, libsinc],
15 soversion : soversion,
16 darwin_versions : osxversion,
18 dependencies : [gst_dep, gstvideo_dep]
21 gstwayland_dep = declare_dependency(link_with : gstwayland,
22 include_directories : [libsinc],
23 dependencies : [gst_dep, gstvideo_dep])