2019-08-14 18:02:28 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-fallbackswitch"
|
|
|
|
version = "0.6.0"
|
|
|
|
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"
|
2019-08-14 18:02:28 +00:00
|
|
|
edition = "2018"
|
|
|
|
description = "Fallback Switcher Plugin"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-04-24 11:33:21 +00:00
|
|
|
libc = { version = "0.2", optional = true }
|
2020-11-01 08:24:02 +00:00
|
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
2020-04-24 11:33:21 +00:00
|
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"] }
|
|
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
|
|
|
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"] }
|
2020-11-01 08:24:02 +00:00
|
|
|
gtk = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
|
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs", 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
|
|
|
cc = "1.0"
|
|
|
|
pkg-config = "0.3"
|
|
|
|
|
|
|
|
[features]
|
2020-11-22 16:59:46 +00:00
|
|
|
default = ["libc"]
|
2020-07-10 09:44:16 +00:00
|
|
|
v1_18 = ["gst-base/v1_18"]
|
2020-11-26 15:07:41 +00:00
|
|
|
# We already use 1.14 which is new enough for static build
|
|
|
|
static = []
|
|
|
|
|
|
|
|
[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, gobject-2.0, glib-2.0, gmodule-2.0"
|