void-packages/srcpkgs/kqtquickcharts/template

28 lines
947 B
Bash

# Template file for 'kqtquickcharts'
pkgname=kqtquickcharts
version=24.05.1
revision=2
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=5be8ecc36c62dab8c2a613d236d2a1127c08ba65a15f6772080cd81baba11cc3
kqtquickcharts-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}