30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'PrusaSlicer'
|
|
pkgname=PrusaSlicer
|
|
version=2.3.0
|
|
revision=1
|
|
wrksrc="PrusaSlicer-version_${version}"
|
|
build_style=cmake
|
|
build_helper="qemu"
|
|
configure_args="-DSLIC3R_WX_STABLE=1 -DSLIC3R_FHS=1 -DSLIC3R_GTK=3"
|
|
hostmakedepends="pkg-config"
|
|
makedepends=" boost-devel cereal cgal-devel dbus-devel eigen glew-devel
|
|
glu-devel gmpxx-devel gtest-devel gtk+3-devel libcurl-devel libglib-devel
|
|
libpng-devel nlopt-devel openvdb-devel tbb-devel wxWidgets-devel
|
|
wxWidgets-gtk3-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=cd3bac5e29b5441fc4690f28cd7b1064e97dc00207bbdc88f7bd7832308d6ca5
|
|
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
|
|
}
|