mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
69d9445039
Adds the libavif library to build inputs so that kimageformats can recognize AVIF files.
16 lines
359 B
Nix
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";
|
|
}
|