mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
meson: only build gtk gl examples if gst-gl was found
And fix typo in glliveshader example binary name.
This commit is contained in:
parent
4b570026aa
commit
1a871b1883
1 changed files with 12 additions and 10 deletions
|
@ -4,14 +4,16 @@ executable('gtksink', 'gtksink.c',
|
|||
include_directories: [configinc],
|
||||
install: false)
|
||||
|
||||
executable('gtkglsink', 'gtkglsink.c',
|
||||
dependencies: [gst_dep, gstgl_dep, gtk_dep, x11_dep],
|
||||
c_args: gst_plugins_good_args,
|
||||
include_directories: [configinc],
|
||||
install: false)
|
||||
if build_gstgl
|
||||
executable('gtkglsink', 'gtkglsink.c',
|
||||
dependencies: [gst_dep, gstgl_dep, gtk_dep, x11_dep],
|
||||
c_args: gst_plugins_good_args,
|
||||
include_directories: [configinc],
|
||||
install: false)
|
||||
|
||||
executable('glliveshaer', 'glliveshader.c',
|
||||
dependencies: [gst_dep, gstgl_dep, gtk_dep, x11_dep],
|
||||
c_args: gst_plugins_good_args,
|
||||
include_directories: [configinc],
|
||||
install: false)
|
||||
executable('glliveshader', 'glliveshader.c',
|
||||
dependencies: [gst_dep, gstgl_dep, gtk_dep, x11_dep],
|
||||
c_args: gst_plugins_good_args,
|
||||
include_directories: [configinc],
|
||||
install: false)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue