mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
meson: va: Skip configuration on non-linux environment
VA plugin is linux-only plugin, so we can skip it earlier. Note that this plugin is making use of libdrm meson fallback, which is unusable on the other platforms such as Windows Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1946>
This commit is contained in:
parent
3e2e07bb8a
commit
ad3fb007e1
2 changed files with 6 additions and 1 deletions
|
@ -21,8 +21,9 @@ va_sources = [
|
|||
'gstvavpp.c'
|
||||
]
|
||||
|
||||
have_va = false
|
||||
va_option = get_option('va')
|
||||
if va_option.disabled()
|
||||
if va_option.disabled() or host_system != 'linux'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
if not have_va
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
|
||||
gtk_x11_dep = dependency('gtk+-x11-3.0', required : get_option('examples'))
|
||||
x11_dep = dependency('x11', required : get_option('examples'))
|
||||
|
|
Loading…
Reference in a new issue