241.9. akonadi-mime-26.08.2
KDE PIM library that stores mail in Akonadi: message models, the mail serializer and the standard mail actions
26.08.2-1 · LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-only AND (LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND BSD-3-Clause AND CC0-1.0 AND MIT · 5.5 SBU · 1006.7 KiB, 75 files · 43_toolkits, 216 of 344 · ports/core/mail/akonadi-mime
Homepage: https://invent.kde.org/pim/akonadi-mime
akonadi-mime is the mail half of akonadi: the serializer plugin that stores a MIME message as an Akonadi item, the message and folder models, the special folders (inbox, outbox, sent, trash, drafts), message status flags, the outbox queue and the standard mail actions KMail’s menus are built from. KMail, the mail parts of akonadi-calendar, akonadi-search and the message libraries all link it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kio, ki18n, kxmlgui, kmime, kitemmodels, akonadi, shared-mime-info, libxslt.
Required by (12): akonadi-calendar, akonadi-search, akonadiconsole, incidenceeditor, kalarm, kdepim-runtime, kleopatra, kmail, mailcommon, mailimporter, merkuro, messagelib.
Sources: akonadi-mime-26.08.2.tar.xz (181.2 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 akonadi-mime'
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 KF_SKIP_PO_PROCESSING=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Mime=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Mime=ON— Take KMime from its Frameworks package. The configure asks forKF6Mimefirst and falls back to the PIM-eraKPim6Mime; required, the fallback can never be taken. kmime installsKF6Mime.-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations, which kpkg’s English-only rule would remove from the package anyway (see Size and language policy).
Libraries: libKPim6AkonadiMime.so.
Directories: /usr/include/KPim6/AkonadiMime, /usr/lib/cmake/KPim6AkonadiMime, /usr/lib/qt6/qml/org/kde/akonadi/mime, /usr/share/licenses/akonadi-mime.
The configure requires xsltproc from libxslt: it turns the IMAP and POP3 resources’ .kcfg settings files into the D-Bus interface descriptions the library calls them through, with the kcfg2dbus.xsl stylesheet akonadi installs. The contact-group MIME type it installs is registered through shared-mime-info. The QML types in src/quick need Qt’s QML integration headers, from qt6-qtdeclarative.