mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
fix(linux): migrate to qt tray (#4907)
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
This commit is contained in:
Submodule packaging/linux/flatpak/deps/shared-modules deleted from 8c3f3cfa5a
@@ -1,10 +1,14 @@
|
||||
---
|
||||
app-id: "@PROJECT_FQDN@"
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: "24.08"
|
||||
sdk: org.freedesktop.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.node20
|
||||
runtime: org.kde.Platform
|
||||
runtime-version: "6.10"
|
||||
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:
|
||||
@@ -37,7 +41,6 @@ modules:
|
||||
- "modules/nlohmann_json.json"
|
||||
|
||||
# Runtime dependencies
|
||||
- shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json
|
||||
- "modules/avahi.json"
|
||||
- "modules/boost.json"
|
||||
- "modules/libevdev.json"
|
||||
@@ -79,13 +82,13 @@ modules:
|
||||
- -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_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'
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "cuda",
|
||||
"build-options": {
|
||||
"no_debuginfo": true
|
||||
"no_debuginfo": true,
|
||||
"prepend-ld-library-path": "/app/lib:/app/lib64"
|
||||
},
|
||||
"buildsystem": "simple",
|
||||
"cleanup": [
|
||||
@@ -9,18 +10,41 @@
|
||||
],
|
||||
"build-commands": [
|
||||
"chmod u+x ./cuda.run",
|
||||
"./cuda.run --silent --toolkit --toolkitpath=$FLATPAK_DEST/cuda --no-opengl-libs --no-man-page --no-drm --tmpdir=$FLATPAK_BUILDER_BUILDDIR",
|
||||
"rm -r $FLATPAK_DEST/cuda/nsight-systems-*",
|
||||
"./cuda.run --silent --toolkit --toolkitpath=$FLATPAK_DEST/cuda --no-opengl-libs --no-man-page --no-drm --tmpdir=$FLATPAK_BUILDER_BUILDDIR || { echo '=== cuda-installer.log ==='; cat /tmp/cuda-installer.log 2>/dev/null; true; }",
|
||||
"test -f $FLATPAK_DEST/cuda/bin/nvcc",
|
||||
"rm -rf $FLATPAK_DEST/cuda/nsight-systems-*",
|
||||
"rm ./cuda.run"
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "libxml2",
|
||||
"config-opts": [
|
||||
"--without-python",
|
||||
"--without-debug",
|
||||
"--without-history"
|
||||
],
|
||||
"cleanup": [
|
||||
"/share",
|
||||
"/include",
|
||||
"/bin"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.9.tar.xz",
|
||||
"sha256": "a2c9ae7b770da34860050c309f903221c67830c86e4a7e760692b803df95143a"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "file",
|
||||
"only-arches": [
|
||||
"x86_64"
|
||||
],
|
||||
"url": "https://developer.download.nvidia.com/compute/cuda/12.9.1/local_installers/cuda_12.9.1_575.57.08_linux.run",
|
||||
"sha256": "0f6d806ddd87230d2adbe8a6006a9d20144fdbda9de2d6acc677daa5d036417a",
|
||||
"url": "https://developer.download.nvidia.com/compute/cuda/13.2.0/local_installers/cuda_13.2.0_595.45.04_linux.run",
|
||||
"sha256": "c599b651582c8f345ebde7bcf089b7dcfcd8afd7d3ea7f50525698c563a239d7",
|
||||
"dest-filename": "cuda.run"
|
||||
},
|
||||
{
|
||||
@@ -28,8 +52,8 @@
|
||||
"only-arches": [
|
||||
"aarch64"
|
||||
],
|
||||
"url": "https://developer.download.nvidia.com/compute/cuda/12.9.1/local_installers/cuda_12.9.1_575.57.08_linux_sbsa.run",
|
||||
"sha256": "64f47ab791a76b6889702425e0755385f5fa216c5a9f061875c7deed5f08cdb6",
|
||||
"url": "https://developer.download.nvidia.com/compute/cuda/13.2.0/local_installers/cuda_13.2.0_595.45.04_linux_sbsa.run",
|
||||
"sha256": "9684ebc64988f71ef1c70846cc9d158fb27950c1355bf37c8795c346346b6a72",
|
||||
"dest-filename": "cuda.run"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -99,6 +99,9 @@
|
||||
},
|
||||
{
|
||||
"name": "libtirpc",
|
||||
"build-options": {
|
||||
"cflags": "-std=gnu17"
|
||||
},
|
||||
"config-opts": [
|
||||
"--disable-gssapi"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user