okular: exclude chmlib on ARM

This commit is contained in:
Peter Hoeg 2018-03-07 09:28:18 +08:00
parent 5f9a1c18f2
commit 18e97a3575

View File

@ -1,7 +1,7 @@
{
mkDerivation, lib,
stdenv, mkDerivation, lib,
extra-cmake-modules, kdoctools,
chmlib, discount, djvulibre, ebook_tools, kactivities, karchive, kbookmarks,
chmlib ? null, discount, djvulibre, ebook_tools, kactivities, karchive, kbookmarks,
kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
kdegraphics-mobipocket, kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet,
kwindowsystem, libkexiv2, libspectre, libzip, phonon, poppler, qca-qt5,
@ -12,12 +12,12 @@ mkDerivation {
name = "okular";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
chmlib discount djvulibre ebook_tools kactivities karchive kbookmarks
discount djvulibre ebook_tools kactivities karchive kbookmarks
kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
kdegraphics-mobipocket kiconthemes kjs khtml kio kparts kpty kwallet
kwindowsystem libkexiv2 libspectre libzip phonon poppler qca-qt5
qtdeclarative qtsvg threadweaver
];
] ++ lib.optional (!stdenv.isAarch64) chmlib;
meta = with lib; {
homepage = http://www.kde.org;
license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ];