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

libsForQt5.kimageformats: fix build after libavif update
This commit is contained in:
Luke Granger-Brown 2021-06-28 23:05:32 +01:00 committed by GitHub
commit 0c556f31ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{
mkDerivation, lib,
mkDerivation, lib, fetchpatch,
extra-cmake-modules,
ilmbase, karchive, openexr, libavif, qtbase
}:
@ -8,6 +8,15 @@ let inherit (lib) getDev; in
mkDerivation {
name = "kimageformats";
patches = [
(fetchpatch { # included in kimageformats >= 5.83
name = "avif-0.9.2.diff";
url = "https://invent.kde.org/frameworks/kimageformats/-/commit/bf3f94da766d66a0470ab744dbe1ced4697b572d.diff";
sha256 = "18d67l5kj9sv88jdpi061k9rl3adzkx9l51ng7saylrkfddwc3ig";
})
];
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ karchive openexr libavif qtbase ];
outputs = [ "out" ]; # plugins only