# Template file for 'kquickcharts'
pkgname=kquickcharts
version=5.103.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel"
checkdepends="glslang which"
short_desc="QtQuick plugin providing high-performance charts"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-only OR LGPL-3.0-only"
homepage="https://community.kde.org/Frameworks"
distfiles="${KDE_SITE}/frameworks/${version%.*}/kquickcharts-${version}.tar.xz"
checksum=a8ad8e1fbd0cf96ff97e9637eb98970c312f0e7401a3f137c65145e39ab61da5

do_check() {
	cd build
	# QML tests require OpenGL
	ctest -E ".*\.qml"
}
