-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsunshine build
More file actions
77 lines (72 loc) · 1.67 KB
/
Copy pathsunshine build
File metadata and controls
77 lines (72 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
sudo dnf group install -y "development-tools"
sudo dnf install -y \
appstream \
cmake \
desktop-file-utils \
doxygen \
gcc \
gcc-c++ \
git \
glslc \
graphviz \
libappstream-glib \
libcap-devel \
libcurl-devel \
libdrm-devel \
libevdev-devel \
libnotify-devel \
libX11-devel \
libxcb-devel \
libXcursor-devel \
libXfixes-devel \
libXi-devel \
libXinerama-devel \
libXrandr-devel \
libXtst-devel \
mesa-libGL-devel \
mesa-libgbm-devel \
miniupnpc-devel \
ninja-build \
npm \
numactl-devel \
openssl-devel \
opus-devel \
pipewire-devel \
pulseaudio-libs-devel \
python3-jinja2 \
qt6-qtbase-devel \
qt6-qtsvg-devel \
rpm-build \
vulkan-loader-devel \
wget \
which \
xorg-x11-server-Xvfb \
libva-devel \
libappindicator-gtk3-devel \
libstdc++-static
git clone https://github.com/lizardbyte/sunshine.git
cd sunshine
git checkout v2026.516.143833
git submodule update --init --recursive
mkdir build
export BUILD_VERSION=2026.516.143833
export BRANCH=master
cmake -B build -G Ninja -S . \
-DBUILD_DOCS=OFF \
-DBUILD_TESTS=OFF \
-DSUNSHINE_ENABLE_TRAY=OFF \
-DSUNSHINE_ENABLE_CUDA=OFF \
-DCUDA_FAIL_ON_MISSING=OFF \
-DCUDA_INHERIT_COMPILE_OPTIONS=OFF \
-DSUNSHINE_ENABLE_VULKAN=OFF \
-DSUNSHINE_ENABLE_KWIN=OFF \
-DSUNSHINE_ENABLE_DRM=ON \
-DSUNSHINE_ENABLE_VAAPI=ON \
-DSUNSHINE_ENABLE_WAYLAND=OFF \
-DSUNSHINE_ENABLE_PORTAL=OFF \
-DSUNSHINE_ENABLE_X11=OFF \
-DCMAKE_PREFIX_PATH=/opt/mesa
ninja -C build
ninja -C build install
sudo mkdir -p /usr/share/sunshine
sudo cp -r sunshine/* /usr/share/sunshine/