diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-12-12 14:46:57 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-12-12 14:49:14 +0300 |
commit | 65efdc8c81746103ccfe6368c13b8ccb97a13b72 (patch) | |
tree | a17e2b79a5550ee2cd34871631c3db03e49781fe /video | |
parent | 54741b7cc414605c7c026cd19e04168b7c721da6 (diff) |
gtk4: Only require GTK 4.6 if GL support is enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1007>
Diffstat (limited to 'video')
-rw-r--r-- | video/gtk4/Cargo.toml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/gtk4/Cargo.toml b/video/gtk4/Cargo.toml index f92eb322..479e6c31 100644 --- a/video/gtk4/Cargo.toml +++ b/video/gtk4/Cargo.toml @@ -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", features = ["v4_6"] } +gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs" } gdk_wayland = { package = "gdk4-wayland", git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_4"], optional = true} gdk_x11 = { package = "gdk4-x11", git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_4"], optional = true} @@ -36,9 +36,9 @@ gst-plugin-version-helper = { 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"] |