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:
parent
da942ea23f
commit
30ff56a20f
@ -1,8 +1,14 @@
|
|||||||
{ mkDerivation , extra-cmake-modules , qtbase }:
|
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, }:
|
||||||
|
|
||||||
|
let inherit (lib) getLib; in
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
name = "breeze-gtk";
|
name = "breeze-gtk";
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
postPatch = ''
|
||||||
|
sed -i cmake/FindGTKEngine.cmake \
|
||||||
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user