about summary refs log tree commit diff
path: root/pkgs/kde/plasma/kpipewire/default.nix
blob: 4f88f95289a356f1c714cc51f2cd5d26361b4808 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  mkKdeDerivation,
  qtquick3d,
  pkg-config,
  pipewire,
  ffmpeg,
  mesa,
  libva,
  fetchpatch,
}:
mkKdeDerivation {
  pname = "kpipewire";

  extraNativeBuildInputs = [pkg-config];
  extraBuildInputs = [qtquick3d pipewire ffmpeg mesa libva];

  patches = [
    # Fix for 489434: spectacle crash/freeze on finishing recording with PW 1.2+
    # https://bugs.kde.org/show_bug.cgi?id=489434
    (fetchpatch {
      url = "https://invent.kde.org/plasma/kpipewire/-/commit/1977da38ed25aa15347eb9027cb1fde3d66b075f.diff";
      sha256 = "sha256-qAcd1C1AWddn5i0KAq85Ae+pU7ohfdAjOR7jKaNTYSo=";
    })
  ];
}