• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
2gtk_wayland_dep = dependency('gtk+-wayland-3.0', required : get_option('examples'))
3
4if use_wayland
5  if gtk_dep.found() and gtk_wayland_dep.found()
6    executable('waylandsink',
7      'main.c',
8      extra_files: ['window.ui'],
9      install: false,
10      include_directories : [configinc],
11      dependencies : [gtk_dep, gtk_wayland_dep, gst_dep, gstwayland_dep],
12      c_args : ['-DHAVE_CONFIG_H=1', '-DGST_USE_UNSTABLE_API=1'],
13    )
14  endif
15  executable('wayland_threads',
16    'wayland-threads.c',
17    install: false,
18    include_directories : [configinc],
19    dependencies : [gst_dep, gstwayland_dep, wl_client_dep],
20    c_args : ['-DHAVE_CONFIG_H=1', '-DGST_USE_UNSTABLE_API=1'],
21  )
22endif
23