# Template file for 'kdeplasma-addons5'
pkgname=kdeplasma-addons5
version=5.13.5
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kcoreaddons"
makedepends="kross-devel kdesignerplugin-devel kdoctools-devel kholidays-devel
 plasma-workspace-devel"
short_desc="Various Plasma addons"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/kdeplasma-addons5"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname%5}-${version}.tar.xz"
checksum=219e61705105db125aaa71a8079cebcb04adf4c08bbe6c29f08241be56308ea8

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
	configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi
