latte-dock: fix cross

This commit is contained in:
John 2018-08-28 11:52:04 +02:00 committed by maxice8
parent da78c81620
commit e63864883c
1 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,8 @@ pkgname=latte-dock
version=0.8.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKDE_L10N_AUTO_TRANSLATIONS=OFF -DENABLE_MAKE_UNIQUE=OFF"
hostmakedepends="extra-cmake-modules pkg-config"
configure_args="-DBUILD_TESTING=OFF -DENABLE_MAKE_UNIQUE=OFF"
hostmakedepends="extra-cmake-modules kcoreaddons pkg-config qt5-qmake qt5-host-tools"
makedepends="knewstuff-devel libSM-devel plasma-framework-devel"
short_desc="Dock based on plasma frameworks"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
@ -13,4 +13,8 @@ homepage="https://phabricator.kde.org/source/latte-dock/"
changelog="https://phabricator.kde.org/source/latte-dock/browse/master/CHANGELOG.md"
distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=7ab5f532a87141a5c22dcf24ef7c993a21d56a30fefd5ce466db982c4cc8e9fd
nocross=yes
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi