nixpkgs/pkgs/desktops/plasma-5/libkscreen/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
598 B
Nix
Raw Normal View History

2017-05-26 21:44:36 +01:00
{
mkDerivation, lib, propagate,
2017-05-26 21:44:36 +01:00
extra-cmake-modules,
qtbase,
wayland-scanner, kwayland,
plasma-wayland-protocols, wayland,
libXrandr, qtx11extras
}:
mkDerivation {
2022-03-06 21:28:56 +00:00
pname = "libkscreen";
nativeBuildInputs = [ extra-cmake-modules wayland-scanner ];
buildInputs = [ kwayland plasma-wayland-protocols wayland libXrandr qtx11extras ];
2017-05-26 21:44:36 +01:00
outputs = [ "out" "dev" ];
patches = [
./libkscreen-backends-path.patch
];
preConfigure = ''
2017-05-26 21:44:36 +01:00
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputBin}/$qtPluginPrefix/kf5/kscreen\""
'';
2017-05-26 22:22:27 +01:00
setupHook = propagate "out";
}