2018-07-25 11:42:00 +00:00
|
|
|
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
|
|
|
|
gtk_wayland_dep = dependency('gtk+-wayland-3.0', required : get_option('examples'))
|
2018-06-06 18:31:43 +00:00
|
|
|
|
2018-12-03 02:59:46 +00:00
|
|
|
if use_wayland
|
|
|
|
if gtk_dep.found() and gtk_wayland_dep.found()
|
|
|
|
executable('waylandsink',
|
|
|
|
'main.c',
|
|
|
|
extra_files: ['window.ui'],
|
|
|
|
install: false,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gtk_dep, gtk_wayland_dep, gst_dep, gstwayland_dep],
|
2020-01-12 02:19:47 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
2018-12-03 02:59:46 +00:00
|
|
|
)
|
|
|
|
endif
|
|
|
|
executable('wayland_threads',
|
|
|
|
'wayland-threads.c',
|
2018-06-06 18:31:43 +00:00
|
|
|
install: false,
|
|
|
|
include_directories : [configinc],
|
2018-12-03 02:59:46 +00:00
|
|
|
dependencies : [gst_dep, gstwayland_dep, wl_client_dep],
|
2020-01-12 02:19:47 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
2018-06-06 18:31:43 +00:00
|
|
|
)
|
|
|
|
endif
|