gpu-screen-recorder 5.3.3-3

This commit is contained in:
2025-03-22 18:15:47 +03:00
parent b6f26fcfd0
commit 31f1bc8cd4
2 changed files with 19 additions and 15 deletions

View File

@ -1,6 +1,6 @@
name='gpu-screen-recorder'
version='5.3.3'
release='2'
release='3'
desc='A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux.'
desk_ru='Экранный рекордер, похожий на ShadowPlay для Linux. Самый быстрый экранный рекордер для Linux.'
homepage='https://git.dec05eba.com/gpu-screen-recorder'
@ -44,6 +44,7 @@ deps_arch=(
build_deps=(
"meson"
"ninja-build"
"vulkan-headers"
"ffmpeg-devel"
"libXcomposite-devel"
@ -57,6 +58,7 @@ build_deps=(
)
build_deps_arch=(
"meson"
"ninja"
"vulkan-headers"
)
@ -69,19 +71,19 @@ scripts=(
build() {
cd "$srcdir"
meson build -Dsystemd=true
meson compile -C build -j $(($(nproc) - 1))
meson setup build --prefix=/usr --buildtype=release -Dstrip=true
ninja -C build -j $(($(nproc) - 1))
}
package() {
cd "$srcdir"
meson install -C build --destdir "$pkgdir"
meson install -C build --destdir="$pkgdir"
}
files() {
echo ./usr/local/bin/gpu-screen-recorder
echo ./usr/local/bin/gsr-kms-server
echo ./usr/local/lib/modprobe.d/gsr-nvidia.conf
echo ./usr/local/lib/systemd/user/gpu-screen-recorder.service
echo ./usr/bin/gpu-screen-recorder
echo ./usr/bin/gsr-kms-server
echo ./usr/lib/modprobe.d/gsr-nvidia.conf
echo ./usr/lib/systemd/user/gpu-screen-recorder.service
}