2021-04-09 12:38:02 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-gtk4"
|
2023-06-19 17:43:14 +00:00
|
|
|
version = "0.10.9"
|
2021-04-09 12:38:02 +00:00
|
|
|
authors = ["Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>", "Jordan Petridis <jordan@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
|
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
|
|
license = "MPL-2.0"
|
2021-10-31 10:54:12 +00:00
|
|
|
edition = "2021"
|
2022-09-04 18:31:55 +00:00
|
|
|
rust-version = "1.63"
|
2022-10-23 09:13:23 +00:00
|
|
|
description = "GStreamer GTK 4 Sink element and Paintable widget"
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-02-09 22:33:25 +00:00
|
|
|
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.6", version = "0.6" }
|
|
|
|
gdk_wayland = { package = "gdk4-wayland", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.6", version = "0.6", features = ["v4_4"], optional = true}
|
|
|
|
gdk_x11 = { package = "gdk4-x11", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.6", version = "0.6", features = ["v4_4"], optional = true}
|
2021-04-09 12:38:02 +00:00
|
|
|
|
2023-02-09 22:33:25 +00:00
|
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20", features = ["v1_16"] }
|
|
|
|
gst_base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20" }
|
|
|
|
gst_video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20" }
|
|
|
|
gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20", features = ["v1_16"], optional = true }
|
2021-10-19 06:45:07 +00:00
|
|
|
|
2023-02-09 22:33:25 +00:00
|
|
|
gst_gl_wayland = { package = "gstreamer-gl-wayland", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20", features = ["v1_16"], optional = true }
|
|
|
|
gst_gl_x11 = { package = "gstreamer-gl-x11", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20", features = ["v1_16"], optional = true }
|
|
|
|
gst_gl_egl = { package = "gstreamer-gl-egl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20", features = ["v1_16"], optional = true }
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
once_cell = "1.0"
|
|
|
|
|
2022-12-23 08:16:17 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2023-02-09 22:33:25 +00:00
|
|
|
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.6", version = "0.6", features = ["v4_6"] }
|
|
|
|
gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.20", version = "0.20", features = ["v1_16"] }
|
2022-12-23 08:16:17 +00:00
|
|
|
|
2022-12-23 19:23:42 +00:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_6"] }
|
|
|
|
gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_20"] }
|
|
|
|
gdk_win32 = { package = "gdk4-win32", git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_4"]}
|
|
|
|
windows-sys = { version = "0.42", features = ["Win32_Graphics_OpenGL", "Win32_Foundation", "Win32_Graphics_Gdi"] }
|
|
|
|
|
2021-04-09 12:38:02 +00:00
|
|
|
[lib]
|
|
|
|
name = "gstgtk4"
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
2023-02-09 22:36:22 +00:00
|
|
|
gst-plugin-version-helper = { path="../../version-helper", version = "0.7" }
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[features]
|
2021-10-19 06:45:07 +00:00
|
|
|
default = []
|
2022-04-07 09:41:54 +00:00
|
|
|
static = []
|
2022-12-12 11:46:57 +00:00
|
|
|
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"]
|
2022-12-23 19:23:42 +00:00
|
|
|
winegl = ["gdk_win32/egl", "gst_gl_egl"]
|
2021-04-09 12:38:02 +00:00
|
|
|
capi = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
|
|
|
min_version = "0.7.0"
|
|
|
|
|
|
|
|
[package.metadata.capi.header]
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[package.metadata.capi.library]
|
|
|
|
install_subdir = "gstreamer-1.0"
|
|
|
|
versioning = 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"
|