# Template file for 'kscreen'
pkgname=kscreen
version=5.13.5
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake kcoreaddons"
makedepends="kxmlgui-devel libkscreen-devel plasma-framework-devel"
depends="hicolor-icon-theme"
short_desc="KDE screen management software"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/kscreen"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=e7acb533f60dbb0daf69915f0ecbe5c8ec020c0125a77eb424cb108b9063c14d

if [ "$CROSS_BUILD" ]; then
	configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
