From 0d9262d7098cf722852aeda5e5d132affb0ec8c3 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 30 Jul 2019 23:03:38 +0000 Subject: [PATCH] community/curaengine to 4.2.0-1 --- community/curaengine/PKGBUILD | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/community/curaengine/PKGBUILD b/community/curaengine/PKGBUILD index b10153cf1..00a8f6648 100644 --- a/community/curaengine/PKGBUILD +++ b/community/curaengine/PKGBUILD @@ -5,7 +5,7 @@ # - -DBUILD_TESTS=OFF pkgname=curaengine -pkgver=4.1.0 +pkgver=4.2.0 pkgrel=1 pkgdesc="Engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers." url="https://github.com/Ultimaker/CuraEngine" @@ -13,11 +13,19 @@ arch=('x86_64') license=('AGPL') depends=('arcus' 'rapidjson') # TODO: https://github.com/Ultimaker/CuraEngine/blob/master/CMakeLists.txt#L26 +# Work with system openmp # Package polyclipping in the repos checkdepends=('cppunit') makedepends=('cmake' 'git') -source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('49a3d3943c0767ceba2b94d061e11f43a428401941032cb1cbc578acf95495ba2db48307a9e28056f5a641be7ba581b53264a3d32abbbeeb00b978c8203ca79f') +source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz" + https://src.fedoraproject.org/rpms/CuraEngine/raw/master/f/CuraEngine-gcc9.patch) +sha512sums=('6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500' + 'fe3130992113d850322ac1ba34cda3e1ab146a155097c9787a2044e78751de32590b00862c7a4c1ce0ac95281a7e669509741e9f9a170f23ad6eaec13e01bc2b') + +prepare() { + cd CuraEngine-${pkgver} + patch -Np1 -i ${srcdir}/CuraEngine-gcc9.patch +} build() { cd CuraEngine-${pkgver}