2019-08-14 18:02:28 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-fallbackswitch"
|
2021-07-09 10:49:33 +00:00
|
|
|
version = "0.8.0"
|
2019-08-14 18:02:28 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
2020-04-16 11:06:34 +00:00
|
|
|
license = "LGPL-2.1-or-later"
|
2021-10-31 10:54:12 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2019-08-14 18:02:28 +00:00
|
|
|
description = "Fallback Switcher Plugin"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-04-24 11:33:21 +00:00
|
|
|
libc = { version = "0.2", optional = true }
|
|
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
2021-10-17 14:35:45 +00:00
|
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_18"] }
|
2020-04-24 11:33:21 +00:00
|
|
|
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
|
|
|
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
2021-05-13 06:50:08 +00:00
|
|
|
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
|
|
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
2020-04-07 20:47:15 +00:00
|
|
|
once_cell = "1.0"
|
2019-08-14 18:02:28 +00:00
|
|
|
|
2019-08-17 08:47:05 +00:00
|
|
|
[dev-dependencies]
|
2020-04-24 11:33:21 +00:00
|
|
|
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]}
|
|
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"]}
|
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"
|
|
|
|
required-features = ["gtk", "gio"]
|
|
|
|
|
2019-08-14 18:02:28 +00:00
|
|
|
[build-dependencies]
|
2020-04-05 14:38:52 +00:00
|
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
2019-08-14 18:02:28 +00:00
|
|
|
|
|
|
|
[features]
|
2020-11-22 16:59:46 +00:00
|
|
|
default = ["libc"]
|
2021-10-17 14:35:45 +00:00
|
|
|
v1_20 = ["gst/v1_20"]
|
2020-11-26 15:07:41 +00:00
|
|
|
# We already use 1.14 which is new enough for static build
|
|
|
|
static = []
|
2021-08-11 17:51:36 +00:00
|
|
|
capi = []
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
2021-07-09 10:49:33 +00:00
|
|
|
min_version = "0.8.0"
|
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
|
|
|
|
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|