257.63. kplotting-6.31.0
KDE Frameworks: a plotting widget
6.31.0-1 · LGPL-2.0-or-later · 0.7 SBU · 216.9 KiB, 20 files · 43_toolkits, 194 of 344 · ports/core/kf6/kplotting
Homepage: https://api.kde.org/frameworks/kplotting/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.
KPlotting is a small Qt Widgets library for drawing data plots: KPlotWidget with axes, labels and a grid, KPlotObject for a set of points drawn as markers, lines or bars, and KPlotPoint. kalzium, step and knights draw their charts with it. It needs nothing beyond Qt Widgets.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase.
Required by (4): kalzium, knights, ktorrent, step.
Sources: kplotting-6.31.0.tar.xz (33.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 kplotting'
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 BUILD_DESIGNERPLUGIN=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D BUILD_DESIGNERPLUGIN=OFF— Build no Qt Designer plugin for the widget. Upstream builds one by default, and the configure then requires Qt’sUiPluginmodule from qt6-qttools, which this port’sdependsdoes not name.
Libraries: libKF6Plotting.so.
Directories: /usr/include/KF6/KPlotting, /usr/lib/cmake/KF6Plotting, /usr/share/licenses/kplotting.
The source carries no translations, so the recipe has no KF_SKIP_PO_PROCESSING.