# Template file for 'dune3d'
pkgname=dune3d
version=1.4.0
revision=1
build_style=meson
hostmakedepends="pkg-config cmake glib-devel python3 python3-gobject
 python3-cairo python3-pybind11 librsvg"
makedepends="gtkmm4-devel cairomm-devel occt-devel libuuid-devel libepoxy-devel
 glm eigen librsvg-devel libspnav-devel"
short_desc="Parametric 3D CAD application"
maintainer="ii8 <murray.calavera@protonmail.com>"
license="GPL-3.0-only"
homepage="https://dune3d.org/"
distfiles="https://github.com/dune3d/dune3d/archive/refs/tags/v${version}.tar.gz"
checksum=1465cd1d30ff00a82cadb0243065049af35149b0ed37679076ff805ffafd6d62

pre_configure() {
	# this needs to be set when cross compiling, otherwise meson complains
	# about not knowing which cmake to use for the target.
	export CMAKE=cmake
}
