Initial Netflex TV app
This commit is contained in:
37
Cargo.toml
Normal file
37
Cargo.toml
Normal file
@@ -0,0 +1,37 @@
|
||||
[package]
|
||||
name = "netflex-tv"
|
||||
description = "Netflex for SmartFox: native TV client with Liquid Glass and hardware video playback"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
# sf-ui (and Slint) are GPL-3.0 on a TV box.
|
||||
license = "GPL-3.0-only"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
# The SmartFox UI kit: Liquid Glass, TV components, images. This repository
|
||||
# is built inside a SmartFox checkout, at apps/netflex-tv (the release CI
|
||||
# clones SmartFox and puts it there). With a public sf-ui this can become
|
||||
# a git dependency: sf-ui = { git = "<SmartFox repo URL>" }.
|
||||
sf-ui = { path = "../../crates/sf-ui" }
|
||||
slint = "1.18"
|
||||
anyhow = "1"
|
||||
log = "0.4"
|
||||
env_logger = "0.11"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
toml = "0.9"
|
||||
ureq = { version = "3", features = ["json"] }
|
||||
|
||||
# Video playback (GStreamer) only on Linux, the TV.
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
sf-ui = { path = "../../crates/sf-ui", features = ["video"] }
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.18"
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
strip = true
|
||||
|
||||
# Not part of the SmartFox workspace: this is its own repository.
|
||||
[workspace]
|
||||
Reference in New Issue
Block a user