From 3e00148dc0acd275d54ef764e1f37ecd0505f765 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 8 Nov 2016 20:07:55 +0100 Subject: [PATCH] quazip-qt5: fix cross --- srcpkgs/quazip-qt5/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/quazip-qt5/template b/srcpkgs/quazip-qt5/template index d992d7b9292..0f69ba59ce6 100644 --- a/srcpkgs/quazip-qt5/template +++ b/srcpkgs/quazip-qt5/template @@ -12,11 +12,14 @@ license="LGPL-2.0" homepage="http://sourceforge.net/projects/quazip/" distfiles="${SOURCEFORGE_SITE}/${pkgname%-*}/${pkgname%-*}-${version}.tar.gz" checksum=91d827fbcafd099ae814cc18a8dd3bb709da6b8a27c918ee1c6c03b3f29440f4 -nocross=yes provides="quazip-${version}_${revision}" replaces="quazip>=0" +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + quazip-qt5-devel_package() { depends="quazip-qt5>=${version}_${revision}" short_desc+=" - development files"