mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
meson: Add gtk guard
This commit is contained in:
parent
1513cf774d
commit
70d6b4002c
1 changed files with 12 additions and 10 deletions
|
@ -12,13 +12,15 @@ foreach example : examples
|
||||||
install: false)
|
install: false)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
executable('test-vaapicontext', 'test-vaapicontext.c',
|
if gtk_dep.found()
|
||||||
c_args : gstreamer_vaapi_args,
|
executable('test-vaapicontext', 'test-vaapicontext.c',
|
||||||
include_directories: [configinc, libsinc],
|
c_args : gstreamer_vaapi_args,
|
||||||
dependencies : [ gst_dep,
|
include_directories: [configinc, libsinc],
|
||||||
gstvideo_dep,
|
dependencies : [ gst_dep,
|
||||||
libva_dep,
|
gstvideo_dep,
|
||||||
x11_dep,
|
libva_dep,
|
||||||
gtk_dep,
|
x11_dep,
|
||||||
libva_x11_dep ],
|
gtk_dep,
|
||||||
install: false)
|
libva_x11_dep ],
|
||||||
|
install: false)
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue