Okular is a document viewer for KDE. It can view documents of many types including PDF, PostScript, TIFF, DjVu, DVI, XPS, and ePub.
This package is known to build and work properly using an LFS 12.2 platform.
Download (HTTP): https://download.kde.org/stable/release-service/24.08.0/src/okular-24.08.0.tar.xz
Download MD5 sum: c216077cd98e25256a1a13e16eea5f11
Download size: 7.7 MB
Estimated disk space required: 90 MB
Estimated build time: 0.8 SBU (using parallelism=4)
KDE Frameworks-6.5.0 and plasma-activities-6.1.4
libkexiv2-24.08.0, libtiff-4.6.0, and Poppler-24.08.0 (built with Qt6, required for PDF support)
qca-2.3.9, discount, DjVuLibre, libspectre, libepub, and LibZip
Install Okular by running the following commands:
If any of the optional dependencies are installed, remove the associated reference in the SKIP_OPTIONAL environment variable.
mkdir build && cd build && SKIP_OPTIONAL='Discount;DjVuLibre;EPub;LibSpectre;LibZip' cmake -D CMAKE_INSTALL_PREFIX=$KF5_PREFIX \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_TESTING=OFF \ -D FORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \ -W no-dev .. && make
This package does not come with a test suite.
Now, as the root
user:
make install