# Template file for 'print-manager'
pkgname=print-manager
version=18.08.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools
 kcoreaddons-devel kconfig-devel kauth-devel"
makedepends="plasma-framework-devel kcmutils-devel cups-devel"
short_desc="Printing management for KDE 5"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="GPL-2.0-or-later"
homepage="https://github.com/KDE/print-manager"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3ec78d21ab9c823a07eba57a77bfec4cc9600a0d38b96324f658f1e0e588819e

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