From 68d5292607de2e83d4b24ea5886c842376ae590c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sat, 22 Mar 2025 18:16:21 +0300 Subject: [PATCH] gpu-screen-recorder + deps --- gpu-screen-recorder-ui/alr.sh | 22 ++++++++++++---------- gpu-screen-recorder-ui/postinstall.sh | 2 +- gpu-screen-recorder/postinstall.sh | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/gpu-screen-recorder-ui/alr.sh b/gpu-screen-recorder-ui/alr.sh index f5a09da..39e646d 100644 --- a/gpu-screen-recorder-ui/alr.sh +++ b/gpu-screen-recorder-ui/alr.sh @@ -1,6 +1,6 @@ name='gpu-screen-recorder-ui' version='1.3.0' -release='1' +release='2' desc='A fullscreen overlay UI for GPU Screen Recorder in the style of ShadowPlay.' desk_ru='Полноэкранный интерфейс наложения для GPU Screen Recorder в стиле ShadowPlay.' homepage='https://git.dec05eba.com/gpu-screen-recorder-ui' @@ -44,6 +44,7 @@ deps_arch=( build_deps=( "meson" + "ninja-build" "libglvnd-devel" "libX11-devel" "libXrandr-devel" @@ -58,6 +59,7 @@ build_deps=( ) build_deps_arch=( "meson" + "ninja" ) sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-ui.git.${version}.tar.gz") checksums=('SKIP') @@ -68,20 +70,20 @@ scripts=( 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-global-hotkeys - echo ./usr/local/bin/gsr-ui - echo ./usr/local/bin/gsr-ui-cli - echo ./usr/local/lib/systemd/user/gpu-screen-recorder-ui.service - printf '"%s" ' ./usr/local/share/gsr-ui/fonts/* - printf '"%s" ' ./usr/local/share/gsr-ui/images/* + echo ./usr/bin/gsr-global-hotkeys + echo ./usr/bin/gsr-ui + echo ./usr/bin/gsr-ui-cli + echo ./usr/lib/systemd/user/gpu-screen-recorder-ui.service + printf '"%s" ' ./usr/share/gsr-ui/fonts/* + printf '"%s" ' ./usr/share/gsr-ui/images/* } \ No newline at end of file diff --git a/gpu-screen-recorder-ui/postinstall.sh b/gpu-screen-recorder-ui/postinstall.sh index 554c0df..dce9ab9 100644 --- a/gpu-screen-recorder-ui/postinstall.sh +++ b/gpu-screen-recorder-ui/postinstall.sh @@ -1,3 +1,3 @@ #!/bin/sh -/usr/sbin/setcap cap_setuid+ep /usr/local/bin/gsr-global-hotkeys \ No newline at end of file +/usr/sbin/setcap cap_setuid+ep /usr/bin/gsr-global-hotkeys \ No newline at end of file diff --git a/gpu-screen-recorder/postinstall.sh b/gpu-screen-recorder/postinstall.sh index a72ac43..37724cc 100644 --- a/gpu-screen-recorder/postinstall.sh +++ b/gpu-screen-recorder/postinstall.sh @@ -1,3 +1,3 @@ #!/bin/sh -/usr/sbin/setcap cap_sys_admin+ep /usr/local/bin/gsr-kms-server \ No newline at end of file +/usr/sbin/setcap cap_sys_admin+ep /usr/bin/gsr-kms-server \ No newline at end of file