[arch-commits] Commit in (5 files)
Jelle van der Waa
jelle at archlinux.org
Fri Jan 1 15:09:51 UTC 2021
Date: Friday, January 1, 2021 @ 15:09:51
Author: jelle
Revision: 802666
New dependency of Cura
Added:
python-pynest2d/
python-pynest2d/repos/
python-pynest2d/trunk/
python-pynest2d/trunk/PKGBUILD
python-pynest2d/trunk/fix-cpp-version.patch
-----------------------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
fix-cpp-version.patch | 11 +++++++++++
2 files changed, 40 insertions(+)
Added: python-pynest2d/trunk/PKGBUILD
===================================================================
--- python-pynest2d/trunk/PKGBUILD (rev 0)
+++ python-pynest2d/trunk/PKGBUILD 2021-01-01 15:09:51 UTC (rev 802666)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-pynest2d
+pkgver=4.8.0
+pkgrel=1
+pkgdesc="Python bindings for libnest2d"
+arch=(x86_64)
+url="https://github.com/Ultimaker/pynest2d"
+license=("LGPL")
+depends=(libnest2d python)
+makedepends=(sip cmake)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Ultimaker/pynest2d/archive/${pkgver}.tar.gz)
+sha512sums=('1304450f94589b5212f11d83fb228f0deb919698b44b1651f248105c23b65cf3d233e67526bbfb47df74b9b18d0c465f4188d02a0a6941564b551f50d9a3c84f')
+
+prepare() {
+ cd ${pkgname}
+
+ mkdir build
+}
+
+build() {
+ cd ${pkgname}/build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd ${pkgname}/build
+ make DESTDIR="${pkgdir}" install
+}
Added: python-pynest2d/trunk/fix-cpp-version.patch
===================================================================
--- python-pynest2d/trunk/fix-cpp-version.patch (rev 0)
+++ python-pynest2d/trunk/fix-cpp-version.patch 2021-01-01 15:09:51 UTC (rev 802666)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1)
+
+ project(Libnest2D)
+
+-set(CMAKE_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD 14)
+ set(CMAKE_CXX_STANDARD_REQUIRED)
+
+ # Add our own cmake module path.
More information about the arch-commits
mailing list