kcrash: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-01-22 19:03:52 +01:00
parent f2a99bac1b
commit 717595edba
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ homepage="https://projects.kde.org/projects/frameworks/kcrash"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=3bdb5421b0909fa4e0d7bfb8bba708f9b95c4edf9ca1580aac8229512c49e224 checksum=3bdb5421b0909fa4e0d7bfb8bba708f9b95c4edf9ca1580aac8229512c49e224
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools kwindowsystem-devel"
fi
kcrash-devel_package() { kcrash-devel_package() {
short_desc+=" - development" short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"