mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
kimageformats: enable AVIF support
Adds the libavif library to build inputs so that kimageformats can recognize AVIF files.
This commit is contained in:
parent
14a592b54b
commit
69d9445039
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user