Merge pull request #5626 from jnbr/kitemviews

kitemviews: fix cross
This commit is contained in:
Toyam Cox 2017-02-07 13:35:40 -06:00 committed by GitHub
commit fcaf4a4800
1 changed files with 5 additions and 1 deletions

View File

@ -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}"