libkexiv25: fix cross compilation
This commit is contained in:
parent
89a0c77b1a
commit
dbc44e5324
@ -5,7 +5,7 @@ revision=1
|
|||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
wrksrc="${pkgname%5}-${version}"
|
wrksrc="${pkgname%5}-${version}"
|
||||||
hostmakedepends="extra-cmake-modules"
|
hostmakedepends="extra-cmake-modules pkg-config"
|
||||||
makedepends="qt5-devel exiv2-devel"
|
makedepends="qt5-devel exiv2-devel"
|
||||||
short_desc="A library to manipulate pictures metadata"
|
short_desc="A library to manipulate pictures metadata"
|
||||||
maintainer="Denis Revin <denis.revin@gmail.com>"
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
||||||
@ -23,3 +23,7 @@ libkexiv25-devel_package() {
|
|||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user