void-packages/srcpkgs/PrusaSlicer/template

25 lines
859 B
Bash

# Template file for 'PrusaSlicer'
pkgname=PrusaSlicer
version=2.0.0
revision=2
wrksrc="PrusaSlicer-version_${version}"
build_style=cmake
configure_args="-DSLIC3R_WX_STABLE=1 -DSLIC3R_FHS=1"
hostmakedepends="pkg-config"
makedepends="boost-devel tbb-devel libcurl-devel nlopt-devel gtest-devel
wxWidgets-devel glu-devel libpng-devel"
short_desc="G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.prusa3d.com/prusaslicer/"
distfiles="https://github.com/prusa3d/Prusaslicer/archive/version_${version}.tar.gz"
checksum=5d3c7fd745f2875be55f316cd779805ce1b6ce38634f0f4b0ccd01884da731b3
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static"
fi
Slic3rPE_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
}