{
 "app_id": "dev.lizardbyte.app.Sunshine",
 "source_url": "https://raw.githubusercontent.com/flathub/dev.lizardbyte.app.Sunshine/master/dev.lizardbyte.app.Sunshine.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=home",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--system-talk-name=org.freedesktop.Avahi"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-17T16:09:38.285486+00:00",
 "manifest": {
  "app-id": "dev.lizardbyte.app.Sunshine",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "add-build-extensions": {
   "org.freedesktop.Sdk.Extension.node20": {
    "directory": "lib/sdk/node20",
    "version": "25.08",
    "no-autodownload": true,
    "autodelete": false
   }
  },
  "command": "sunshine",
  "separate-locales": false,
  "finish-args": [
   "--device=all",
   "--env=PULSE_PROP_media.category=Manager",
   "--env=SUNSHINE_MIGRATE_CONFIG=1",
   "--filesystem=home",
   "--filesystem=xdg-run/pipewire-0",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--system-talk-name=org.freedesktop.Avahi",
   "--talk-name=org.freedesktop.Flatpak",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/lib/*.la",
   "/lib/*.a",
   "/share/man"
  ],
  "modules": [
   "modules/xvfb/xvfb.json",
   "modules/nlohmann_json.json",
   "modules/avahi.json",
   "modules/boost.json",
   "modules/libevdev.json",
   "modules/miniupnpc.json",
   "modules/numactl.json",
   "modules/cuda.json",
   "modules/ffmpeg.json",
   "glad-dependencies.json",
   {
    "name": "sunshine",
    "builddir": true,
    "build-options": {
     "append-path": "/usr/lib/sdk/node20/bin",
     "env": {
      "BUILD_VERSION": "2026.914.233613",
      "BRANCH": "master",
      "COMMIT": "63d35f702ee9e362e43263742981836ec0710384",
      "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",
      "npm_config_offline": "true",
      "NPM_CONFIG_LOGLEVEL": "info"
     }
    },
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBOOST_USE_STATIC=OFF",
     "-DBUILD_DOCS=OFF",
     "-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_ENABLE_CUDA=ON",
     "-DSUNSHINE_ENABLE_DRM=ON",
     "-DSUNSHINE_ENABLE_KWIN=ON",
     "-DSUNSHINE_ENABLE_PORTAL=ON",
     "-DSUNSHINE_ENABLE_WAYLAND=ON",
     "-DSUNSHINE_ENABLE_X11=ON",
     "-DSUNSHINE_EXECUTABLE_PATH=/app/bin/sunshine",
     "-DSUNSHINE_PUBLISHER_NAME='LizardByte'",
     "-DSUNSHINE_PUBLISHER_WEBSITE='https://app.lizardbyte.dev'",
     "-DSUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'"
    ],
    "no-make-install": false,
    "post-install": [
     "install -D $FLATPAK_BUILDER_BUILDDIR/packaging/linux/flatpak/scripts/* /app/bin",
     "install -D $FLATPAK_BUILDER_BUILDDIR/packaging/linux/flatpak/apps.json /app/share/sunshine/apps.json"
    ],
    "run-tests": true,
    "test-rule": "",
    "test-commands": [
     "npm run serve & xvfb-run tests/test_sunshine --gtest_color=yes"
    ],
    "sources": [
     "generated-sources.json",
     {
      "type": "git",
      "url": "https://github.com/LizardByte/Sunshine.git",
      "commit": "63d35f702ee9e362e43263742981836ec0710384"
     },
     {
      "type": "file",
      "path": "package-lock.json"
     }
    ]
   }
  ]
 }
}