lumina: fix cross

Also enable parallel build, which worked ok for several builds
and cross builds here.
This commit is contained in:
Jürgen Buchmüller 2017-01-04 17:21:40 +01:00
parent adc40411a5
commit 9aa44467ef

View file

@ -4,7 +4,7 @@ version=1.2.0
revision=1
wrksrc=lumina-qt5-${version}
build_style=qmake
hostmakedepends="qt5-qmake qt5-tools"
hostmakedepends="qt5-host-tools"
makedepends="qt5-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel
qt5-declarative-devel libXrender-devel libXcomposite-devel libXdamage-devel
xcb-util-devel xcb-util-wm-devel xcb-util-image-devel"
@ -15,10 +15,12 @@ license="3-clause-BSD"
homepage="https://github.com/trueos/lumina"
distfiles="https://github.com/trueos/lumina/archive/qt5/${version}.tar.gz"
checksum=e6a96bdcb9f346cb3345dd5677ea4585e16c8656d4d46564ffe765857f064d55
disable_parallel_build=yes
replaces="lumina-git>=0"
configure_args="QT5LIBDIR=/usr/lib/qt5 L_ETCDIR=/etc"
nocross=yes
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-tools-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel"
fi
post_install() {
vlicense LICENSE