bluedevil: fix cross

This commit is contained in:
John 2018-08-27 00:01:49 +02:00 committed by maxice8
parent 3afa5f1bb1
commit 754b5753db

View file

@ -4,7 +4,7 @@ version=5.13.4
revision=1 revision=1
build_style=cmake build_style=cmake
configure_args="-DBUILD_TESTING=OFF" configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules" hostmakedepends="extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools"
makedepends="bluez-qt5-devel kded-devel kio-devel plasma-framework-devel" makedepends="bluez-qt5-devel kded-devel kio-devel plasma-framework-devel"
short_desc="KDE Bluetooth integration" short_desc="KDE Bluetooth integration"
maintainer="Denis Revin <denis.revin@gmail.com>" maintainer="Denis Revin <denis.revin@gmail.com>"
@ -12,4 +12,8 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/bluedevil" homepage="https://projects.kde.org/projects/plasma/bluedevil"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=7362a8fc82740e2b4bced08c662797356028e5ebe5e38771dd17d9728794ebb8 checksum=7362a8fc82740e2b4bced08c662797356028e5ebe5e38771dd17d9728794ebb8
nocross="tries to execute binaries of target architecture"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi