void-packages/srcpkgs/kquickcharts/template

22 lines
734 B
Bash

# Template file for 'kquickcharts'
pkgname=kquickcharts
version=5.82.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=86c6cde106c786fe3908e67847f2cbbb0324b96f5589c1a10ed67654660ec7fb
do_check() {
export QT_QPA_PLATFORM=offscreen
cd build
# QML tests require OpenGL
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E ".*\.qml"
}