2017-12-05 07:52:31 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-togglerecord"
|
2023-08-09 15:04:38 +00:00
|
|
|
version = "0.11.0"
|
2017-12-05 07:52:31 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
2022-01-15 18:40:12 +00:00
|
|
|
license = "MPL-2.0"
|
2022-10-23 09:13:23 +00:00
|
|
|
description = "GStreamer Toggle Record Plugin"
|
2019-06-03 10:53:58 +00:00
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
2021-10-31 10:54:12 +00:00
|
|
|
edition = "2021"
|
2023-07-19 06:19:34 +00:00
|
|
|
rust-version = "1.70"
|
2017-12-05 07:52:31 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-08-09 15:06:31 +00:00
|
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.21", version = "0.21" }
|
|
|
|
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.21", version = "0.21" }
|
|
|
|
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.21", version = "0.21" }
|
2022-08-26 17:31:19 +00:00
|
|
|
gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true }
|
2023-08-09 15:06:31 +00:00
|
|
|
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "0.7", version = "0.7", optional = true }
|
|
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18", optional = true }
|
2022-01-31 13:20:44 +00:00
|
|
|
parking_lot = "0.12"
|
2017-12-05 17:30:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2017-12-05 07:52:31 +00:00
|
|
|
either = "1.0"
|
2023-08-09 15:06:31 +00:00
|
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.21", version = "0.21" }
|
2017-12-05 07:52:31 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "gsttogglerecord"
|
2020-11-26 15:07:41 +00:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2017-12-05 07:52:31 +00:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "gtk-recording"
|
|
|
|
path = "examples/gtk_recording.rs"
|
2022-08-26 17:31:19 +00:00
|
|
|
required-features = ["gtk", "gio", "gst-plugin-gtk4"]
|
2019-06-03 10:53:58 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2020-04-05 14:38:52 +00:00
|
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[features]
|
2022-04-07 09:41:54 +00:00
|
|
|
static = []
|
2021-08-11 17:51:36 +00:00
|
|
|
capi = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
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]
|
|
|
|
requires_private = "gstreamer-1.0, gstreamer-audio-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|