summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/applications-16.04/kde-locale-5.nix
blob: 772ebe37e44f18a603aa9cebc7ccd950b102a3f2 (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
name: args:

{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:

kdeApp (args // {
  sname = "kde-l10n-${name}";
  name = "kde-l10n-${name}-qt5";

  outputs = [ "out" ];

  nativeBuildInputs =
    [ cmake extra-cmake-modules gettext kdoctools ]
    ++ (args.nativeBuildInputs or []);

  preConfigure = ''
    sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
    ${args.preConfigure or ""}
  '';

  preFixup = ''
    propagatedBuildInputs=
    propagatedNativeBuildInputs=
  '';
})