mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +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/1604>
This commit is contained in:
parent
3e4330686f
commit
7f16fd7736
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,8 @@ if get_option('gtk4').allowed()
|
||||||
gst_allocators_dep = dependency('gstreamer-allocators-1.0', version: '>=1.24', required: false)
|
gst_allocators_dep = dependency('gstreamer-allocators-1.0', version: '>=1.24', required: false)
|
||||||
gtk_dep = dependency('gtk4', version: '>=4.6', required: get_option('gtk4'))
|
gtk_dep = dependency('gtk4', version: '>=4.6', required: get_option('gtk4'))
|
||||||
if gtk_dep.found()
|
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'
|
gtk4_features += 'dmabuf'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue