2016-04-21 18:01:22 +02:00
|
|
|
{ plasmaPackage
|
2017-02-26 13:49:15 +01:00
|
|
|
, extra-cmake-modules
|
2016-04-21 18:01:22 +02:00
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, gtk3
|
|
|
|
, karchive
|
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, ki18n
|
|
|
|
, kiconthemes
|
|
|
|
, kio
|
|
|
|
, knewstuff
|
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "kde-gtk-config";
|
|
|
|
patches = [ ./0001-follow-symlinks.patch ];
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2016-04-28 19:50:55 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes
|
2016-04-21 18:01:22 +02: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"
|
|
|
|
];
|
|
|
|
}
|