build(linux): generate glad sources at compile time (#4798)

Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
This commit is contained in:
David Lane
2026-03-15 21:21:41 -04:00
committed by GitHub
parent 0bbaa2db7c
commit ea201155f4
28 changed files with 384 additions and 7283 deletions
@@ -50,6 +50,11 @@ modules:
# FFmpeg prebuilt binaries
- "modules/ffmpeg.json"
# Python PyPI build-time dependencies (e.g. jinja2 for glad generator).
# glad-dependencies.json is generated at CI time by flatpak-pip-generator and
# placed alongside the manifest in the build directory.
- "glad-dependencies.json"
- name: sunshine
builddir: true
build-options:
@@ -71,6 +76,7 @@ modules:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_CUDA_COMPILER=/app/cuda/bin/nvcc
- -DFFMPEG_PREPARED_BINARIES=/app/ffmpeg
- -DGLAD_SKIP_PIP_INSTALL=ON
- -DSUNSHINE_ASSETS_DIR=share/sunshine
- -DSUNSHINE_BUILD_FLATPAK=ON
- -DSUNSHINE_EXECUTABLE_PATH=/app/bin/sunshine