mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
gpu-screen-recorder: nixfmt, add meta.mainProgram (#336769)
This commit is contained in:
parent
4db93f1fc2
commit
f117b2c132
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user