2019-05-26 12:10:04 +02:00
|
|
|
# Template file for 'PrusaSlicer'
|
|
|
|
pkgname=PrusaSlicer
|
|
|
|
version=2.0.0
|
2019-05-31 23:50:58 +02:00
|
|
|
revision=2
|
|
|
|
wrksrc="PrusaSlicer-version_${version}"
|
2019-05-26 12:10:04 +02:00
|
|
|
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
|
2019-05-31 23:50:58 +02:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qemu-user-static"
|
|
|
|
fi
|
2019-05-26 12:10:04 +02:00
|
|
|
|
|
|
|
Slic3rPE_package() {
|
|
|
|
build_style=meta
|
2019-05-31 23:50:58 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2019-05-26 12:10:04 +02:00
|
|
|
}
|