Merge pull request #172847 from helsinki-systems/feat/kimageformats-heic
plasma5Packages.kimageformats: enable HEIF/HEIC
This commit is contained in:
commit
cdddf984c5
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
mkDerivation, lib,
|
||||
extra-cmake-modules,
|
||||
ilmbase, karchive, openexr, libavif, qtbase
|
||||
ilmbase, karchive, openexr, libavif, libheif, qtbase
|
||||
}:
|
||||
|
||||
let inherit (lib) getDev; in
|
||||
|
@ -10,9 +10,12 @@ mkDerivation {
|
|||
pname = "kimageformats";
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ karchive openexr libavif qtbase ];
|
||||
buildInputs = [ karchive openexr libavif libheif qtbase ];
|
||||
outputs = [ "out" ]; # plugins only
|
||||
CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";
|
||||
cmakeFlags = [
|
||||
"-DKIMAGEFORMATS_HEIF=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = versionOlder qtbase.version "5.14";
|
||||
|
|
Loading…
Reference in a new issue