mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 09:43:48 +00:00
meson: Set gtk_v4_16 feature
So builds using Meson use GtkGraphicsOffload::black-background as well.
Fixes: 38044858
("gtk4: Enable GtkGraphicsOffload::black-background property when building with GTK 4.16")
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2021>
This commit is contained in:
parent
95d0563b80
commit
cb88843a5a
1 changed files with 3 additions and 1 deletions
|
@ -302,7 +302,9 @@ if get_option('gtk4').allowed()
|
|||
gtk4_features += 'dmabuf'
|
||||
endif
|
||||
|
||||
if gtk_dep.version().version_compare('>=4.14')
|
||||
if gtk_dep.version().version_compare('>=4.16')
|
||||
gtk4_features += 'gtk_v4_16'
|
||||
elif gtk_dep.version().version_compare('>=4.14')
|
||||
gtk4_features += 'gtk_v4_14'
|
||||
elif gtk_dep.version().version_compare('>=4.12')
|
||||
gtk4_features += 'gtk_v4_12'
|
||||
|
|
Loading…
Reference in a new issue