21 lines
765 B
Bash
Executable File
21 lines
765 B
Bash
Executable File
#!/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
|
|
|
|
echo "building.."
|
|
rm -rf build
|
|
meson setup build
|
|
meson configure --prefix=/usr --buildtype=release -Dsystemd=true -Dstrip=true build
|
|
|
|
echo "installing..."
|
|
ninja -C build install
|
|
|
|
echo "done"
|