okular: add required dependency on all platforms

Chmlib is no longer optional by default (if you want to build without
it, you have to explicitly say so with a cmake flag).

See 913d437822
This commit is contained in:
Tom Hall 2022-09-09 20:31:42 +01:00
parent 8c76ca1049
commit 3f82e22e23

View File

@ -1,7 +1,7 @@
{
stdenv, mkDerivation, lib,
extra-cmake-modules, kdoctools,
breeze-icons, chmlib ? null, discount, djvulibre, ebook_tools, kactivities,
breeze-icons, chmlib, discount, djvulibre, ebook_tools, kactivities,
karchive, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
kdbusaddons, kdegraphics-mobipocket, kiconthemes, kjs, khtml, kio, kparts,
kpty, kpurpose, kwallet, kwindowsystem, libkexiv2, libspectre, libzip, phonon, poppler,
@ -16,8 +16,8 @@ mkDerivation {
kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
kdegraphics-mobipocket kiconthemes kjs khtml kio kparts kpty kpurpose kwallet
kwindowsystem libkexiv2 libspectre libzip phonon poppler qca-qt5
qtdeclarative qtsvg threadweaver kcrash qtspeech
] ++ lib.optional (!stdenv.isAarch64) chmlib;
qtdeclarative qtsvg threadweaver kcrash qtspeech chmlib
];
# InitialPreference values are too high and end up making okular
# default for anything considered text/plain. Resetting to 1, which