From dbc44e5324c115c1710856b0ecaf54d8769f0edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 30 Dec 2017 18:26:45 +0100 Subject: [PATCH] libkexiv25: fix cross compilation --- srcpkgs/libkexiv25/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libkexiv25/template b/srcpkgs/libkexiv25/template index 2b2a166d52f..5db12a56ed7 100644 --- a/srcpkgs/libkexiv25/template +++ b/srcpkgs/libkexiv25/template @@ -5,7 +5,7 @@ revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" wrksrc="${pkgname%5}-${version}" -hostmakedepends="extra-cmake-modules" +hostmakedepends="extra-cmake-modules pkg-config" makedepends="qt5-devel exiv2-devel" short_desc="A library to manipulate pictures metadata" maintainer="Denis Revin " @@ -23,3 +23,7 @@ libkexiv25-devel_package() { vmove "usr/lib/*.so" } } + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-qmake" +fi