From f717a62919096b48974a124dc5ab4f0f55f557b0 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Fri, 2 Dec 2016 00:29:53 +0100 Subject: [PATCH] albert: fix cross --- srcpkgs/albert/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/albert/template b/srcpkgs/albert/template index 82a7f9c5a96..8cf270e99fb 100644 --- a/srcpkgs/albert/template +++ b/srcpkgs/albert/template @@ -3,7 +3,8 @@ pkgname=albert version=0.8.11 revision=2 build_style=cmake -makedepends="muparser-devel qt5-svg-devel qt5-x11extras-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" +makedepends="muparser-devel qt5-svg-devel qt5-x11extras-devel qt5-plugin-mysql + qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" depends="qt5-plugin-sqlite" short_desc="A lightweight desktop environment agnostic launcher" maintainer="Nemh " @@ -11,3 +12,7 @@ license="GPL-3" homepage="https://github.com/ManuelSchneid3r/albert" distfiles="https://github.com/ManuelSchneid3r/${pkgname}/archive/v${version}.tar.gz" checksum=7a829add4308a59204071a509487571ada1d2f42af34d799d0984e48bab2e5d3 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-svg-devel qt5-x11extras-devel" +fi