2019-08-14 18:02:28 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-fallbackswitch"
|
2024-02-05 13:35:07 +00:00
|
|
|
version.workspace = true
|
2021-09-13 15:08:45 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jan Schmidt <jan@centricular.com>"]
|
2024-02-05 13:35:07 +00:00
|
|
|
repository.workspace = true
|
2022-01-15 18:40:12 +00:00
|
|
|
license = "MPL-2.0"
|
2024-02-05 13:35:07 +00:00
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
2022-10-23 09:13:23 +00:00
|
|
|
description = "GStreamer Fallback Switcher and Source Plugin"
|
2019-08-14 18:02:28 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst.workspace = true
|
|
|
|
gst-base.workspace = true
|
|
|
|
gst-audio.workspace = true
|
|
|
|
gst-video.workspace = true
|
2022-08-26 16:24:59 +00:00
|
|
|
gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true }
|
2024-02-05 13:35:07 +00:00
|
|
|
gtk = { workspace = true, optional = true }
|
|
|
|
gio = { workspace = true, optional = true }
|
2021-09-13 15:08:45 +00:00
|
|
|
parking_lot = "0.12"
|
2019-08-14 18:02:28 +00:00
|
|
|
|
2019-08-17 08:47:05 +00:00
|
|
|
[dev-dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-app.workspace = true
|
|
|
|
gst-check.workspace = true
|
2019-08-17 08:47:05 +00:00
|
|
|
|
2019-08-14 18:02:28 +00:00
|
|
|
[lib]
|
|
|
|
name = "gstfallbackswitch"
|
2020-11-26 15:07:41 +00:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2019-08-14 18:02:28 +00:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-09-18 10:12:11 +00:00
|
|
|
[[example]]
|
|
|
|
name = "gtk-fallbackswitch"
|
|
|
|
path = "examples/gtk_fallbackswitch.rs"
|
2022-08-26 16:24:59 +00:00
|
|
|
required-features = ["gtk", "gio", "gst-plugin-gtk4"]
|
|
|
|
|
2019-09-18 10:12:11 +00:00
|
|
|
|
2019-08-14 18:02:28 +00:00
|
|
|
[build-dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-plugin-version-helper.workspace = true
|
2019-08-14 18:02:28 +00:00
|
|
|
|
|
|
|
[features]
|
2022-06-15 06:48:19 +00:00
|
|
|
default = ["v1_20"]
|
2020-11-26 15:07:41 +00:00
|
|
|
static = []
|
2021-08-11 17:51:36 +00:00
|
|
|
capi = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
2022-06-08 19:48:18 +00:00
|
|
|
v1_20 = ["gst/v1_20"]
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
2023-08-09 10:54:34 +00:00
|
|
|
min_version = "0.9.21"
|
2020-11-26 15:07:41 +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
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.pkg_config]
|
2022-04-06 09:10:44 +00:00
|
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-audio-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|