# Template file for 'kqtquickcharts'
pkgname=kqtquickcharts
version=26.04.1
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=14cdd75b8d0b6b8d7d435b6c1a36f049030e8a74c823402ab20f661e083d9134

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