256.26. kirigami-app-components-1.1.1
Kirigami application components: an action collection with a shortcut editor and a command bar
1.1.1-1 · LGPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND BSD-3-Clause AND CC0-1.0 AND FSFAP · 4.0 SBU · 881.0 KiB, 27 files · 43_toolkits, 298 of 344 · ports/core/qt-extra/kirigami-app-components
Homepage: https://invent.kde.org/libraries/kirigami-app-components
Kirigami App Components is a QML library of application-level pieces for Kirigami programs, the first of them an action collection: actions declared in QML with their default shortcuts, a shortcut editor that lets the user rebind them, and ActionsExplorer, a searchable list of every action. It is the QML counterpart of the KActionCollection that widget applications take from KXmlGui. The QML module is org.kde.kirigami.actioncollection, over libKirigamiActionCollection, and C++ code finds it with find_package(KF6KirigamiAppComponents). KeepSecret and Koko are built on it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kconfig, kguiaddons, kirigami, ki18n, kcoreaddons, kitemmodels.
Required by (2): keepsecret, koko.
Sources: kirigami-app-components-1.1.1.tar.xz (50.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 kirigami-app-components'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_TESTING=OFF \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D KF_SKIP_PO_PROCESSING=ON \
-D BUILD_EXAMPLES=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).-D BUILD_EXAMPLES=OFF— Build no example application. Off is upstream’s default too; the recipe names it.
Libraries: libKirigamiActionCollection.so.
Directories: /usr/include/KF6/Kirigami/ActionCollection, /usr/lib/cmake/KF6KirigamiAppComponents, /usr/lib/qt6/qml/org/kde/kirigami/actioncollection, /usr/share/licenses/kirigami-app-components.
The configure requires the org.kde.ki18n QML module from ki18n. The QML files also import org.kde.coreaddons, org.kde.kitemmodels and org.kde.kirigami at run time, which is why kcoreaddons, kitemmodels and kirigami are in depends; a missing module fails only when a window loads the component.