Files
netflex/package.sh
Tamas Csikel 72d9412a85 Build with the Fennec SDK instead of a Fennec OS checkout
sf-ui is a git dependency on fennec/sdk (v0.1.0), sf-pack comes from the
SDK too. The release CI no longer clones the OS (no SMARTFOX_TOKEN) and
runs in the runner image on the build runner, cleaning up after itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:03:12 +01:00

20 lines
673 B
Bash
Executable File

#!/usr/bin/env bash
# Builds the two store release assets into dist/: app.toml and
# support.bluefox.netflex-<version>.tar.zst.
#
# Build on Debian trixie or older (the TV's glibc), with the GStreamer dev
# packages (libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev) and
# sf-pack from the Fennec SDK:
# cargo install --locked --git https://gitea.bluefox.support/fennec/sdk --tag v0.1.0 sf-pack
set -euo pipefail
cd "$(dirname "$0")"
cargo build --release --locked
target="${CARGO_TARGET_DIR:-target}"
rm -rf pkg dist
mkdir -p pkg/bin
cp app.toml icon.png pkg/
install -m755 "$target/release/netflex-tv" pkg/bin/netflex-tv
sf-pack build pkg dist
sf-pack verify dist