ref:c53f97ecdd1643f9628b61f7fe5e107f3919a3c0

chore(flatpak): update org.kde.Platform runtime to 6.11 (#5639)

SHA: c53f97ecdd1643f9628b61f7fe5e107f3919a3c0
Author: Dave Lane <42013603+ReenigneArcher@users.noreply.github.com>
Date: 2026-09-07 20:36
Parents: ed3da06
3 files changed +40 -6
Type
.github/workflows/ci-flatpak.yml +38 −3
@@ -20,10 +20,7 @@
name: ${{ matrix.arch }}
env:
APP_ID: dev.lizardbyte.app.Sunshine
FREEDESKTOP_SDK_VERSION: "25.08"
KDE_PLATFORM_VERSION: "6.10"
MATRIX_ARCH: ${{ matrix.arch }}
NODE_VERSION: "20"
permissions:
contents: read
runs-on: ${{ matrix.runner }}
@@ -70,6 +67,44 @@
)
# uv.lock pins external artifacts; reviewed local Flatpak generator build hooks are required.
uv sync "${uv_sync_args[@]}" # NOSONAR(githubactions:S8541, githubactions:S8544)
- name: Read Flatpak SDK versions
run: |
uv run --locked --no-build --no-sync python - <<'PY'
import os
import re
from pathlib import Path
import yaml
manifest_path = Path("packaging/linux/flatpak/dev.lizardbyte.app.Sunshine.yml")
manifest = yaml.safe_load(manifest_path.read_text(encoding="utf-8"))
kde_platform_version = str(manifest["runtime-version"])
node_extensions = [
(match.group(1), config)
for name, config in manifest["add-build-extensions"].items()
if (match := re.fullmatch(r"org\.freedesktop\.Sdk\.Extension\.node(\d+)", name))
]
if len(node_extensions) != 1:
raise ValueError(f"Expected one Node SDK extension, found {len(node_extensions)}")
node_version, node_extension = node_extensions[0]
freedesktop_sdk_version = str(node_extension["version"])
version_pattern = re.compile(r"\d+(?:\.\d+)*")
versions = {
"FREEDESKTOP_SDK_VERSION": freedesktop_sdk_version,
"KDE_PLATFORM_VERSION": kde_platform_version,
"NODE_VERSION": node_version,
}
for name, version in versions.items():
if not version_pattern.fullmatch(version):
raise ValueError(f"Invalid {name}: {version!r}")
with Path(os.environ["GITHUB_ENV"]).open("a", encoding="utf-8") as github_env:
for name, version in versions.items():
print(f"{name}={version}", file=github_env)
PY
- name: Setup Dependencies Linux Flatpak
run: |
docs/maintainers/release.md +1 −2
@@ -31,6 +31,7 @@
- LizardByte Discord
- r/LizardByte subreddit
- Facebook
- X
- Update changelog in [changelog](https://github.com/LizardByte/Sunshine/tree/changelog) branch
- Update docs on [Read The Docs](https://app.readthedocs.org/projects/sunshinestream/)
@@ -45,5 +46,3 @@
- Publish currently supported DEB and RPM packages to the
[stable Cloudsmith repo](https://cloudsmith.io/~lizardbyte/repos/stable/)
- Send release notification to Moonlight Discord server
6. X (Twitter) API is no longer free, so we must manually post the release there.
packaging/linux/flatpak/dev.lizardbyte.app.Sunshine.yml +1 −1
@@ -1,7 +1,7 @@
---
app-id: "@PROJECT_FQDN@"
runtime: org.kde.Platform
runtime-version: "6.10"
runtime-version: "6.11"
sdk: org.kde.Sdk
add-build-extensions:
org.freedesktop.Sdk.Extension.node20: