Dependencies & Third-Party Packages
Bundled submodules, FFmpeg prebuilt pins, Flatpak versions, and community-package warnings.
Bundled git submodules#
Initialize before any CMake configure with git submodule update --init --recursive. Key paths: third-party/moonlight-common-c, Simple-Web-Server, libdisplaydevice, tray, glad, nv-codec-headers, nanors, wlr-protocols, wayland-protocols, doxyconfig, build-deps, lizardbyte-common, hermes-kms, plus optional googletest, inputtino, nvapi, plasma-wayland-protocols, TPCircularBuffer, ViGEmClient. If a directory under third-party/ is empty, re-run the init for that path; shallow CI clones may need git fetch --tags inside build-deps.
git submodule update --init --recursive
git -C third-party/build-deps describe --tags --exact-matchFFmpeg prebuilt binaries#
SolarFlare links static FFmpeg libraries from LizardByte/build-deps releases. The tag is read from the third-party/build-deps submodule via cmake/dependencies/ffmpeg.cmake; checksums are authoritative in ffmpeg.cmake. Override with -DFFMPEG_PREPARED_BINARIES=/path/to/extracted/ffmpeg. Flatpak may pin a different release in packaging/linux/flatpak/modules/ffmpeg.json and builds with -DFFMPEG_PREPARED_BINARIES=/app/ffmpeg.
Node.js and Flatpak pins#
Run npm install --no-audit --no-fund before CMake (locks in package-lock.json; Vue 3.5, Vite 6, Bootstrap 5). Flatpak uses the Node 20 SDK extension and offline sources via flatpak-node-generator. Build-time pins live in packaging/linux/flatpak/modules/: CUDA, FFmpeg prebuilt, Boost 1.89.0, nlohmann_json 3.11.3, miniupnpc 2.3.3, KDE Platform 6.10, Freedesktop SDK 25.08.
Community packages (upstream only)#
Chocolatey, Scoop, nixpkgs, Solus, and Flathub links install third-party builds of upstream LizardByte Sunshine — not SolarFlare. They do not include the fork Web UI, performance controls, or maintainer support. For SolarFlare use scripts/linux-install.sh or GitHub release assets. See packaging/linux/flatpak/README.md for a local Flatpak build; published Flathub builds are not SolarFlare.
Warning
Community packages install upstream Sunshine, not SolarFlare. Verify the package source before reporting fork issues.