2017-05-26 13:44:36 -07:00
|
|
|
{
|
|
|
|
mkDerivation,
|
|
|
|
extra-cmake-modules,
|
|
|
|
glib, gtk2, gtk3, karchive, kcmutils, kconfigwidgets, ki18n, kiconthemes, kio,
|
2018-02-24 18:23:58 -08:00
|
|
|
knewstuff, gsettings-desktop-schemas
|
2016-04-21 09:01:22 -07:00
|
|
|
}:
|
|
|
|
|
2017-05-15 09:44:58 -07:00
|
|
|
mkDerivation {
|
2016-04-21 09:01:22 -07:00
|
|
|
name = "kde-gtk-config";
|
2017-02-26 04:49:15 -08:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-22 11:49:07 -07:00
|
|
|
buildInputs = [
|
2016-04-28 10:50:55 -07:00
|
|
|
ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes
|
2018-02-24 18:23:58 -08:00
|
|
|
knewstuff gsettings-desktop-schemas
|
2016-04-21 09:01:22 -07:00
|
|
|
];
|
2017-05-26 13:44:36 -07:00
|
|
|
patches = [ ./0001-follow-symlinks.patch ];
|
2016-04-21 09:01:22 -07: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-24 18:23:58 -08:00
|
|
|
"-DGLIB_SCHEMAS_DIR=${gsettings-desktop-schemas.out}/"
|
2016-04-21 09:01:22 -07:00
|
|
|
];
|
|
|
|
}
|