packaging: add deb/flatpak build flow and desktop metadata

This commit is contained in:
Keith Smith
2026-03-03 20:46:03 -07:00
parent f54c2e9bcd
commit c1c23d115a
10 changed files with 244 additions and 1 deletions

View File

@@ -84,3 +84,24 @@ If you already have `Qt 6` from the Qt installer and do not want vcpkg Qt, you c
- Build output executable:
- Linux/macOS: `build/orbithub`
- Windows: `build\\orbithub.exe`
## Linux Packaging
Build a Debian package (`.deb`) from the current Linux build:
```bash
./packaging/linux/build-deb.sh
```
Output path:
- `dist/orbithub_<version>_<arch>.deb`
Build a Flatpak bundle:
```bash
sudo apt-get install -y flatpak flatpak-builder
./packaging/flatpak/build-flatpak.sh
```
Output path:
- `dist/flatpak/io.orbithub.OrbitHub.flatpak`