mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
examples: Build waylandsink example
This commit is contained in:
parent
e1133bbbfe
commit
2927a1d1ec
2 changed files with 14 additions and 1 deletions
|
@ -10,7 +10,7 @@ subdir('mpegts')
|
|||
#subdir('mxf')
|
||||
#subdir('opencv')
|
||||
#subdir('uvch264')
|
||||
#subdir('waylandsink')
|
||||
subdir('waylandsink')
|
||||
subdir('webrtc')
|
||||
|
||||
executable('playout',
|
||||
|
|
13
tests/examples/waylandsink/meson.build
Normal file
13
tests/examples/waylandsink/meson.build
Normal file
|
@ -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
|
Loading…
Reference in a new issue