From 41844a4992b30f4e19147104c0940983b7e3a748 Mon Sep 17 00:00:00 2001 From: cherrybtw Date: Sun, 22 Mar 2026 11:46:59 +0100 Subject: [PATCH 1/4] gpu-screen-recorder: update to 5.12.5 --- srcpkgs/gpu-screen-recorder/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gpu-screen-recorder/template b/srcpkgs/gpu-screen-recorder/template index 5c011d1e008cf5..51fcaf4ee9dc8d 100644 --- a/srcpkgs/gpu-screen-recorder/template +++ b/srcpkgs/gpu-screen-recorder/template @@ -1,6 +1,6 @@ # Template file for 'gpu-screen-recorder' pkgname=gpu-screen-recorder -version=5.12.4 +version=5.12.5 revision=1 build_style=meson hostmakedepends="meson ninja pkg-config wayland-devel" @@ -13,7 +13,7 @@ maintainer="cherrybtw " license="GPL-3.0-only" homepage="https://git.dec05eba.com/gpu-screen-recorder/about" distfiles="https://dec05eba.com/snapshot/gpu-screen-recorder.git.${version}.tar.gz" -checksum=b401e32dcd9f0f44033eaa223c98c0293fff0800c2790b4ff621c5a919716383 +checksum=3207bef976d130f8df465f4290304e226f82ce0c226b6a8cb9756e6316e15b79 post_patch() { vsed -i "/meson_post_install.sh/d" meson.build From c08e94f2046f5f96b553321758ab437ade92d38b Mon Sep 17 00:00:00 2001 From: cherrybtw Date: Sun, 22 Mar 2026 11:48:17 +0100 Subject: [PATCH 2/4] gpu-screen-recorder-ui: update to 1.10.8 --- srcpkgs/gpu-screen-recorder-ui/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gpu-screen-recorder-ui/template b/srcpkgs/gpu-screen-recorder-ui/template index 724162a43c406f..7131c0f0728839 100644 --- a/srcpkgs/gpu-screen-recorder-ui/template +++ b/srcpkgs/gpu-screen-recorder-ui/template @@ -1,6 +1,6 @@ # Template file for 'gpu-screen-recorder-ui' pkgname=gpu-screen-recorder-ui -version=1.10.7 +version=1.10.8 revision=1 build_style=meson hostmakedepends="pkg-config meson desktop-file-utils wayland-devel" @@ -13,7 +13,7 @@ maintainer="cherrybtw " license="GPL-3.0-only, OFL-1.1, CC-BY-SA-3.0, CC0-1.0, CC-BY-4.0" homepage="https://git.dec05eba.com/gpu-screen-recorder-ui/about" distfiles="https://dec05eba.com/snapshot/gpu-screen-recorder-ui.git.${version}.tar.gz" -checksum=8644045c0e5786552aaa747dde8c0441dc01d16783971fb2c22aa47f08a9470e +checksum=59a6e9c44f67e288d8c0981633aabcf3c74c12767278fa075c2a582ecefb65eb post_patch() { vsed -i "s/meson.add_install_script/# meson.add_install_script/" meson.build From d7974a9a193b6158fa07d85460a6c8d977fc6638 Mon Sep 17 00:00:00 2001 From: cherrybtw Date: Sun, 22 Mar 2026 16:32:31 +0100 Subject: [PATCH 3/4] gpu-screen-recorder: remove README.voidlinux --- .../files/README.voidlinux | 35 ------------------- srcpkgs/gpu-screen-recorder/template | 4 --- 2 files changed, 39 deletions(-) delete mode 100644 srcpkgs/gpu-screen-recorder/files/README.voidlinux diff --git a/srcpkgs/gpu-screen-recorder/files/README.voidlinux b/srcpkgs/gpu-screen-recorder/files/README.voidlinux deleted file mode 100644 index 43ed456776bddd..00000000000000 --- a/srcpkgs/gpu-screen-recorder/files/README.voidlinux +++ /dev/null @@ -1,35 +0,0 @@ -gpu-screen-recorder supports multiple modes of operation. - -By default, gpu-screen-recorder runs without elevated privileges. -This mode is sufficient for most use cases, but may have limitations -when recording using KMS (Wayland/X11). - -For high-performance KMS recording, elevated privileges are required. -Upstream provides several possible approaches: - -1) Linux capabilities (prefered by upstream): - - # setcap cap_sys_admin+ep /usr/bin/gsr-kms-server - - Note: cap_sys_admin is a very powerful capability and should be - granted with care. - -2) setuid root (NOT recommended): - - # chmod 4755 /usr/bin/gsr-kms-server - - WARNING: This allows the binary to run with full root privileges. - This approach significantly increases the attack surface and - should only be used if you fully understand the risks. - -3) pkexec (if XDG portals are properly configured): - - gpu-screen-recorder can invoke privileged operations via pkexec - when portals are available. - -On Wayland systems, using portal-based capture (-w portal) is recommended -and does not require any elevated privileges. - -No privilege escalation is performed automatically by the package. -It is up to the system administrator to choose the appropriate -configuration. diff --git a/srcpkgs/gpu-screen-recorder/template b/srcpkgs/gpu-screen-recorder/template index 51fcaf4ee9dc8d..05ec396bceefab 100644 --- a/srcpkgs/gpu-screen-recorder/template +++ b/srcpkgs/gpu-screen-recorder/template @@ -18,7 +18,3 @@ checksum=3207bef976d130f8df465f4290304e226f82ce0c226b6a8cb9756e6316e15b79 post_patch() { vsed -i "/meson_post_install.sh/d" meson.build } - -post_install() { - vdoc ${FILESDIR}/README.voidlinux -} From 8e39168538d759b6136815044b8e722128b15438 Mon Sep 17 00:00:00 2001 From: cherrybtw Date: Sun, 22 Mar 2026 16:38:11 +0100 Subject: [PATCH 4/4] gpu-screen-recorder-ui: remove README.voidlinux --- .../files/README.voidlinux | 43 ------------------- srcpkgs/gpu-screen-recorder-ui/template | 4 -- 2 files changed, 47 deletions(-) delete mode 100644 srcpkgs/gpu-screen-recorder-ui/files/README.voidlinux diff --git a/srcpkgs/gpu-screen-recorder-ui/files/README.voidlinux b/srcpkgs/gpu-screen-recorder-ui/files/README.voidlinux deleted file mode 100644 index 0c0f0ca1910452..00000000000000 --- a/srcpkgs/gpu-screen-recorder-ui/files/README.voidlinux +++ /dev/null @@ -1,43 +0,0 @@ -GPU Screen Recorder UI (MGL++) - Void Linux Notes -==================================== -1: High-performance (KMS) recording: - KMS recording may require additional privileges. - See /usr/share/doc/gpu-screen-recorder/README.voidlinux for details. - -2. Global Hotkeys and Virtual Input: - To use global hotkeys and virtual keyboard features, your user must - have permission to access input devices and uinput. - - Step A: Add your user to the 'input' group: - # usermod -aG input - - Step B: - (Recommended) Create a udev rule for uinput: - Create a file /etc/udev/rules.d/99-uinput.rules with: - KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput" - - After these steps, REBOOT or reload rules and re-login: - # udevadm control --reload-rules && udevadm trigger - NOTE: Adding a user to the 'input' group allows any application running under that user - to read all keystrokes. This is a trade-off for global hotkey support. - - or - - Set SUID bit to gsr-global-hotkeys library: - # chmod 4755 /usr/bin/gsr-global-hotkeys - WARNING: This allows the binary to run with full root privileges. - This approach significantly increases the attack surface and - should only be used if you fully understand the risks. - -No privilege escalation is performed automatically by the package. -It is up to the system administrator to choose the appropriate -configuration. - -3. Wayland Support: - - For Hyprland: Ensure 'gsr-hyprland-helper' is in your PATH. - - For KDE Plasma: Ensure 'gsr-kwin-helper' is in your PATH. - -4. Autostart: - - The "Autostart" button in the UI is hardcoded for systemd and will not work. - To enable daemon on startup, manually add "gsr-ui launch-daemon" - to your desktop environment's autostart. diff --git a/srcpkgs/gpu-screen-recorder-ui/template b/srcpkgs/gpu-screen-recorder-ui/template index 7131c0f0728839..8c7bb8e31eeef4 100644 --- a/srcpkgs/gpu-screen-recorder-ui/template +++ b/srcpkgs/gpu-screen-recorder-ui/template @@ -31,7 +31,3 @@ post_patch() { vsed -i '1i#include ' \ src/gui/FileChooser.cpp } - -post_install() { - vdoc ${FILESDIR}/README.voidlinux -}