From 724db57a4d0605e820f9beb9849604f7550a25c6 Mon Sep 17 00:00:00 2001 From: johannes Date: Sat, 28 Jan 2017 03:47:14 +0100 Subject: [PATCH] kcompletion: fix cross --- srcpkgs/kcompletion/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/kcompletion/template b/srcpkgs/kcompletion/template index 9d2421043a6..e1dbf49ab3f 100644 --- a/srcpkgs/kcompletion/template +++ b/srcpkgs/kcompletion/template @@ -1,7 +1,7 @@ # Template file for 'kcompletion' pkgname=kcompletion version=5.29.0 -revision=1 +revision=2 build_style=cmake hostmakedepends="extra-cmake-modules" makedepends="kconfig-devel kwidgetsaddons-devel" @@ -12,6 +12,10 @@ homepage="https://projects.kde.org/projects/frameworks/kcompletion" distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=6b1acf683de6d4b3ec36f7ddc270cd639268d25bb53217c83c9088a55f695ec0 +if [ -n "CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel" +fi + kcompletion-devel_package() { short_desc+=" - development" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"