# Template file for 'plasma-desktop'
pkgname=plasma-desktop
version=5.13.5
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config kcoreaddons kdoctools
 qt5-qmake qt5-host-tools"
makedepends="ibus-devel kactivities5-stats-devel kpeople-devel libcanberra-devel
 plasma-workspace-devel pulseaudio-devel xf86-input-evdev-devel
 xf86-input-synaptics-devel"
depends="kmenuedit ksysguard polkit-kde-agent powerdevil systemsettings"
short_desc="KDE Plasma Desktop"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2"
homepage="https://projects.kde.org/projects/plasma/plasma-desktop"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=77878290a6ae4bbcddb9bef3465efd625b7e0d7eeda3edebb7a1d26407ce3a92

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