From d0d5e86b052d773fe310e5d169d922db69f53bfe Mon Sep 17 00:00:00 2001 From: johannes Date: Sat, 28 Jan 2017 03:04:08 +0100 Subject: [PATCH] kitemviews: fix cross --- srcpkgs/kitemviews/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/kitemviews/template b/srcpkgs/kitemviews/template index 1065f595a09..225e5b8a812 100644 --- a/srcpkgs/kitemviews/template +++ b/srcpkgs/kitemviews/template @@ -1,7 +1,7 @@ # Template file for 'kitemviews' pkgname=kitemviews version=5.29.0 -revision=1 +revision=2 build_style=cmake configure_args="-DBUILD_TESTING=OFF" hostmakedepends="extra-cmake-modules" @@ -13,6 +13,10 @@ homepage="https://projects.kde.org/projects/frameworks/kitemviews" distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=70dffefe04badc6e0ed7c2bc8009cc6a987c6c511d6e700c60efa688adcfe2a0 +if [ -n "$CROSS_BUILD$" ]; then + hostmakedepends+=" qt5-qmake qt5-host-tools qt5-tools-devel" +fi + kitemviews-devel_package() { short_desc+=" - development" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"