From f27882701dbc90e2196339ed918f55e26cdfbf3c Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 8 Nov 2016 18:34:02 +0100 Subject: [PATCH] injeqt: fix cross --- srcpkgs/injeqt/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/injeqt/template b/srcpkgs/injeqt/template index 04132d0c03b..0b6a6e7e1ec 100644 --- a/srcpkgs/injeqt/template +++ b/srcpkgs/injeqt/template @@ -12,6 +12,10 @@ homepage="https://github.com/vogel/injeqt/" distfiles="https://github.com/vogel/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=a5e125ab3e8c9f7139fccbce22d772b01c4e1af074dea3bbb1ddb4379a42cb16 +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + injeqt-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"