blob: a17abd312cc188e8fb65d2abcb998771feb9c1a4 (
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
34
|
# Maintainer: dec05eba <dec05eba@protonmail.com>
pkgname=gpu-screen-recorder
pkgver=r932.027b29c
pkgrel=1
pkgdesc='A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux'
arch=('x86_64')
url="https://git.dec05eba.com/gpu-screen-recorder"
license=('GPL-3.0-only')
makedepends=('meson' 'vulkan-headers')
depends=('ffmpeg' 'libglvnd' 'libxcomposite' 'libxrandr' 'libxfixes' 'libxdamage' 'libx11' 'libpulse' 'libva' 'libdrm' 'libcap' 'wayland' 'libpipewire' 'dbus')
optdepends=(
'nvidia-utils: Required to record your screen on NVIDIA'
'libxnvctrl: Required when using the -oc option to overclock the NVIDIA GPU to workaround NVIDIA p2 state bug'
'mesa: Required to record your screen on AMD/Intel'
'libva-mesa-driver: Required to record your screen on AMD'
'libva-intel-driver: Required to record your screen on Intel G45 and HD Graphics family'
'intel-media-driver: Required to record your screen on Intel Broadwell or later iGPUs'
'linux-firmware: Required to record your screen on Intel Skylake or later iGPUs'
)
source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/gpu-screen-recorder.git.${pkgver}.tar.gz")
sha512sums=('e7f4fa5d2f3a49c78f8d6c03cdc52227cdd5aa4a14e187a5144a6133010cdc7f8acf48d805d2c907c6c38c4185e34e4cc20498bc2a2ef34992aefb32bcc06ab2')
install="${pkgname}.install" # setcap cap_sys_admin (gsr-kms-server), setcap cap_sys_nice (gpu-screen-recorder)
build() {
cd "$srcdir"
arch-meson build -Dsystemd=true
meson compile -C build
}
package() {
cd "$srcdir"
meson install -C build --destdir "$pkgdir"
}
|