SUMMARY="A QtQuick module providing high-performance charts" DESCRIPTION="The Quick Charts module provides a set of charts that can be used from QtQuick \ applications. They are intended to be used for both simple display of data as well as continuous \ display of high-volume data (often referred to as plotters). The charts use a system called distance fields for their accelerated rendering, which provides \ ways of using the GPU for rendering 2D shapes without loss of quality." HOMEPAGE="https://invent.kde.org/frameworks/kquickcharts" COPYRIGHT="2010-2026 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kquickcharts-$portVersion.tar.xz" CHECKSUM_SHA256="146598a1e107e8480631b3001fd39d264e81dd5af6a315dec71524465d099244" SOURCE_DIR="kquickcharts-$portVersion" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="$portVersion" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" kquickcharts6$secondaryArchSuffix = $portVersion lib:libQuickCharts$secondaryArchSuffix = $libVersionCompat lib:libQuickChartsControls$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix lib:libGL$secondaryArchSuffix lib:libQt6Core$secondaryArchSuffix lib:libQt6Gui$secondaryArchSuffix lib:libQt6Network$secondaryArchSuffix lib:libQt6OpenGL$secondaryArchSuffix lib:libQt6Qml$secondaryArchSuffix lib:libQt6Quick$secondaryArchSuffix " PROVIDES_devel=" kquickcharts6${secondaryArchSuffix}_devel = $portVersion devel:libQuickCharts$secondaryArchSuffix = $libVersionCompat devel:libQuickChartsControls$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" kquickcharts6$secondaryArchSuffix == $portVersion base " ARCHITECTURES_doc="any" PROVIDES_doc=" kquickcharts6_doc = $portVersion " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion qt6_tools${secondaryArchSuffix}_devel devel:libQt6Core$secondaryArchSuffix devel:libQt6Qml$secondaryArchSuffix devel:libQt6ShaderTools$secondaryArchSuffix " BUILD_PREREQUIRES=" kde_qdoc_common cmd:cmake cmd:g++$secondaryArchSuffix cmd:glslangValidator$secondaryArchSuffix cmd:make cmd:msgfmt$secondaryArchSuffix cmd:msgmerge$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix " TEST_REQUIRES=" qthaikuplugins " BUILD() { export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ -DCMAKE_SKIP_RPATH=YES \ -DBUILD_TESTING=OFF \ -Wno-dev make -C build $jobArgs cmake --build build --target prepare_docs cmake --build build --target generate_docs cmake --build build --target generate_qch } INSTALL() { make -C build install # cmake --build build --target install_html_docs cmake --build build --target install_qch_docs prepareInstalledDevelLibs \ libQuickCharts \ libQuickChartsControls packageEntries devel \ $libDir/cmake \ $developDir packageEntries doc \ $documentationDir } TEST() { export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" ctest --test-dir build --output-on-failure }