blob: f04c3faa838414f9f8d1633e5f8c9d8b86a9669d (
plain)
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
|
#!/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"
|