-
-
Save wyrlwind/65b0539fc8149f604e3b1d6fed1439fe to your computer and use it in GitHub Desktop.
Compile Gamescope on Ubuntu 22.04.2 LTS (Jammy) - 6.3.0-060300-generic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo aptitude -y install git meson ninja-build ninja-build:i386 generate-ninja build-essential cmake libexpat-dev libx11-dev libwayland-dev \ | |
libxkbcommon-dev libx11-xcb-dev libxdamage-dev libxcomposite-dev libxtst-dev \ | |
pkg-config libpipewire-0.3-dev libvulkan-dev libvulkan-dev:i386 glslang-tools libxrender-dev \ | |
libxres-dev libxmu-dev libdrm-dev libxml2-dev graphviz graphviz-dev doxygen \ | |
xsltproc xmlto libsdl2-dev libpixman-1-dev libinput-dev libseat-dev libsystemd-dev \ | |
xwayland libxcb-composite0-dev libxcb-icccm4-dev libxcb-res0-dev libbenchmark-dev libxxf86vm-dev \ | |
libcap-dev edid-decode | |
cd ~/ | |
#install Vulkan-headers | |
git clone https://github.com/KhronosGroup/Vulkan-Headers.git && \ | |
cd Vulkan-Headers && \ | |
mkdir build && \ | |
cd build && \ | |
cmake .. && \ | |
sudo make install | |
cd ~/ | |
#build & compile & install hwdata | |
git clone https://github.com/vcrhonek/hwdata.git && \ | |
cd hwdata && \ | |
./configure && \ | |
make && \ | |
sudo make install | |
cd ~/ | |
#build & compile & install Wayland | |
git clone https://gitlab.freedesktop.org/wayland/wayland && \ | |
cd wayland && \ | |
meson build/ --prefix=/usr && \ | |
sudo ninja -C build/ install | |
cd ~/ | |
#build & compile & install Wayland-protocols | |
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git && \ | |
cd wayland-protocols && \ | |
meson build/ --prefix=/usr && \ | |
sudo ninja -C build/ install | |
cd ~/ | |
#build & compile & install gamescope | |
git clone https://github.com/ValveSoftware/gamescope.git && \ | |
cd gamescope && \ | |
git submodule update --init && \ | |
meson build/ && \ | |
ninja -C build/ && \ | |
sudo meson install -C build/ --skip-subprojects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment