kimageformats: enable AVIF support

Adds the libavif library to build inputs so that kimageformats
can recognize AVIF files.
This commit is contained in:
est31 2021-06-06 16:30:09 +02:00
parent 14a592b54b
commit 69d9445039

View file

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