gpu-screen-recorder: nixfmt, add meta.mainProgram (#336769)

This commit is contained in:
Lin Xianyi 2024-08-23 22:09:49 +08:00 committed by GitHub
parent 4db93f1fc2
commit f117b2c132
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,22 +1,23 @@
{ stdenv
, lib
, fetchurl
, makeWrapper
, meson
, ninja
, pkg-config
, libXcomposite
, libpulseaudio
, ffmpeg
, wayland
, libdrm
, libva
, libglvnd
, libXdamage
, libXi
, libXrandr
, libXfixes
, wrapperDir ? "/run/wrappers/bin"
{
stdenv,
lib,
fetchurl,
makeWrapper,
meson,
ninja,
pkg-config,
libXcomposite,
libpulseaudio,
ffmpeg,
wayland,
libdrm,
libva,
libglvnd,
libXdamage,
libXi,
libXrandr,
libXfixes,
wrapperDir ? "/run/wrappers/bin",
}:
stdenv.mkDerivation {
@ -51,9 +52,7 @@ stdenv.mkDerivation {
libXfixes
];
patches = [
./0001-Don-t-install-systemd-unit-files-using-absolute-path.patch
];
patches = [ ./0001-Don-t-install-systemd-unit-files-using-absolute-path.patch ];
mesonFlags = [
"-Dsystemd=true"
@ -73,6 +72,7 @@ stdenv.mkDerivation {
meta = {
description = "Screen recorder that has minimal impact on system performance by recording a window using the GPU only";
mainProgram = "gpu-screen-recorder";
homepage = "https://git.dec05eba.com/gpu-screen-recorder/about/";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.babbaj ];