236.4. libkleo-26.08.2
KDE PIM library for key management and cryptography widgets over GnuPG
26.08.2-1 · GPL-2.0-or-later · 1.7 SBU · 3.5 MiB, 188 files · 43_toolkits, 205 of 344 · ports/core/security/libkleo
Homepage: https://invent.kde.org/pim/libkleo
libkleo is the KDE PIM library for key management over GnuPG, through gpgmepp and qgpgme: the key cache, the key selection and certificate widgets, the formatting of keys and validity for display, and the audit-log viewer. kleopatra, mimetreeparser and the KDE mail programs link it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, boost, ki18n, kconfig, kwidgetsaddons, kcolorscheme, kcompletion, kcoreaddons, kcodecs, kitemmodels, gpgmepp, qgpgme, libgpg-error, gnupg.
Required by (7): akonadi-calendar, kdepim-addons, kleopatra, kmail, merkuro, messagelib, mimetreeparser.
Sources: libkleo-26.08.2.tar.xz (686.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libkleo'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D BUILD_QCH=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-D USE_UNITY_CMAKE_SUPPORT=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/; the image is English only (see Size and language policy).-D BUILD_QCH=OFF— No API documentation in Qt Help format. Upstream’s default, named.-D USE_UNITY_CMAKE_SUPPORT=OFF— Compiles each source file on its own instead of in CMake unity batches. Upstream’s default, named.
Libraries: libKPim6Libkleo.so.
Directories: /usr/include/KPim6/Libkleo, /usr/lib/cmake/KPim6Libkleo, /usr/share/KPim6Libkleo, /usr/share/libkleopatra, /usr/share/licenses/libkleo.
The KDE PIM libraries require one another at the same version: messagelib and merkuro find libkleo, kmbox and mimetreeparser at exactly their own release, so the four are bumped together.