Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
507 changes: 501 additions & 6 deletions dev.lizardbyte.app.Sunshine.metainfo.xml

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions dev.lizardbyte.app.Sunshine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ finish-args:
- --env=PULSE_PROP_media.category=Manager # allow sunshine to manage audio sinks
- --env=SUNSHINE_MIGRATE_CONFIG=1 # migrate config files to the new location
- --filesystem=home # need to save files in user's home directory
- --filesystem=xdg-run/pipewire-0 # required for XDG portal grab audio
- --share=ipc # required for X11 shared memory extension
- --share=network # access network
- --socket=pulseaudio # play sounds using pulseaudio
Expand Down Expand Up @@ -46,14 +47,22 @@ modules:
# Caching is configured until here, not including CUDA, since it is too large for GitHub cache
- "modules/cuda.json"

# 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:
append-path: /usr/lib/sdk/node20/bin
env:
BUILD_VERSION: "2025.924.154138"
BUILD_VERSION: "2026.516.143833"
BRANCH: "master"
COMMIT: "86188d47a7463b0f73b35de18a628353adeaa20e"
COMMIT: "14ffa6fdaa53f7b51512be2b3d24f3939695403c"
XDG_CACHE_HOME: /run/build/sunshine/flatpak-node/cache
npm_config_cache: /run/build/sunshine/flatpak-node/npm-cache
npm_config_nodedir: /usr/lib/sdk/node20
Expand All @@ -66,13 +75,17 @@ modules:
- -DBUILD_WERROR=ON
- -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
- -DSUNSHINE_ENABLE_CUDA=ON
- -DSUNSHINE_ENABLE_DRM=ON
- -DSUNSHINE_ENABLE_KWIN=ON
- -DSUNSHINE_ENABLE_PORTAL=ON
- -DSUNSHINE_ENABLE_WAYLAND=ON
- -DSUNSHINE_ENABLE_X11=ON
- -DSUNSHINE_ENABLE_DRM=ON
- -DSUNSHINE_ENABLE_CUDA=ON
- -DSUNSHINE_PUBLISHER_NAME='LizardByte'
- -DSUNSHINE_PUBLISHER_WEBSITE='https://app.lizardbyte.dev'
- -DSUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'
Expand All @@ -88,6 +101,6 @@ modules:
- generated-sources.json
- type: git
url: "https://github.com/LizardByte/Sunshine.git"
commit: "86188d47a7463b0f73b35de18a628353adeaa20e"
commit: "14ffa6fdaa53f7b51512be2b3d24f3939695403c"
- type: file
path: package-lock.json
1,986 changes: 1,006 additions & 980 deletions generated-sources.json

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions glad-dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "python3-Jinja2",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"Jinja2>=2.7,<4.0\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl",
"sha256": "85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz",
"sha256": "722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698"
}
],
"cleanup": [
"*"
]
}
6 changes: 3 additions & 3 deletions modules/boost.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"buildsystem": "simple",
"build-commands": [
"cd tools/build && bison -y -d -o src/engine/jamgram.cpp src/engine/jamgram.y",
"./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=filesystem,locale,log,program_options,system",
"./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=filesystem,locale,log,program_options",
"./b2 install variant=release link=shared runtime-link=shared cxxflags=\"$CXXFLAGS\""
],
"sources": [
{
"type": "archive",
"url": "https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-cmake.tar.xz",
"sha256": "7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5"
"url": "https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-cmake.tar.xz",
"sha256": "67acec02d0d118b5de9eb441f5fb707b3a1cdd884be00ca24b9a73c995511f74"
}
]
}
40 changes: 40 additions & 0 deletions modules/ffmpeg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "ffmpeg-prebuilt",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/ffmpeg",
"tar -xzf ffmpeg.tar.gz -C /app/ffmpeg --strip-components=1"
],
"sources": [
{
"type": "file",
"url": "https://github.com/LizardByte/build-deps/releases/download/v2026.516.30821/Linux-x86_64-ffmpeg.tar.gz",
"sha256": "c32319fcc2867befe8ff3ae26b4d3a58378c3a9c1bfef9029c9969321c3bc6ec",
"dest-filename": "ffmpeg.tar.gz",
"only-arches": [
"x86_64"
],
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/LizardByte/build-deps/releases/latest",
"version-query": ".tag_name",
"url-query": ".assets[] | select(.name==\"Linux-x86_64-ffmpeg.tar.gz\") | .browser_download_url"
}
},
{
"type": "file",
"url": "https://github.com/LizardByte/build-deps/releases/download/v2026.516.30821/Linux-aarch64-ffmpeg.tar.gz",
"sha256": "10b6c9440ba6178ec3b944f6c6f697253497cad5196d23a2d32d335daae0062e",
"dest-filename": "ffmpeg.tar.gz",
"only-arches": [
"aarch64"
],
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/LizardByte/build-deps/releases/latest",
"version-query": ".tag_name",
"url-query": ".assets[] | select(.name==\"Linux-aarch64-ffmpeg.tar.gz\") | .browser_download_url"
}
}
]
}
Loading