plasma-desktop: fix cross

This commit is contained in:
John 2018-08-27 21:30:17 +02:00 committed by maxice8
parent 4c27f36f35
commit b8ad828808
1 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,8 @@ 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 pkg-config" hostmakedepends="extra-cmake-modules pkg-config kcoreaddons kdoctools
qt5-qmake qt5-host-tools"
makedepends="ibus-devel kactivities5-stats-devel kpeople-devel libcanberra-devel makedepends="ibus-devel kactivities5-stats-devel kpeople-devel libcanberra-devel
plasma-workspace-devel pulseaudio-devel xf86-input-evdev-devel plasma-workspace-devel pulseaudio-devel xf86-input-evdev-devel
xf86-input-synaptics-devel" xf86-input-synaptics-devel"
@ -15,3 +16,9 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2"
homepage="https://projects.kde.org/projects/plasma/plasma-desktop" homepage="https://projects.kde.org/projects/plasma/plasma-desktop"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=bd394a063481a153edc71ff72972b5f480c3913ce17ec3e49b494db986aebef2 checksum=bd394a063481a153edc71ff72972b5f480c3913ce17ec3e49b494db986aebef2
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel kded
kcmutils plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi