Zelda64Recomp/flatpak/README.md
Darío 14f92c41ab
Some checks failed
validate-internal / build (push) Has been cancelled
Flatpak support. (#569)
* Add flatpak support.

* Add gamepad to supported controls list in flatpak metainfo

---------

Co-authored-by: Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com>
2025-04-28 23:36:25 -04:00

15 lines
604 B
Markdown

Before building the Flatpak, you must build the patches on the root directory first. **The LLVM Extension for freedesktop does not include the MIPS compiler and will fail to build the patches inside the flatpak**.
```sh
make -C patches CC=clang LD=ld.lld
```
Build
```sh
flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir io.github.zelda64recomp.zelda64recomp.json
```
Bundle
```sh
flatpak build-bundle repo io.github.zelda64recomp.zelda64recomp.flatpak io.github.zelda64recomp.zelda64recomp --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
```