[arch-commits] Commit in cura/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Wed Dec 29 16:35:40 UTC 2021
Date: Wednesday, December 29, 2021 @ 16:35:40
Author: jelle
Revision: 1087382
archrelease: copy trunk to community-any
Added:
cura/repos/community-any/PKGBUILD
(from rev 1087381, cura/trunk/PKGBUILD)
Deleted:
cura/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-29 16:35:32 UTC (rev 1087381)
+++ PKGBUILD 2021-12-29 16:35:40 UTC (rev 1087382)
@@ -1,58 +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=4.11.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' 'python-requests'
- 'curaengine' 'libsavitar' 'qt5-graphicaleffects'
- 'python-certifi' 'python-pynest2d' 'python-keyring' 'python-trimesh')
-makedepends=('qt5-tools' 'cmake')
-optdepends=('python-zeroconf: network printing support'
- 'python-trimesh: Reading AMF files'
- 'python-libcharon: UFPWriter/UFPReader'
- 'cura-binary-data: Binary data (firmwares and such) for cura'
- 'cura-resources-materials: FDM Material database')
-
-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=('39ca06047123a08e7e00a9c89f96fce2da2aad2e6c4a937bed8fb668602dc37c02fe8db5d0e653d180f2c84c8b2561631a3942ebfaf17deaf7f1fbe771aed164')
-
-# Build order
-# arcus -> uranium -> curaengine -> libsavitar -> pynest2d ->
-
-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 \
- -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
- -DCURA_VERSION=$pkgver \
- -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
-}
-
-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 1087381, cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-29 16:35:40 UTC (rev 1087382)
@@ -0,0 +1,58 @@
+# 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.12.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' 'python-requests'
+ 'curaengine' 'libsavitar' 'qt5-graphicaleffects'
+ 'python-certifi' 'python-pynest2d' 'python-keyring' 'python-trimesh')
+makedepends=('qt5-tools' 'cmake')
+optdepends=('python-zeroconf: network printing support'
+ 'python-trimesh: Reading AMF files'
+ 'python-libcharon: UFPWriter/UFPReader'
+ 'cura-binary-data: Binary data (firmwares and such) for cura'
+ 'cura-resources-materials: FDM Material database')
+
+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=('037de7096716b023200fe7b8a0f5d32e21fb7d7789f67b772cb08f1d280084149c48e5548ed372b6bb616bb89ae5a093fdef72aa36d9b7b743bbf2058d658c57')
+
+# Build order
+# arcus -> uranium -> curaengine -> libsavitar -> pynest2d ->
+
+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 \
+ -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
+ -DCURA_VERSION=$pkgver \
+ -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
+}
+
+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