nixpkgs-suyu/pkgs/desktops/plasma-5/kde-gtk-config/default.nix

22 lines
656 B
Nix
Raw Normal View History

2017-05-26 22:44:36 +02:00
{
mkDerivation,
extra-cmake-modules,
glib, gtk2, gtk3, karchive, kcmutils, kconfigwidgets, ki18n, kiconthemes, kio,
2018-02-08 07:03:33 +01:00
knewstuff, gsettings_desktop_schemas
2016-04-21 18:01:22 +02:00
}:
mkDerivation {
2016-04-21 18:01:22 +02:00
name = "kde-gtk-config";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes
2018-02-08 07:03:33 +01:00
knewstuff gsettings_desktop_schemas
2016-04-21 18:01:22 +02:00
];
2017-05-26 22:44:36 +02:00
patches = [ ./0001-follow-symlinks.patch ];
2016-04-21 18:01:22 +02:00
cmakeFlags = [
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
2018-02-08 07:03:33 +01:00
"-DGLIB_SCHEMAS_DIR=${gsettings_desktop_schemas.out}/"
2016-04-21 18:01:22 +02:00
];
}