From 012a9ed672c54a9a5625222f396589827aa08e79 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 7 Apr 2020 20:15:33 +0200 Subject: [PATCH] openscad: fix cross also called, workaround qmakes behaviour of not finding installed modules --- srcpkgs/openscad/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/openscad/template b/srcpkgs/openscad/template index e33bb67bbe..48af4eafb5 100644 --- a/srcpkgs/openscad/template +++ b/srcpkgs/openscad/template @@ -3,7 +3,7 @@ pkgname=openscad version=2019.05 revision=2 build_style=qmake -hostmakedepends="bison flex pkg-config gettext" +hostmakedepends="bison flex pkg-config gettext qt5-qmake" makedepends="cgal-devel harfbuzz-devel opencsg-devel qscintilla-qt5-devel qt5-multimedia-devel libxml2-devel libzip-devel double-conversion-devel" short_desc="Solid 3D CAD modeller" @@ -12,3 +12,7 @@ license="GPL-2.0-or-later" homepage="http://www.openscad.org" distfiles="http://files.openscad.org/${pkgname}-${version}.src.tar.gz" checksum=0a16c4263ce52380819dd91c609a719d38f12f6b8c4da0e828dcbe5b70996f59 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-multimedia-devel" +fi