# Template file for 'latte-dock'
pkgname=latte-dock
version=0.8.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DENABLE_MAKE_UNIQUE=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons pkg-config qt5-qmake qt5-host-tools"
makedepends="knewstuff-devel libSM-devel plasma-framework-devel"
short_desc="Dock based on plasma frameworks"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://phabricator.kde.org/source/latte-dock/"
changelog="https://phabricator.kde.org/source/latte-dock/browse/master/CHANGELOG.md"
distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=989c263727770b3c254b03f0a197649b7c0bc39ae75ded63d433779da10288b8

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