mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-03-13 16:52:39 +00:00
meson: Fix gtk4 plugin build on linux
dmabuf feature needs the wayland feature too. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1614>
This commit is contained in:
parent
01ad705bf6
commit
93491826e8
1 changed files with 2 additions and 1 deletions
|
@ -305,7 +305,8 @@ if get_option('gtk4').allowed()
|
|||
gst_allocators_dep = dependency('gstreamer-allocators-1.0', version: '>=1.24', required: false)
|
||||
gtk_dep = dependency('gtk4', version: '>=4.6', required: get_option('gtk4'))
|
||||
if gtk_dep.found()
|
||||
if host_system == 'linux' and gtk_dep.version().version_compare('>=4.14') and gst_allocators_dep.found()
|
||||
if host_system == 'linux' and gtk_dep.version().version_compare('>=4.14') and \
|
||||
gst_allocators_dep.found() and 'wayland' in gtk4_features
|
||||
gtk4_features += 'dmabuf'
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue