Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

269.18. kpkpass-26.08.2

KDE PIM library that reads Apple Wallet .pkpass boarding passes and tickets

26.08.2-1 · LGPL-2.0-or-later AND GPL-2.0-or-later AND BSD-3-Clause AND MIT AND CC0-1.0 · 1.6 SBU · 575.9 KiB, 34 files · 43_toolkits, 250 of 344 · ports/core/pim/kpkpass

Homepage: https://invent.kde.org/pim/kpkpass

KPkPass reads Apple Wallet passes: the .pkpass archive of a boarding pass, an event ticket or a loyalty card, and the .pkpasses bundle that holds several. It unpacks the archive with KArchive, parses pass.json with its localised strings, and exposes the barcode, the fields and the images to C++ and to QML. kitinerary, Itinerary and the KMail pass plugins in kdepim-addons read tickets through it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, karchive, shared-mime-info.

Required by (3): itinerary, kdepim-addons, kitinerary.

Sources: kpkpass-26.08.2.tar.xz (40.3 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 kpkpass'

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 \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKPim6PkPass.so.

Directories: /usr/include/KPim6/KPkPass, /usr/lib/cmake/KPim6PkPass, /usr/lib/qt6/qml/org/kde/pkpass, /usr/share/licenses/kpkpass.

The two MIME types, application/vnd.apple.pkpass and application/vnd.apple.pkpasses, are installed by upstream only when shared-mime-info is older than 2.2 and 2.5, the releases that took each type into its own database. The tree’s shared-mime-info is newer than both, so the package ships no MIME XML and the types come from shared-mime-info.

The QML module org.kde.pkpass needs Qt Qml, which is why qt6-qtdeclarative is in depends.