2017-05-09 14:20:59 +00:00
|
|
|
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, }:
|
|
|
|
|
|
|
|
let inherit (lib) getLib; in
|
2016-04-21 16:01:22 +00:00
|
|
|
|
2017-05-15 16:44:58 +00:00
|
|
|
mkDerivation {
|
2016-04-21 16:01:22 +00:00
|
|
|
name = "breeze-gtk";
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
buildInputs = [ qtbase ];
|
2017-05-09 14:20:59 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i cmake/FindGTKEngine.cmake \
|
|
|
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
|
|
|
'';
|
2017-05-26 20:44:36 +00:00
|
|
|
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
2016-04-21 16:01:22 +00:00
|
|
|
}
|