2018-09-14 13:53:51 +00:00
|
|
|
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
|
|
|
|
# Contributor: Grey Christoforo <first name [at] last name [dot] net>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2019-03-12 23:40:47 +00:00
|
|
|
# - -DBUILD_TESTS=OFF
|
2018-09-14 13:53:51 +00:00
|
|
|
|
|
|
|
pkgname=curaengine
|
2022-01-16 15:32:46 +00:00
|
|
|
pkgver=4.13.0
|
2021-12-29 17:15:30 +00:00
|
|
|
pkgrel=1
|
2018-09-14 13:53:51 +00:00
|
|
|
pkgdesc="Engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers."
|
|
|
|
url="https://github.com/Ultimaker/CuraEngine"
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('AGPL')
|
2020-10-03 16:49:14 +00:00
|
|
|
depends=('arcus' 'polyclipping')
|
2018-09-14 13:53:51 +00:00
|
|
|
checkdepends=('cppunit')
|
2021-12-29 17:15:30 +00:00
|
|
|
makedepends=('cmake' 'git' 'gtest' 'rapidjson')
|
2019-09-27 01:12:54 +00:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
|
2022-01-16 15:32:46 +00:00
|
|
|
sha512sums=('3d52c67c0968f6caffd9e0b86743f70916705e6f2896466e69a179ce97b6d35f7af33b056e9375abaa445a00438d25e5f782a7e2a92c0805cec0c0527a25426c')
|
2019-07-30 23:03:38 +00:00
|
|
|
|
2018-09-14 13:53:51 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd CuraEngine-${pkgver}
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DBUILD_TESTS=OFF \
|
2020-03-28 23:21:23 +00:00
|
|
|
-DUSE_SYSTEM_LIBS=ON \
|
2021-12-29 17:15:30 +00:00
|
|
|
-DCMAKE_BUILD_TYPE='None'
|
2018-09-14 13:53:51 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2018-11-18 17:09:23 +00:00
|
|
|
check() {
|
2018-09-14 13:53:51 +00:00
|
|
|
cd CuraEngine-${pkgver}/build
|
2021-12-29 17:15:30 +00:00
|
|
|
# This test fails in when instance->readMeshGroupMessage(mesh_message) is
|
|
|
|
# called in the buildchroot but not outside
|
|
|
|
ARGS="-E ArcusCommunicationPrivateTest" make test
|
2018-09-14 13:53:51 +00:00
|
|
|
}
|
|
|
|
|
2018-11-18 17:09:23 +00:00
|
|
|
package() {
|
2018-09-14 13:53:51 +00:00
|
|
|
cd CuraEngine-${pkgver}/build
|
2018-11-18 17:09:23 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2018-09-14 13:53:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|