breeze-gtk: patch builder to find GTK2 pixmap engine

This does not seem to be strictly necessary, but it also cannot hurt.
This commit is contained in:
Thomas Tuegel
2017-06-18 08:44:43 -05:00
parent da942ea23f
commit 30ff56a20f
+7 -1
View File
@@ -1,8 +1,14 @@
{ mkDerivation , extra-cmake-modules , qtbase }:
{ 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|"
'';
}