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>
This commit is contained in:
18
package.sh
18
package.sh
@@ -2,9 +2,10 @@
|
||||
# Builds the two store release assets into dist/: app.toml and
|
||||
# support.bluefox.netflex-<version>.tar.zst.
|
||||
#
|
||||
# Runs inside a SmartFox checkout (this repo at apps/netflex-tv), on Debian
|
||||
# trixie or older (the TV's glibc), with the GStreamer dev packages:
|
||||
# libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
|
||||
# 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")"
|
||||
|
||||
@@ -14,12 +15,5 @@ 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 from PATH, else the one in the SmartFox checkout around us.
|
||||
if command -v sf-pack >/dev/null; then
|
||||
pack=(sf-pack)
|
||||
else
|
||||
pack=(cargo run -q --release --manifest-path ../../Cargo.toml -p sf-pack --)
|
||||
fi
|
||||
"${pack[@]}" build pkg dist
|
||||
"${pack[@]}" verify dist
|
||||
sf-pack build pkg dist
|
||||
sf-pack verify dist
|
||||
|
||||
Reference in New Issue
Block a user