fix(ci): use archive sources instead of git clones for flatpak
This commit is contained in:
@@ -33,6 +33,8 @@ For a few dependencies it is possible to select system or embedded versions, che
|
||||
|
||||
For more advanced options, check [CMakeLists.txt](../CMakeLists.txt).
|
||||
|
||||
For the Flatpak, see [flatpak](flatpak.md).
|
||||
|
||||
## Profiling / tracing build
|
||||
|
||||
To build the server with Perfetto tracing for local profiling, use the `server-tracing` preset (it is the `server` preset plus `WIVRN_USE_PERFETTO=ON`):
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# Flatpak maintenance
|
||||
|
||||
The manifest template is `flatpak/io.github.wivrn.wivrn.yml.in`. All remote sources are archives pinned with a sha256, downloaded from the project's official host: a release tarball, or an archive of the official repository. Do not use third-party mirrors or `type: git` sources. Get a sha256 with `curl -L <url> | sha256sum`.
|
||||
|
||||
| When | Do |
|
||||
|---|---|
|
||||
| Updating monado | Update `monado-rev`. Nothing else. |
|
||||
| Updating xrizer | Update the commit in its archive URL and its sha256. The cargo sources are regenerated by `tools/gen_flatpak_manifest.py`. |
|
||||
| Updating OpenComposite | Also update the `libs/openxr-sdk`, `libs/glm` and `libs/libunwind` archives to its submodule commits: `curl "https://gitlab.com/api/v4/projects/znixian%2FOpenOVR/repository/tree?path=libs&ref=<commit>"` (entries of type `commit`). |
|
||||
| Updating the KDE runtime | Update the `flatpak-github-actions:kde-<version>` container tag in [Build.yml](../.github/workflows/Build.yml) to match `runtime-version`. |
|
||||
| Updating any other dependency | Update its URL and sha256. |
|
||||
Reference in New Issue
Block a user