void-packages/srcpkgs/kf6-kquickcharts/template

26 lines
915 B
Bash

# Template file for 'kf6-kquickcharts'
pkgname=kf6-kquickcharts
version=6.7.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools qt6-shadertools SPIRV-Tools"
makedepends="qt6-declarative-devel qt6-shadertools-devel"
short_desc="QtQuick plugin providing high-performance charts"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kquickcharts"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=664047e7b622c0b865d7466817179455fb3851cbb15a8f2c38b8ab9cf85098a4
kf6-kquickcharts-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}