forked from mirrors/gstreamer-rs
c00a97f5ec
Also update CI image to use meson 0.60.
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
[package]
|
|
name = "tutorials"
|
|
version = "0.18.0"
|
|
license = "MIT"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
|
|
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
|
|
gst = { package = "gstreamer", path = "../gstreamer" }
|
|
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
|
|
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", optional = true }
|
|
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
|
|
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
|
|
byte-slice-cast = "1"
|
|
anyhow = "1"
|
|
termion = { version = "1.5", optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
cocoa = "0.24"
|
|
|
|
[features]
|
|
tutorial5 = ["gtk", "gdk", "gst-video"]
|
|
tutorial5-x11 = ["tutorial5"]
|
|
tutorial5-quartz = ["tutorial5"]
|
|
|
|
[[bin]]
|
|
name = "basic-tutorial-13"
|
|
required-features = ["termion"]
|
|
|
|
[[bin]]
|
|
name = "playback-tutorial-1"
|
|
required-features = ["termion"]
|