gst-plugins-rs/video/gtk4/Cargo.toml
Sebastian Dröge dfb871eb5d gtk4paintablesink: Deprecate wayland feature and add waylandegl feature
It's clearer that this is for GL support only.

Also remove the wayland feature dependency from the dmabuf one. While
dmabufs are only supported on wayland, it has no relation to the EGL
support.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1839>
2024-10-03 11:48:37 +03:00

76 lines
2.5 KiB
TOML

[package]
name = "gst-plugin-gtk4"
version.workspace = true
authors = ["Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>", "Jordan Petridis <jordan@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
repository.workspace = true
license = "MPL-2.0"
edition.workspace = true
rust-version.workspace = true
description = "GStreamer GTK 4 sink element"
[dependencies]
gtk.workspace = true
gdk-wayland = { workspace = true, features = ["v4_4"], optional = true}
gdk-x11 = { workspace = true, features = ["v4_4"], optional = true}
gst = { workspace = true, features = ["v1_16"] }
gst-base.workspace = true
gst-video.workspace = true
gst-gl = { workspace = true, features = ["v1_16"], optional = true }
gst-allocators = { workspace = true, features = ["v1_24"], optional = true }
gst-gl-wayland = { workspace = true, features = ["v1_16"], optional = true }
gst-gl-x11 = { workspace = true, features = ["v1_16"], optional = true }
gst-gl-egl = { workspace = true, features = ["v1_16"], optional = true }
async-channel = "2.0.0"
once_cell.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
gtk = { workspace = true, features = ["v4_6"] }
gst-gl = { workspace = true, features = ["v1_16"] }
[target.'cfg(target_os = "windows")'.dependencies]
gtk = { workspace = true, features = ["v4_6"] }
gst-gl = { workspace = true, features = ["v1_20"] }
gdk-win32 = { workspace = true, features = ["v4_4"]}
windows-sys = { version = "0.52", features = ["Win32_Graphics_OpenGL", "Win32_Foundation", "Win32_Graphics_Gdi"] }
[lib]
name = "gstgtk4"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
[build-dependencies]
gst-plugin-version-helper.workspace = true
[features]
default = []
static = []
# Deprecated
wayland = ["waylandegl"]
waylandegl = ["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"]
winegl = ["gdk-win32/egl", "gst-gl-egl"]
dmabuf = ["gst-allocators", "gtk_v4_14", "gst-video/v1_24"]
capi = []
doc = ["gst/v1_18"]
gtk_v4_10 = ["gtk/v4_10"]
gtk_v4_12 = ["gtk/v4_12", "gtk_v4_10"]
gtk_v4_14 = ["gtk/v4_14", "gtk_v4_12"]
gtk_v4_16 = ["gtk/v4_16", "gtk_v4_14"]
[package.metadata.capi]
min_version = "0.9.21"
[package.metadata.capi.header]
enabled = false
[package.metadata.capi.library]
install_subdir = "gstreamer-1.0"
versioning = false
import_library = false
[package.metadata.capi.pkg_config]
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-video-1.0, gtk4, gobject-2.0, glib-2.0, gmodule-2.0"