mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
b9f8ce9995
There is no way to dynamically ask Cargo to build static or dynamic lib so we have to build both and pick the one we care when doing the meson processing. Fix #88
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "gst-plugin-togglerecord"
|
|
version = "0.6.0"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
license = "LGPL-2.1-or-later"
|
|
description = "Toggle Record Plugin"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gstreamer-audio = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gtk = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs", optional = true }
|
|
parking_lot = "0.11"
|
|
more-asserts = "0.2"
|
|
lazy_static = "1.0"
|
|
|
|
[dev-dependencies]
|
|
either = "1.0"
|
|
|
|
[lib]
|
|
name = "gsttogglerecord"
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "gtk-recording"
|
|
path = "examples/gtk_recording.rs"
|
|
required-features = ["gtk", "gio"]
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|