openscad: fix cross

also called, workaround qmakes behaviour of not finding installed modules
This commit is contained in:
John 2020-04-07 20:15:33 +02:00
parent 6d5dbc34d4
commit 012a9ed672
No known key found for this signature in database
GPG key ID: 5FDE97AF468A09B7

View file

@ -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