diff --git a/tests/examples/meson.build b/tests/examples/meson.build index 356587f694..c0963d6102 100644 --- a/tests/examples/meson.build +++ b/tests/examples/meson.build @@ -10,7 +10,7 @@ subdir('mpegts') #subdir('mxf') #subdir('opencv') #subdir('uvch264') -#subdir('waylandsink') +subdir('waylandsink') subdir('webrtc') executable('playout', diff --git a/tests/examples/waylandsink/meson.build b/tests/examples/waylandsink/meson.build new file mode 100644 index 0000000000..9dd183bc1a --- /dev/null +++ b/tests/examples/waylandsink/meson.build @@ -0,0 +1,13 @@ +gtk_dep = dependency('gtk+-3.0', required : false) +gtk_wayland_dep = dependency('gtk+-wayland-3.0', required : false) + +if use_wayland and 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], + c_args : ['-DHAVE_CONFIG_H=1', '-DGST_USE_UNSTABLE_API=1'], + ) +endif