plasma-nm: fix cross

This commit is contained in:
John 2018-08-27 21:42:20 +02:00 committed by Helmut Pozimski
parent 8973dd6384
commit 1dd358e298

View file

@ -4,13 +4,19 @@ version=5.13.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules mobile-broadband-provider-info pkg-config"
hostmakedepends="extra-cmake-modules mobile-broadband-provider-info pkg-config
qt5-qmake qt5-host-tools kcoreaddons"
makedepends="plasma-workspace-devel networkmanager-qt5-devel kdelibs4support-devel
kdesignerplugin-devel qca-qt5-devel modemmanager-qt5-devel kdoctools-devel openconnect-devel"
depends="mobile-broadband-provider-info"
short_desc="NetworkManager Plasma applet"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/plasma-nm"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=3813e9b557a00352ec9c98d7ee69577913842291bd8b9807c944215e7faf4d61
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi