diff --git a/srcpkgs/kolourpaint/template b/srcpkgs/kolourpaint/template index cb56797c126..dd2251733d7 100644 --- a/srcpkgs/kolourpaint/template +++ b/srcpkgs/kolourpaint/template @@ -5,13 +5,17 @@ revision=1 short_desc="Free, easy-to-use paint program for KDE" maintainer="Piotr Wójcik " build_style=cmake -hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake" +hostmakedepends="extra-cmake-modules" makedepends="kdelibs4support-devel kparts-devel qt5-devel" homepage="http://www.kolourpaint.org/" distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz" checksum=1c0df432c88140c26d3e379a79b99d4c4c71dc75f492d9c6e36bba1ea71f6d97 license="2-clause-BSD, GPL-2, GPL-2+, GFDL-1.2" +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" python qt5-host-tools qt5-qmake kconfig kdoctools" +fi + post_install() { vlicense COPYING COPYING.DOC COPYING.LIB }