gpu-screen-recorder{,-gtk}: add passthru.updateScript

This commit is contained in:
js6pak 2024-12-23 05:18:04 +01:00
parent e39a299931
commit 2f3a205f64
No known key found for this signature in database
GPG key ID: 3E3CD91EB1AAFB06
2 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,7 @@
wayland,
wrapGAppsHook3,
wrapperDir ? "/run/wrappers/bin",
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
@ -68,6 +69,8 @@ stdenv.mkDerivation (finalAttrs: {
})
'';
passthru.updateScript = gitUpdater { url = "https://repo.dec05eba.com/gpu-screen-recorder-gtk"; };
meta = {
changelog = "https://git.dec05eba.com/gpu-screen-recorder-gtk/tree/com.dec05eba.gpu_screen_recorder.appdata.xml#n82";
description = "GTK frontend for gpu-screen-recorder.";

View file

@ -22,6 +22,7 @@
libXrandr,
libXfixes,
wrapperDir ? "/run/wrappers/bin",
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
@ -82,6 +83,8 @@ stdenv.mkDerivation (finalAttrs: {
--suffix PATH : "$out/bin"
'';
passthru.updateScript = gitUpdater { url = "https://repo.dec05eba.com/gpu-screen-recorder"; };
meta = {
description = "Screen recorder that has minimal impact on system performance by recording a window using the GPU only";
homepage = "https://git.dec05eba.com/gpu-screen-recorder/about/";