[arch-commits] Commit in curaengine/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Apr 23 19:25:32 UTC 2022
Date: Saturday, April 23, 2022 @ 19:25:31
Author: foutrelis
Revision: 1187948
archrelease: copy trunk to community-staging-x86_64
Added:
curaengine/repos/community-staging-x86_64/
curaengine/repos/community-staging-x86_64/PKGBUILD
(from rev 1187947, curaengine/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: curaengine/repos/community-staging-x86_64/PKGBUILD (from rev 1187947, curaengine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-04-23 19:25:31 UTC (rev 1187948)
@@ -0,0 +1,45 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=curaengine
+pkgver=4.13.1
+pkgrel=2
+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')
+depends=('arcus' 'polyclipping')
+checkdepends=('cppunit')
+makedepends=('cmake' 'git' 'gtest' 'rapidjson')
+options=('debug')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('224379a40e26ae0026a3849d582353e49edf99520401e1fef56c9504638c68c62cfe394dab0eb40e4a447bfe0bfa506a880512e84fd6057a839b6384087c46d0')
+
+
+build() {
+ cd CuraEngine-${pkgver}
+ mkdir -p build
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=ON \
+ -DUSE_SYSTEM_LIBS=ON \
+ -DCMAKE_BUILD_TYPE='None'
+
+ make
+}
+
+check() {
+ cd CuraEngine-${pkgver}/build
+ # This test fails in when instance->readMeshGroupMessage(mesh_message) is
+ # called in the buildchroot but not outside
+ ARGS="-E ArcusCommunicationPrivateTest" make test
+}
+
+package() {
+ cd CuraEngine-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list