# Template file for 'kqtquickcharts'
# group=kde-gear
pkgname=kqtquickcharts
version=26.04.3
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools qt6-declarative-host-tools"
makedepends="qt6-declarative-devel"
short_desc="QtQuick plugin to render beautiful and interactive charts"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://edu.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=f8b5f3a37a1f2c5e6c0f1eb749917d642b341502c1b1c5ba5b082ede80f2aef8

kqtquickcharts-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
	}
}
