CMake: Add a flatpak build for org.ladybird.Ladybird

This build depends on the KDE Flatpak SDK, and builds any missing
dependencies manually as source modules.

The flatpak can be built with the following command:

```sh
flatpak-builder --user --force-clean --install-deps-from=flathub \
    --ccache --repo=Build/repo --install Build/flatpak \
    Meta/CMake/flatpak/org.ladybird.Ladybird.json
```

After building, the flatpak can be run with:

```sh
flatpak run --user --devel org.ladybird.Ladybird
```

If there are issues launching RequestServer, the .pid and .sock files
under $XDG_RUNTIME_DIR may need removed.

```sh
flatpak run --user --command=sh --devel org.ladybird.Ladybird
rm -f $XDG_RUNTIME_DIR/Ladybird.*
```
This commit is contained in:
Andrew Kaster
2025-07-07 09:45:40 -06:00
committed by Andrew Kaster
parent 204e787131
commit 44d2e22b93
Notes: github-actions[bot] 2025-07-08 20:36:14 +00:00
10 changed files with 659 additions and 0 deletions

1
.gitignore vendored
View File

@@ -27,6 +27,7 @@ output/
.vim/
.exrc
.helix/
.flatpak-builder/
# Environments
.venv/