summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.14/kdepimlibs.nix
blob: 5e7643469b6426d72a6ff9d51ad229f58ec4771a (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
31
32
33
34
35
{ kde, pkgconfig, boost, cyrus_sasl, gpgme, libical, openldap, prison
, kdelibs, akonadi, libxslt
, shared_mime_info, shared_desktop_ontologies, qjson
, automoc4, cmake, perl
}:

kde {
  outputs = [ "out" "dev" ];

  outputInclude = "out";

  setOutputFlags = false;

  nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];

  cmakeFlags = [
    "-DCMAKE_MINIMUM_REQUIRED_VERSION=3.3"
  ];

  buildInputs =
    [ boost gpgme libical libxslt qjson prison
      openldap cyrus_sasl akonadi shared_desktop_ontologies
      shared_mime_info
    ];

  propagatedBuildInputs = [ kdelibs ];

  # Prevent a dependency on boost.dev. FIXME: move this cmake file to .dev.
  postInstall = "rm $out/lib/gpgmepp/GpgmeppConfig.cmake";

  meta = {
    description = "KDE PIM libraries";
    license = "LGPL";
  };
}