# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT

[package]
name = "gstreamer-player"
version = "1.16.0"
authors = ["Slint Developers <info@slint.dev>"]
edition.workspace = true
build = "build.rs"
license = "MIT"
publish = false

[[bin]]
path = "main.rs"
name = "gstreamer-player"

[dependencies]
slint = { path = "../../api/rs/slint" }
futures = { version = "0.3.28" }

gst = { package = "gstreamer", version = "0.23.0" }
gst-audio = { package = "gstreamer-audio", version = "0.23.0" }
gst-video = { package = "gstreamer-video", version = "0.23.0" }
gst-app = { package = "gstreamer-app", version = "0.23.0" }

[target.'cfg(target_os = "linux")'.dependencies]
gst-gl = { package = "gstreamer-gl", version = "0.23.0" }
gst-gl-egl = { package = "gstreamer-gl-egl", version = "0.23.0" }
glutin_egl_sys = "0.7.1"

[build-dependencies]
slint-build = { path = "../../api/rs/build" }
cfg_aliases = { workspace = true }
