# Template file for 'milou'
pkgname=milou
version=5.27.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools kpackage qt5-host-tools
 gettext qt5-qmake"
makedepends="krunner-devel kitemmodels-devel"
short_desc="KDE dedicated search application built on top of Baloo"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LPGL-2.1-or-later"
homepage="https://invent.kde.org/plasma/milou"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=7ddd4a8fce239c62b03ea8963ee1139b17a35d1aa29725995f1fdfccceb045ff

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