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-notification'
version='1.0.4'
release='1'
release='2'
desc='Notification in the style of ShadowPlay.'
desk_ru='Уведомления в стиле ShadowPlay'
homepage='https://git.dec05eba.com/gpu-screen-recorder-notification'
@ -28,6 +28,7 @@ deps_arch=(
build_deps=(
"meson"
"ninja-build"
"libglvnd-devel"
"libX11-devel"
"libXrandr-devel"
@ -36,6 +37,7 @@ build_deps=(
)
build_deps_arch=(
"meson"
"ninja"
)
sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-notification.git.${version}.tar.gz")
@ -43,18 +45,18 @@ checksums=('SKIP')
build() {
cd "$srcdir"
meson build
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/gsr-notify
echo ./usr/local/share/gsr-notify/fonts/NotoSans-Bold.ttf
printf '"%s" ' ./usr/local/share/gsr-notify/images/*
echo ./usr/bin/gsr-notify
printf '"%s" ' ./usr/share/gsr-notify/fonts/*
printf '"%s" ' ./usr/share/gsr-notify/images/*
}