2019-02-12 19:50:53 +01:00
|
|
|
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, sassc, python3, breeze-qt5 }:
|
2017-05-09 16:20:59 +02:00
|
|
|
|
|
|
|
let inherit (lib) getLib; in
|
2016-04-21 18:01:22 +02:00
|
|
|
|
2017-05-15 18:44:58 +02:00
|
|
|
mkDerivation {
|
2016-04-21 18:01:22 +02:00
|
|
|
name = "breeze-gtk";
|
2019-02-12 19:50:53 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ];
|
2017-02-26 13:49:15 +01:00
|
|
|
buildInputs = [ qtbase ];
|
2021-09-27 21:53:33 +02:00
|
|
|
patches = [
|
|
|
|
./patches/0001-fix-add-executable-bit.patch
|
|
|
|
];
|
2017-05-09 16:20:59 +02:00
|
|
|
postPatch = ''
|
|
|
|
sed -i cmake/FindGTKEngine.cmake \
|
|
|
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
|
|
|
'';
|
2017-05-26 22:44:36 +02:00
|
|
|
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
|
2016-04-21 18:01:22 +02:00
|
|
|
}
|