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-05-09 09:20:59 -05:00
parent da942ea23f
commit 30ff56a20f
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

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|"
'';
}