1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/plasma-5/breeze-gtk.nix

15 lines
377 B
Nix
Raw Normal View History

{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, }:
let inherit (lib) getLib; in
2016-04-21 17:01:22 +01:00
mkDerivation {
2016-04-21 17:01:22 +01:00
name = "breeze-gtk";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase ];
postPatch = ''
sed -i cmake/FindGTKEngine.cmake \
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
'';
2017-05-26 21:44:36 +01:00
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
2016-04-21 17:01:22 +01:00
}