Unofficial Linux x86_64 and aarch64 builds of AyuGram Desktop for FlatPark.
Upstream publishes Windows and macOS binaries but no Linux one. This repository
builds the Linux binary on GitHub Actions and attaches it to a GitHub release.
FlatPark's registry/com.ayugram.desktop/ pulls it in as extra-data, so the
binary is downloaded straight from these releases and installed and updated
through Flatpak.
The recipe is upstream's own documented Linux build
(docs/building-linux.md),
run unattended in .github/workflows/build.yml:
- check: once a day, resolve upstream's latest release tag. If this repository already has a release for it, stop.
- image: generate the Rocky Linux 8 build environment from upstream's
Telegram/build/docker/centos_envat that tag (DEBUG= LTO=, as for the public tdesktop image) and push it to GHCR, tagged with the git tree hash of that directory (-aarch64suffix for the arm image). Each architecture is built natively, aarch64 on GitHub'subuntu-24.04-armrunner. Upstream only builds the environment for x86_64, so the aarch64 one gets two changes: tlottie's hardcodedx86_64Rust target points at the host, and rnnoise moves from v0.2 to the next commit (372f7b4, which fixes v0.2's NEON build). The next release reuses the image unless upstream has changed the environment, because a cold build takes hours. - build: unpack upstream's
AyuGramDesktop-<ver>-full.tar.gzsource release (what distros build; it can carry submodule fixes made after tagging), run upstream'scentos_env/build.shin that image with upstream's documented API credentials andDESKTOP_APP_DISABLE_AUTOUPDATE=ON(Flatpak handles updates), thencmake --installand strip. - release: once both architectures have built, publish the tarballs as
v<ver>, then ping FlatPark's release hook so the Flatpak updates within minutes rather than at the next daily sweep.
Nothing is patched. The binary is the stock upstream source built with upstream's toolchain.
| File | Contents |
|---|---|
ayugram-<ver>-<arch>.tar.zst (x86_64, aarch64) |
the cmake --install tree under usr/: bin/AyuGram (self-contained, statically linked Qt/FFmpeg/…), desktop file, icons, metainfo, D-Bus service |
ayugram-<ver>-<arch>.tar.zst.sha256 |
checksum |
Each release's notes record the upstream commit, the build-environment image digest and the workflow run.
A release is never overwritten, because FlatPark pins each artifact's sha256. To
rebuild a version, run the workflow manually with revision set (e.g. 2). That
publishes v<ver>-2 next to the original release. With publish unchecked the
run only builds, leaving the tarballs as workflow-run artifacts.
AyuGram Desktop is GPL-3.0 with the OpenSSL exception (see upstream LICENSE).
The corresponding source for every binary is upstream's tagged source tree, which
each release links, plus this build recipe.