diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:16:59 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:16:59 -0700 |
| commit | a091c00c00c1d5ae5e3da7ef31b98293c76d479f (patch) | |
| tree | 62c4b3bc114faac9922873ae48672c46cc2cf7d4 /install | |
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -0,0 +1,33 @@ +#!/bin/sh + +# install script for gpu-screen-recorder for debian-like systems +# put in gpu-screen-recorder repo and run + +echo "just getting dependencies..." +#sudo apt install build-essential cmake pkgconf wayland-protocols libwayland-dev libx11-dev libxcomposite-dev libxrandr-dev \ +#libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libavfilter-dev libva-dev libdrm-dev libpulse-dev libcap-dev \ +#libvulkan-dev libxdamage-dev libpipewire-0.3-dev libdbus-1-dev \ +#libglvnd0 libgl1 libegl1 libgles2 libturbojpeg0 libnvidia-fbc1 libxnvctrl0 libcuda1 libnvidia-encode1 +sudo xbps-install -S \ +base-devel cmake meson pkgconf git \ +wayland-devel wayland-protocols \ +libX11-devel libXcomposite-devel libXrandr-devel \ +libXdamage-devel libXfixes-devel \ +# ffmpeg6-devel is required for av1 encode +ffmpeg6-devel libva-devel libdrm-devel \ +pulseaudio-devel libcap-devel \ +Vulkan-Headers vulkan-loader-devel \ +pipewire-devel dbus-devel \ +MesaLib-devel libglvnd-devel \ +libjpeg-turbo-devel + +echo "building.." +rm -rf build +meson setup build +#meson configure --prefix=/usr --buildtype=release -Dsystemd=true -Dstrip=true build +meson configure --prefix=/usr --buildtype=release -Dstrip=true build + +echo "installing..." +ninja -C build install + +echo "done" |
