256.27. kquickimageeditor-0.7.0.1
QML image editing components: crop, rotate, resize and annotate, with Highway-vectorised filters
0.7.0.1-1 · LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND BSD-2-Clause AND CC0-1.0 · 6.1 SBU · 3.9 MiB, 41 files · 43_toolkits, 299 of 344 · ports/core/qt-extra/kquickimageeditor
Homepage: https://invent.kde.org/libraries/kquickimageeditor
KQuickImageEditor is a QML library of image-editing components: cropping, rotating, mirroring and resizing, colour adjustment through a shader, and an annotation layer of arrows, shapes, text, highlighting, blur and pixelation with undo. Spectacle draws its annotation editor with it, and Koko, NeoChat and Skanpage use its crop and adjust tools. The QML module is org.kde.kquickimageeditor; C++ code finds the library with find_package(KQuickImageEditor).
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtshadertools, kconfig, highway, kirigami.
Required by (4): koko, neochat, skanpage, spectacle.
Sources: kquickimageeditor-0.7.0.1.tar.xz (3.2 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kquickimageeditor'
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 \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libKQuickImageEditor.so.
Directories: /usr/include/KQuickImageEditor, /usr/lib/cmake/KQuickImageEditor, /usr/lib/qt6/qml/org/kde/kquickimageeditor, /usr/share/licenses/kquickimageeditor.
The blur is written against Google’s Highway, the portable SIMD library, from highway, which the configure requires at 1.3.0 or newer; Highway chooses the widest vector instructions the running processor has, so the package stays at the tree’s baseline instruction set and still uses AVX2 or AVX-512 where they exist. The colour adjustment’s vertex and fragment shaders are compiled at build time by qsb from qt6-qtshadertools. The annotation settings are a KConfig schema, which is why kconfig is in depends.
The QML imports org.kde.kirigami and Qt Quick’s Effects, Shapes and Dialogs modules at run time; kirigami and qt6-qtdeclarative provide them, and a missing one fails only when a window loads the editor.
The source tarball is 3.3 MB because it carries koko-animation.mp4, the demonstration video of the README, which nothing builds or installs.