Files
lightgui/flatpak/build-flatpak.sh
T
cnmcdee 90d72a82b3 Add Flatpak packaging (com.hotconfig.LightGUI)
Flatpak manifest (GNOME Platform 48, GTK 3) + launcher, desktop file,
metainfo and app icon. Builds the designer plus the XFrame palette and
layout windows, installs them under /app/share/lightgui/ mirroring the
repo layout, and launches the combined IDE via the ide script.
build-flatpak.sh builds the Flatpak and a single-file bundle.
2026-11-29 15:07:37 +00:00

14 lines
623 B
Bash
Executable File

#!/bin/bash
# Build the LightGUI (C) Flatpak and a single-file bundle.
# Run from the repo root: bash flatpak/build-flatpak.sh
# Outputs: LightGUI.flatpak (single-file bundle) in the repo root.
set -e
cd "$(dirname "$0")/.."
MANIFEST=flatpak/com.hotconfig.LightGUI.yaml
APP_ID=com.hotconfig.LightGUI
BUILD_DIR=${BUILD_DIR:-/tmp/flatpak-build-lightgui}
REPO_DIR=${REPO_DIR:-/tmp/flatpak-repo-lightgui}
flatpak-builder --force-clean --repo="$REPO_DIR" "$BUILD_DIR" "$MANIFEST"
flatpak build-bundle "$REPO_DIR" LightGUI.flatpak "$APP_ID" --runtime-repo=https://dl.flathub.org/repo/flathub.flatpakrepo
ls -lh LightGUI.flatpak