mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 17:53:48 +00:00
meson: Update to waylandegl feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2166>
This commit is contained in:
parent
ade1369db0
commit
a12b4e200c
1 changed files with 2 additions and 2 deletions
|
@ -286,7 +286,7 @@ if get_option('gtk4').allowed()
|
|||
gl_winsys = gstgl_dep.get_variable('gl_winsys').split()
|
||||
gl_platforms = gstgl_dep.get_variable('gl_platforms').split()
|
||||
if 'wayland' in gl_winsys
|
||||
gtk4_features += 'wayland'
|
||||
gtk4_features += 'waylandegl'
|
||||
endif
|
||||
if 'x11' in gl_winsys
|
||||
if 'egl' in gl_platforms
|
||||
|
@ -305,7 +305,7 @@ if get_option('gtk4').allowed()
|
|||
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() and 'wayland' in gtk4_features
|
||||
gst_allocators_dep.found() and 'waylandegl' in gtk4_features
|
||||
gtk4_features += 'dmabuf'
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue