29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'PrusaSlicer'
|
|
pkgname=PrusaSlicer
|
|
version=2.2.0
|
|
revision=3
|
|
wrksrc="PrusaSlicer-version_${version}"
|
|
build_style=cmake
|
|
build_helper="qemu"
|
|
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 glew-devel cereal openvdb-devel
|
|
cgal-devel gmpxx-devel eigen"
|
|
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=e6e0c83bf92e448ec058fd3063b84caca69f58b8b419e48eace6e8ce534937c0
|
|
nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/25230/steps/shell_3/logs/stdio"
|
|
|
|
Slic3rPE_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
}
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/prusa-slicer.desktop 644 usr/share/applications
|
|
}
|