void-packages/srcpkgs/kf6-kuserfeedback/template

34 lines
1.1 KiB
Bash

# Template file for 'kf6-kuserfeedback'
pkgname=kf6-kuserfeedback
version=6.7.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools flex bison"
makedepends="qt6-base-devel qt6-declarative-devel qt6-charts-devel"
short_desc="Framework for collecting user feedback via telemetry and surveys"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kuserfeedback"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=4def8d0d6ef227807b6066cb762cec352452a18e0e28b56aecce8ef3ceb52761
do_check() {
cd build
# disable failing test
ctest -E "openglinfosourcetest"
}
kf6-kuserfeedback-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}