summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/applications/kmix.nix
blob: 46a67e06ee0b91e6646a1f1d4ad0668838223e1d (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
26
27
28
29
30
{
  kdeApp, lib, kdeWrapper,
  ecm, kdoctools,
  kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
  plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
}:

let
  unwrapped =
    kdeApp {
      name = "kmix";
      meta = {
        license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
        maintainers = [ lib.maintainers.rongcuid ];
      };
      nativeBuildInputs = [ ecm kdoctools ];
      buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
      propagatedBuildInputs = [
        kglobalaccel kxmlgui kcoreaddons kdelibs4support
        plasma-framework
      ];
      cmakeFlags = [
        "-DKMIX_KF5_BUILD=1"
      ];
    };
in
kdeWrapper {
  inherit unwrapped;
  targets = [ "bin/kmix" ];
}