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