[arch-commits] Commit in cura/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Jul 26 18:53:29 UTC 2020


    Date: Sunday, July 26, 2020 @ 18:53:29
  Author: jelle
Revision: 665373

upgpkg: cura 4.6.2-1

Modified:
  cura/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-26 18:53:26 UTC (rev 665372)
+++ PKGBUILD	2020-07-26 18:53:29 UTC (rev 665373)
@@ -2,7 +2,7 @@
 # Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
 
 pkgname=cura
-pkgver=4.5.0
+pkgver=4.6.2
 pkgrel=1
 pkgdesc="A software solution for 3D printing aimed at RepRaps and the Ultimaker."
 depends=('python-pyqt5' 'qt5-svg' 'python-scipy' 'python-pyserial' 'python-numpy' 'uranium' 'python-requests'
@@ -9,13 +9,17 @@
          'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar' 'qt5-graphicaleffects'
          'python-certifi')
 makedepends=('qt5-tools' 'cmake')
-optdepends=('python-zeroconf: network printing support')
+optdepends=('python-zeroconf: network printing support'
+            'python-trimesh: Reading AMF files'
+            'python-libcharon: UFPWriter/UFPReader')
 provides=('cura')
 url="https://ultimaker.com/en/products/cura-software"
 license=('LGPL')
 arch=('any')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
-sha512sums=('a42f685b18dfe712ae04e6778e5a986fa64730dcbd90383d604b090c17f1e555c3e22a5b333568abd8b8a48f568dffeeccfa04c273485edc3b42298229bf1b6a')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz
+        camera_tool_not_found.patch::https://github.com/Ultimaker/Cura/commit/773edfd533acf258f1d785092506c0746a93808c.patch)
+sha512sums=('3a3fcb9cf9e72fd10a1da1b14e5fbece0f203fd864266344860b1953876969e17ddce13b09655bd3e94b1eca9ce2e914fa49bb576a48b2a4c93e0cddebc1606b'
+            '6531b70488d2ddd97a9ec9272cc01006729327b5e28a019a9258302d93c7d3ba1a4e6aa80bdea3d460835069702cdde9681622991a5b12dd0631f8b61cca59a8')
 
 # Build order
 # arcus -> uranium -> curaengine -> libsavitar ->
@@ -23,6 +27,8 @@
 prepare(){
   cd Cura-${pkgver}
   sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+
+  patch -Np1 -i ${srcdir}/camera_tool_not_found.patch
 }
 
 build(){
@@ -31,10 +37,12 @@
   cd build
   cmake .. \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
     -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
     -DCURA_VERSION=$pkgver \
-    -DCURA_SDK_VERSION=6.0.0 -DCURA_CLOUD_API_VERSION=1
+    -DCURA_SDK_VERSION=6.0.0 \
+    -DCURA_CLOUD_API_VERSION=1 \
+    -DCURA_CLOUD_API_ROOT:STRING="https://api.ultimaker.com" \
+    -DCURA_CLOUD_ACCOUNT_API_ROOT:STRING="https://account.ultimaker.com"
 
   make
 }


More information about the arch-commits mailing list