# Template file for 'bluedevil'
pkgname=bluedevil
version=5.15.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools"
makedepends="bluez-qt5-devel kded-devel kio-devel plasma-framework-devel"
short_desc="KDE Bluetooth integration"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/bluedevil"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=34a62d22bcb0c5e0dbc7fe65b2d38d5ca3a014508b57cee86db481fea9013182

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