libkexiv25: fix cross compilation

This commit is contained in:
Piotr Wójcik 2017-12-30 18:26:45 +01:00 committed by Jürgen Buchmüller
parent 89a0c77b1a
commit dbc44e5324
1 changed files with 5 additions and 1 deletions

View File

@ -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 <denis.revin@gmail.com>"
@ -23,3 +23,7 @@ libkexiv25-devel_package() {
vmove "usr/lib/*.so"
}
}
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi