gstreamer/tests/examples/waylandsink/meson.build
Nirbheek Chauhan 7ef303fa28 meson: Add feature options for many plugins
The rest will be converted later, these are necessary for gst-build to
set options correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 18:43:52 +05:30

13 lines
495 B
Meson

gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
gtk_wayland_dep = dependency('gtk+-wayland-3.0', required : get_option('examples'))
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