nixpkgs/pkgs/development/libraries/kde-frameworks/kimageformats.nix

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

20 lines
460 B
Nix
Raw Normal View History

{
mkDerivation, lib,
extra-cmake-modules,
ilmbase, karchive, openexr, libavif, libheif, libjxl, libraw, qtbase
2016-04-21 15:32:21 +00:00
}:
let inherit (lib) getDev; in
mkDerivation {
2022-02-23 17:28:27 +00:00
pname = "kimageformats";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ karchive openexr libavif libheif libjxl libraw qtbase ];
outputs = [ "out" ]; # plugins only
2018-01-16 08:52:04 +00:00
CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";
cmakeFlags = [
"-DKIMAGEFORMATS_HEIF=ON"
];
2016-04-21 15:32:21 +00:00
}