nixpkgs/pkgs/desktops/plasma-5/breeze-gtk.nix
Thomas Tuegel 30ff56a20f
breeze-gtk: patch builder to find GTK2 pixmap engine
This does not seem to be strictly necessary, but it also cannot hurt.
2017-06-18 08:44:43 -05:00

14 lines
377 B
Nix

{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, }:
let inherit (lib) getLib; in
mkDerivation {
name = "breeze-gtk";
nativeBuildInputs = [ extra-cmake-modules ];
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
buildInputs = [ qtbase ];
postPatch = ''
sed -i cmake/FindGTKEngine.cmake \
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
'';
}