mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-18 09:31:05 +00:00
58 lines
2.3 KiB
TOML
58 lines
2.3 KiB
TOML
[package]
|
|
name = "gst-plugin-fallbackswitch"
|
|
version = "0.9.3"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jan Schmidt <jan@centricular.com>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
license = "MPL-2.0"
|
|
edition = "2021"
|
|
rust-version = "1.63"
|
|
description = "GStreamer Fallback Switcher and Source Plugin"
|
|
|
|
[dependencies]
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19.1" }
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19" }
|
|
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19" }
|
|
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19" }
|
|
gst-plugin-gtk4 = { version = "0.9", path = "../../video/gtk4", optional = true }
|
|
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.5", version = "0.5", optional = true }
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
|
|
once_cell = "1.0"
|
|
parking_lot = "0.12"
|
|
|
|
[dev-dependencies]
|
|
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19" }
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19" }
|
|
|
|
[lib]
|
|
name = "gstfallbackswitch"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "gtk-fallbackswitch"
|
|
path = "examples/gtk_fallbackswitch.rs"
|
|
required-features = ["gtk", "gio", "gst-plugin-gtk4"]
|
|
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { version = "0.7", path="../../version-helper" }
|
|
|
|
[features]
|
|
default = ["v1_20"]
|
|
static = []
|
|
capi = []
|
|
doc = ["gst/v1_18"]
|
|
v1_20 = ["gst/v1_20"]
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.8.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-audio-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|