[arch-commits] Commit in cura/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Mar 22 18:00:46 UTC 2019
Date: Friday, March 22, 2019 @ 18:00:46
Author: jelle
Revision: 443165
archrelease: copy trunk to community-any
Added:
cura/repos/community-any/PKGBUILD
(from rev 443164, cura/trunk/PKGBUILD)
Deleted:
cura/repos/community-any/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-22 18:00:37 UTC (rev 443164)
+++ PKGBUILD 2019-03-22 18:00:46 UTC (rev 443165)
@@ -1,49 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
-
-pkgname=cura
-pkgver=3.6.0
-pkgrel=2
-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'
- 'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar' 'qt5-graphicaleffects')
-makedepends=('qt5-tools' 'cmake')
-optdepends=('python-zeroconf: network printing support')
-provides=('cura')
-url="https://ultimaker.com/en/products/cura-software"
-license=('AGPL')
-arch=('any')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
-sha512sums=('b56e5575cb0eb15d759999dcd2f4c33873a0a57805a8ba0ec7860811a2137658a656216c969c6e3316d65fbd5e43f2def10a6385ccbf4fc306d15098569ef279')
-
-# Build order
-# arcus -> uranium -> curaengine -> libsavitar ->
-
-prepare(){
- cd Cura-${pkgver}
- sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
-}
-
-build(){
- cd Cura-${pkgver}
- mkdir -p build
- cd build
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
- -DCURA_VERSION=$pkgver
-
- make
-}
-
-package(){
- cd Cura-${pkgver}/build
- make DESTDIR="${pkgdir}" install
-
- # make sure cura can find uranium plugins:
- ln -s /usr/lib/uranium/plugins/* "${pkgdir}/usr/lib/cura/plugins/."
-
- # don't ever send any user or print info through the internet to Ultimaker
- rm -rf "${pkgdir}/usr/lib/cura/plugins/SliceInfoPlugin"
-}
Copied: cura/repos/community-any/PKGBUILD (from rev 443164, cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-22 18:00:46 UTC (rev 443165)
@@ -0,0 +1,50 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
+
+pkgname=cura
+pkgver=4.0.0
+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'
+ 'curaengine' 'cura-binary-data' 'cura-resources-materials' 'libsavitar' 'qt5-graphicaleffects')
+makedepends=('qt5-tools' 'cmake')
+optdepends=('python-zeroconf: network printing support')
+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=('869d999e9bb67238ddb47d189405b95e6802037e8a19270a3708490f87b5c42902852d26b368bbb01f49c2a00f4242710a6b8bc2fd0022c12a3fb338ef94fa55')
+
+# Build order
+# arcus -> uranium -> curaengine -> libsavitar ->
+
+prepare(){
+ cd Cura-${pkgver}
+ sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+}
+
+build(){
+ cd Cura-${pkgver}
+ mkdir -p build
+ 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
+
+ make
+}
+
+package(){
+ cd Cura-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+
+ # make sure cura can find uranium plugins:
+ ln -s /usr/lib/uranium/plugins/* "${pkgdir}/usr/lib/cura/plugins/."
+
+ # don't ever send any user or print info through the internet to Ultimaker
+ rm -rf "${pkgdir}/usr/lib/cura/plugins/SliceInfoPlugin"
+}
More information about the arch-commits
mailing list