# Template file for 'plasma-pa'
pkgname=plasma-pa
version=5.14.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons kdoctools pkg-config
 qt5-host-tools qt5-qmake"
makedepends="plasma-framework-devel kdoctools-devel pulseaudio-devel
 GConf-devel libcanberra-devel"
short_desc="PulseAudio Plasma applet"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/plasma-pa"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=e3629b417d4830c0e4c5f4a4a26392c4e44e98c54bd51676a56391ff940aaca2

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