-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmoonlight build
More file actions
44 lines (32 loc) · 1011 Bytes
/
Copy pathmoonlight build
File metadata and controls
44 lines (32 loc) · 1011 Bytes
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
sudo dnf install \
git \
qt6-qtbase-devel \
qt6-qtdeclarative-devel \
qt6-qtsvg-devel \
SDL2-devel \
SDL2_ttf-devel \
libva-devel \
libvdpau-devel \
libdrm-devel \
opus-devel \
openssl-devel \
pulseaudio-libs-devel \
alsa-lib-devel \
wayland-devel \
wayland-protocols-devel \
vulkan-loader-devel \
pkgconf-pkg-config
#!/bin/bash
MESA_PREFIX="$HOME/mesa-install/usr"
export PATH="$MESA_PREFIX/bin:$HOME/ffmpeg/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/ffmpeg/lib:$MESA_PREFIX/lib64:$MESA_PREFIX/lib:$LD_LIBRARY_PATH"
export LIBGL_DRIVERS_PATH="$MESA_PREFIX/lib64/dri"
export LIBVA_DRIVERS_PATH="$MESA_PREFIX/lib64/dri"
export PKG_CONFIG_PATH="$HOME/ffmpeg/lib/pkgconfig:$MESA_PREFIX/lib64/pkgconfig:$MESA_PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
exec "$@"
cd ~
git clone --recursive https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make -j$(nproc)