Date: Tuesday, July 30, 2019 @ 20:09:17
  Author: jelle
Revision: 495426

upgpkg: curaengine 4.2.0-1

Upstream update

Modified:
  curaengine/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-07-30 20:08:49 UTC (rev 495425)
+++ PKGBUILD    2019-07-30 20:09:17 UTC (rev 495426)
@@ -2,7 +2,7 @@
 # Contributor: Grey Christoforo <first name [at] last name [dot] net>
 
 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";
@@ -10,12 +10,20 @@
 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}
   mkdir -p build

Reply via email to