Merge pull request #128519 from vcunat/p/kimageformats-libavif-0.9.2

libsForQt5.kimageformats: fix build after libavif update

authored by Luke Granger-Brown and committed by GitHub 0c556f31 91f13012

+10 -1
+10 -1
pkgs/development/libraries/kde-frameworks/kimageformats.nix
··· 1 { 2 - mkDerivation, lib, 3 extra-cmake-modules, 4 ilmbase, karchive, openexr, libavif, qtbase 5 }: ··· 8 9 mkDerivation { 10 name = "kimageformats"; 11 nativeBuildInputs = [ extra-cmake-modules ]; 12 buildInputs = [ karchive openexr libavif qtbase ]; 13 outputs = [ "out" ]; # plugins only
··· 1 { 2 + mkDerivation, lib, fetchpatch, 3 extra-cmake-modules, 4 ilmbase, karchive, openexr, libavif, qtbase 5 }: ··· 8 9 mkDerivation { 10 name = "kimageformats"; 11 + 12 + patches = [ 13 + (fetchpatch { # included in kimageformats >= 5.83 14 + name = "avif-0.9.2.diff"; 15 + url = "https://invent.kde.org/frameworks/kimageformats/-/commit/bf3f94da766d66a0470ab744dbe1ced4697b572d.diff"; 16 + sha256 = "18d67l5kj9sv88jdpi061k9rl3adzkx9l51ng7saylrkfddwc3ig"; 17 + }) 18 + ]; 19 + 20 nativeBuildInputs = [ extra-cmake-modules ]; 21 buildInputs = [ karchive openexr libavif qtbase ]; 22 outputs = [ "out" ]; # plugins only