257.38. threadweaver-6.31.0
KDE Frameworks: high-level job-based multithreading
6.31.0-1 · LGPL-2.0-or-later · 1.0 SBU · 448.6 KiB, 78 files · 43_toolkits, 99 of 344 · ports/core/kf6/threadweaver
Homepage: https://api.kde.org/frameworks/threadweaver/html/
Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:
The libraries KDE applications are built on, without Plasma.
ThreadWeaver is a job queue for spreading work over a pool of threads: a program describes its work as jobs, collections and sequences with dependencies between them, and ThreadWeaver runs each when its turn comes on the next free thread. okular, kdevelop and digikam use it. It needs nothing beyond Qt Core.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase.
Required by (6): digikam, kasts, kdev-php, kdev-python, kdevelop, okular.
Sources: threadweaver-6.31.0.tar.xz (1.3 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 threadweaver'
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: libKF6ThreadWeaver.so.
Directories: /usr/include/KF6/ThreadWeaver, /usr/lib/cmake/KF6ThreadWeaver, /usr/share/licenses/threadweaver.
The source carries no translations, so the recipe has no KF_SKIP_PO_PROCESSING.