# Template file for 'cura-engine' pkgname=cura-engine version=3.0.3 revision=1 build_style=cmake wrksrc="CuraEngine-${version}" configure_args="-DCURA_ENGINE_VERSION:STRING=${version}" hostmakedepends="protobuf" makedepends="libArcus-devel protobuf-devel libgomp-devel" depends="libArcus libgomp" short_desc="Engine for processing 3D models into GCode" maintainer="Karl Nilsson " license="AGPL-3" homepage="https://github.com/Ultimaker/CuraEngine" distfiles="https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz" checksum=a8e9b99b42844dce1516c21e4d46bc40e17afbb3abec9ef92f3bb352d3cb12fb CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1 -D_GLIBCXX_USE_C99_STDLIB=1" pre_configure() { # Can't link against libstdc++.a because of R_X86_64_32 relocations sed -i CMakeLists.txt -e"s; -static-libstdc++;;" } post_install() { vlicense LICENSE }