2017-05-15 19:44:58 +03:00
|
|
|
{ mkDerivation
|
2017-02-26 15:49:15 +03:00
|
|
|
, extra-cmake-modules
|
2016-04-21 19:01:22 +03:00
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, gtk3
|
|
|
|
, karchive
|
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, ki18n
|
|
|
|
, kiconthemes
|
|
|
|
, kio
|
|
|
|
, knewstuff
|
|
|
|
}:
|
|
|
|
|
2017-05-15 19:44:58 +03:00
|
|
|
mkDerivation {
|
2016-04-21 19:01:22 +03:00
|
|
|
name = "kde-gtk-config";
|
|
|
|
patches = [ ./0001-follow-symlinks.patch ];
|
2017-02-26 15:49:15 +03:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-22 21:49:07 +03:00
|
|
|
buildInputs = [
|
2016-04-28 20:50:55 +03:00
|
|
|
ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes
|
2016-04-21 19:01:22 +03:00
|
|
|
knewstuff
|
|
|
|
];
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
|
|
|
|
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
|
|
|
|
];
|
|
|
|
}
|