mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
meson: Only enable the gtk4 plugin when deps are found
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1604>
This commit is contained in:
parent
968e0fddb9
commit
3b6832724f
1 changed files with 9 additions and 9 deletions
18
meson.build
18
meson.build
|
@ -320,16 +320,16 @@ if get_option('gtk4').allowed()
|
|||
elif gtk_dep.version().version_compare('>=4.10')
|
||||
gtk4_features += 'gtk_v4_10'
|
||||
endif
|
||||
endif
|
||||
|
||||
plugins += {
|
||||
'gtk4': {
|
||||
'library': 'libgstgtk4',
|
||||
'examples': ['gtksink'],
|
||||
'extra-deps': {'gtk4': ['>=4.6']},
|
||||
'features': gtk4_features,
|
||||
},
|
||||
}
|
||||
plugins += {
|
||||
'gtk4': {
|
||||
'library': 'libgstgtk4',
|
||||
'examples': ['gtksink'],
|
||||
'extra-deps': {'gtk4': ['>=4.6']},
|
||||
'features': gtk4_features,
|
||||
},
|
||||
}
|
||||
endif
|
||||
endif
|
||||
|
||||
# Process plugins list
|
||||
|
|
Loading…
Reference in a new issue