void-packages/srcpkgs/kf6-kuserfeedback/template

34 lines
1.1 KiB
Bash

# Template file for 'kf6-kuserfeedback'
pkgname=kf6-kuserfeedback
version=6.3.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=3fe2ce37b92a70d604f38fa369b5fe2ea64e268c48aa450e9971fc8404e87006
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"
}
}