kdeplasma-addons5: fix cross
This commit is contained in:
parent
06e01401c4
commit
9e49751acb
|
@ -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 qt5-qmake qt5-host-tools kcoreaddons"
|
||||||
makedepends="kross-devel kdesignerplugin-devel kdoctools-devel kholidays-devel
|
makedepends="kross-devel kdesignerplugin-devel kdoctools-devel kholidays-devel
|
||||||
plasma-workspace-devel"
|
plasma-workspace-devel"
|
||||||
short_desc="Various Plasma addons"
|
short_desc="Various Plasma addons"
|
||||||
|
@ -14,3 +14,8 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://projects.kde.org/projects/plasma/kdeplasma-addons5"
|
homepage="https://projects.kde.org/projects/plasma/kdeplasma-addons5"
|
||||||
distfiles="${KDE_SITE}/plasma/${version}/${pkgname%5}-${version}.tar.xz"
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname%5}-${version}.tar.xz"
|
||||||
checksum=04f8cd16f5af53b2fa45663d3d19832adb7de12187aaa56cdc24a83afdacf6cd
|
checksum=04f8cd16f5af53b2fa45663d3d19832adb7de12187aaa56cdc24a83afdacf6cd
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
|
||||||
|
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue