241.3. kmbox-26.08.2
KDE PIM library for reading and writing mbox mail folders
26.08.2-1 · LGPL-2.0-or-later · 0.4 SBU · 166.2 KiB, 20 files · 43_toolkits, 204 of 344 · ports/core/mail/kmbox
Homepage: https://invent.kde.org/pim/kmbox
kmbox is the KDE PIM library that reads and writes mbox mail folders, built on kmime. mimetreeparser, the Akonadi mbox resource and the mail importers use it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kmime.
Required by (4): kdepim-runtime, merkuro, messagelib, mimetreeparser.
Sources: kmbox-26.08.2.tar.xz (37.9 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 kmbox'
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 USE_UNITY_CMAKE_SUPPORT=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D USE_UNITY_CMAKE_SUPPORT=OFF— Compiles each source file on its own instead of in CMake unity batches. Upstream’s default, named.
Libraries: libKPim6Mbox.so.
Directories: /usr/include/KPim6/KMbox, /usr/lib/cmake/KPim6Mbox, /usr/share/licenses/kmbox.
The tarball has no translations, so build.sh passes no translation switch.