Initial Netflex TV app

This commit is contained in:
Tamas Csikel
2026-10-25 14:01:47 +01:00
commit 3e33ea6643
31 changed files with 17559 additions and 0 deletions

37
Cargo.toml Normal file
View 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]