void-packages/srcpkgs/kquickcharts/template
2020-10-14 22:16:44 +02:00

20 lines
705 B
Bash

# Template file for 'kquickcharts'
pkgname=kquickcharts
version=5.75.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel"
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=d2595bf1f8b6c5c46961cb95feed2b1f0f16b377ef65cb6fb12bbfcec0c81b82
do_check() {
export QT_QPA_PLATFORM=offscreen
cd build
# QML tests require OpenGL
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E ".*\.qml"
}