summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/plasma-5.6/kde-gtk-config/default.nix
blob: f482f2a6a3f3d7fb06a927a012bdf71c5afb5151 (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
{ plasmaPackage
, extra-cmake-modules
, glib
, gtk2
, gtk3
, karchive
, kcmutils
, kconfigwidgets
, ki18n
, kiconthemes
, kio
, knewstuff
}:

plasmaPackage {
  name = "kde-gtk-config";
  patches = [ ./0001-follow-symlinks.patch ];
  nativeBuildInputs = [ extra-cmake-modules ];
  propagatedBuildInputs = [
    ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes
    knewstuff
  ];
  cmakeFlags = [
    "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
    "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
  ];
}