# Template file for 'kactivitymanagerd'
pkgname=kactivitymanagerd
version=5.19.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-host-tools kcoreaddons"
makedepends="kio-devel boost-devel qt5-plugin-mysql qt5-plugin-odbc
 qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
short_desc="Manage user's activities and track the usage patterns"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/kactivitymanagerd"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=76c9ed3b5e984639909968e04c3d498c9aba36fb97e62fd5b37360b34216baf8

if [ "$CROSS_BUILD" ]; then
	configure_args+=" -DRUN_RESULT_VAR=0"
	configure_args+=" -DRUN_RESULT_VAR__TRYRUN_OUTPUT=0"
fi
