2021-04-09 12:38:02 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-gtk4"
|
2024-02-05 13:35:07 +00:00
|
|
|
version.workspace = true
|
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>"]
|
2024-02-05 13:35:07 +00:00
|
|
|
repository.workspace = true
|
2021-04-09 12:38:02 +00:00
|
|
|
license = "MPL-2.0"
|
2024-02-05 13:35:07 +00:00
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
2024-05-07 14:56:22 +00:00
|
|
|
description = "GStreamer GTK 4 sink element"
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gtk.workspace = true
|
2024-08-13 14:16:15 +00:00
|
|
|
gdk-wayland = { workspace = true, optional = true}
|
|
|
|
gdk-x11 = { workspace = true, optional = true}
|
2021-04-09 12:38:02 +00:00
|
|
|
|
2024-02-05 13:35:07 +00:00
|
|
|
gst = { workspace = true, features = ["v1_16"] }
|
|
|
|
gst-base.workspace = true
|
|
|
|
gst-video.workspace = true
|
2024-08-01 12:37:26 +00:00
|
|
|
gst-gl = { workspace = true, features = ["v1_16"] }
|
2024-04-20 20:19:20 +00:00
|
|
|
gst-allocators = { workspace = true, features = ["v1_24"], optional = true }
|
2021-10-19 06:45:07 +00:00
|
|
|
|
2024-02-05 13:35:07 +00:00
|
|
|
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 }
|
2023-10-30 09:21:25 +00:00
|
|
|
async-channel = "2.0.0"
|
2021-04-09 12:38:02 +00:00
|
|
|
|
2022-12-23 08:16:17 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-gl = { workspace = true, 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]
|
2024-08-13 14:16:15 +00:00
|
|
|
gdk-win32.workspace = true
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-gl = { workspace = true, features = ["v1_20"] }
|
2023-11-17 09:00:17 +00:00
|
|
|
windows-sys = { version = "0.52", features = ["Win32_Graphics_OpenGL", "Win32_Foundation", "Win32_Graphics_Gdi"] }
|
2022-12-23 19:23:42 +00:00
|
|
|
|
2021-04-09 12:38:02 +00:00
|
|
|
[lib]
|
|
|
|
name = "gstgtk4"
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-plugin-version-helper.workspace = true
|
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 = []
|
2024-10-02 14:02:29 +00:00
|
|
|
# Deprecated
|
|
|
|
wayland = ["waylandegl"]
|
|
|
|
waylandegl = ["gdk-wayland", "gst-gl-wayland"]
|
2024-08-13 14:16:15 +00:00
|
|
|
x11glx = ["gdk-x11", "gst-gl-x11"]
|
|
|
|
x11egl = ["gdk-x11", "gst-gl-egl"]
|
2024-02-05 13:35:07 +00:00
|
|
|
winegl = ["gdk-win32/egl", "gst-gl-egl"]
|
2024-10-02 14:02:29 +00:00
|
|
|
dmabuf = ["gst-allocators", "gtk_v4_14", "gst-video/v1_24"]
|
2021-04-09 12:38:02 +00:00
|
|
|
capi = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
2024-02-07 16:12:29 +00:00
|
|
|
gtk_v4_10 = ["gtk/v4_10"]
|
|
|
|
gtk_v4_12 = ["gtk/v4_12", "gtk_v4_10"]
|
|
|
|
gtk_v4_14 = ["gtk/v4_14", "gtk_v4_12"]
|
2024-07-18 09:28:20 +00:00
|
|
|
gtk_v4_16 = ["gtk/v4_16", "gtk_v4_14"]
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
2023-08-09 10:54:34 +00:00
|
|
|
min_version = "0.9.21"
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.header]
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[package.metadata.capi.library]
|
|
|
|
install_subdir = "gstreamer-1.0"
|
|
|
|
versioning = false
|
2023-08-09 10:54:34 +00:00
|
|
|
import_library = false
|
2021-04-09 12:38:02 +00:00
|
|
|
|
|
|
|
[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"
|