cura: cross-compile

This commit is contained in:
Đoàn Trần Công Danh 2020-08-15 23:45:54 +07:00
parent 38708f2e3d
commit 288905803c

View file

@ -5,9 +5,10 @@ revision=1
archs=noarch
wrksrc="Cura-${version}"
build_style=cmake
configure_args="-DCURA_VERSION=${version}"
configure_args="-DCURA_VERSION=${version}
-DURANIUM_DIR=$XBPS_CROSS_BASE/usr/share/uranium"
pycompile_dirs="usr/lib/cura/plugins"
hostmakedepends="python3 Uranium"
hostmakedepends="python3"
makedepends="Uranium libArcus-devel python3-devel"
depends="Uranium cura-engine cura-fdm-materials python3-pyserial python3-zeroconf
python3-certifi python3-trimesh libSavitar-python3 python3-requests qt5-graphicaleffects"
@ -17,4 +18,3 @@ license="LGPL-3.0-or-later"
homepage="https://github.com/Ultimaker/Cura"
distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz"
checksum=a6bcbf15bcc36d2c6bbedc9d52c7b00b7e22f3e44ca53b0ca7c73b8c1f49bb80
nocross="UraniumTranslationTools not found"