summary refs log tree commit diff
path: root/pkgs/development/libraries/kde-frameworks/kimageformats.nix
blob: 86026bf50f4574fe1db14aa3dcaebc03e9c91381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  mkDerivation, lib,
  extra-cmake-modules,
  ilmbase, karchive, openexr, libavif, qtbase
}:

let inherit (lib) getDev; in

mkDerivation {
  pname = "kimageformats";

  nativeBuildInputs = [ extra-cmake-modules ];
  buildInputs = [ karchive openexr libavif qtbase ];
  outputs = [ "out" ]; # plugins only
  CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";

  meta = with lib; {
    broken = versionOlder qtbase.version "5.14";
  };
}