Merge pull request #315118 from id3v1669/gpu-screen-recorder

gpu-screen-recorder: unstable-2023-11-18 -> unstable-2024-05-21
This commit is contained in:
Peder Bergebakken Sundt
2024-06-08 01:37:18 +02:00
committed by GitHub
@@ -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" ];
};
}