nixpkgs/pkgs/development/libraries/kde-frameworks/kimageformats.nix
est31 69d9445039 kimageformats: enable AVIF support
Adds the libavif library to build inputs so that kimageformats
can recognize AVIF files.
2021-06-15 14:19:58 +02:00

16 lines
359 B
Nix

{
mkDerivation, lib,
extra-cmake-modules,
ilmbase, karchive, openexr, libavif, qtbase
}:
let inherit (lib) getDev; in
mkDerivation {
name = "kimageformats";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ karchive openexr libavif qtbase ];
outputs = [ "out" ]; # plugins only
CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";
}