# Template file for 'kqtquickcharts'
pkgname=kqtquickcharts
version=24.12.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF5_HOST_TOOLING=/usr/lib/cmake
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt5/plugins
 -DKDE_INSTALL_QMLDIR=lib/qt5/qml
 -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake"
makedepends="qt5-declarative-devel"
depends="qt5-quickcontrols2"
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=16372f4d1d07eab1a4f07146a9ddd0586c28bd8c2e7dce005e8aa4280ca0ecc1

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