mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-15 23:01:02 +00:00
gtk4: Only require GTK 4.6 if GL support is enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1008>
This commit is contained in:
parent
a1fd847f70
commit
2a981132b4
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ rust-version = "1.63"
|
|||
description = "GStreamer GTK 4 Sink element and Paintable widget"
|
||||
|
||||
[dependencies]
|
||||
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.5", version = "0.5", features = ["v4_6"] }
|
||||
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.5", version = "0.5" }
|
||||
gdk_wayland = { package = "gdk4-wayland", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.5", version = "0.5", features = ["v4_4"], optional = true}
|
||||
gdk_x11 = { package = "gdk4-x11", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.5", version = "0.5", features = ["v4_4"], optional = true}
|
||||
|
||||
|
@ -36,9 +36,9 @@ gst-plugin-version-helper = { version = "0.7", path="../../version-helper" }
|
|||
[features]
|
||||
default = []
|
||||
static = []
|
||||
wayland = ["gdk_wayland", "gst_gl", "gst_gl_wayland"]
|
||||
x11glx = ["gdk_x11", "gst_gl", "gst_gl_x11"]
|
||||
x11egl = ["gdk_x11", "gst_gl", "gst_gl_egl"]
|
||||
wayland = ["gtk/v4_6", "gdk_wayland", "gst_gl", "gst_gl_wayland"]
|
||||
x11glx = ["gtk/v4_6", "gdk_x11", "gst_gl", "gst_gl_x11"]
|
||||
x11egl = ["gtk/v4_6", "gdk_x11", "gst_gl", "gst_gl_egl"]
|
||||
capi = []
|
||||
doc = ["gst/v1_18"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue