From 9aa44467efced261362013d364fe39ae235f73c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 4 Jan 2017 17:21:40 +0100 Subject: [PATCH] lumina: fix cross Also enable parallel build, which worked ok for several builds and cross builds here. --- srcpkgs/lumina/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/lumina/template b/srcpkgs/lumina/template index ef98f86ca81..efa06e88d9c 100644 --- a/srcpkgs/lumina/template +++ b/srcpkgs/lumina/template @@ -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