about summary refs log tree commit diff
path: root/pkgs/applications/video/gpu-screen-recorder
diff options
context:
space:
mode:
authorid3v1669 <nico@nico.ni>2024-05-29 00:23:20 +0800
committerid3v1669 <nico@nico.ni>2024-05-29 00:23:20 +0800
commitaac4b24c02cb2c19b2486f990a9a1d2d28a1a5c0 (patch)
treeb2b5f6de7401ad071a40a667d515a87e1322ce31 /pkgs/applications/video/gpu-screen-recorder
parentc01818d57c9d47b9d9b85ab84b5dc04e6c830d63 (diff)
gpu-screen-recorder: unstable-2023-11-18 -> unstable-2024-05-21
Diffstat (limited to 'pkgs/applications/video/gpu-screen-recorder')
-rw-r--r--pkgs/applications/video/gpu-screen-recorder/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/video/gpu-screen-recorder/default.nix b/pkgs/applications/video/gpu-screen-recorder/default.nix
index 052548f32f272..315dc71056730 100644
--- a/pkgs/applications/video/gpu-screen-recorder/default.nix
+++ b/pkgs/applications/video/gpu-screen-recorder/default.nix
@@ -11,16 +11,17 @@
 , libva
 , libglvnd
 , libXrandr
+, libXfixes
 }:
 
 stdenv.mkDerivation {
   pname = "gpu-screen-recorder";
-  version = "unstable-2023-11-18";
+  version = "unstable-2024-05-21";
 
   # printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
   src = fetchurl {
-    url = "https://dec05eba.com/snapshot/gpu-screen-recorder.git.r418.5a8900e.tar.gz";
-    hash = "sha256-Dal6KxQOTqoNH6e8lYk5XEXGFG/vzbguNFZ9yk9nKe0=";
+    url = "https://dec05eba.com/snapshot/gpu-screen-recorder.git.r594.e572073.tar.gz";
+    hash = "sha256-MTBxhvkoyotmRUx1sRN/7ruXBYwIbOFQNdJHhZ3DdDk=";
   };
   sourceRoot = ".";
 
@@ -37,6 +38,7 @@ stdenv.mkDerivation {
     libdrm
     libva
     libXrandr
+    libXfixes
   ];
 
   buildPhase = ''
@@ -49,14 +51,14 @@ stdenv.mkDerivation {
     mv $out/bin/gpu-screen-recorder $out/bin/.wrapped/
     makeWrapper "$out/bin/.wrapped/gpu-screen-recorder" "$out/bin/gpu-screen-recorder" \
     --prefix LD_LIBRARY_PATH : ${libglvnd}/lib \
-    --prefix PATH : $out/bin
+    --suffix PATH : $out/bin
   '';
 
-  meta = with lib; {
+  meta = {
     description = "A 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/";
-    license = licenses.gpl3Only;
-    maintainers = with maintainers; [ babbaj ];
+    license = lib.licenses.gpl3Only;
+    maintainers = [ lib.maintainers.babbaj ];
     platforms = [ "x86_64-linux" ];
   };
 }