void-packages/srcpkgs/cura-engine/template

23 lines
736 B
Bash

# Template file for 'cura-engine'
pkgname=cura-engine
version=3.1.0
revision=2
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 <karl.robert.nilsson@gmail.com>"
license="AGPL-3"
homepage="https://github.com/Ultimaker/CuraEngine"
distfiles="https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz"
checksum=9df6060b6113f0f2ca2292a5365ce616cd00f412b13122863445e623b0fcd756
CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1 -D_GLIBCXX_USE_C99_STDLIB=1"
post_install() {
vlicense LICENSE
}