[arch-commits] Commit in curaengine/repos (4 files)

Gaëtan Bisson bisson at archlinux.org
Fri Sep 14 07:25:26 UTC 2018


    Date: Friday, September 14, 2018 @ 07:25:25
  Author: bisson
Revision: 380798

db-move: moved curaengine from [community-testing] to [community] (x86_64)

Added:
  curaengine/repos/community-x86_64/PKGBUILD
    (from rev 380797, curaengine/repos/community-testing-x86_64/PKGBUILD)
  curaengine/repos/community-x86_64/do_not_copy_resource.patch
    (from rev 380797, curaengine/repos/community-testing-x86_64/do_not_copy_resource.patch)
Deleted:
  curaengine/repos/community-testing-x86_64/
  curaengine/repos/community-x86_64/PKGBUILD

---------------------------------------------+
 /PKGBUILD                                   |   49 ++++++++++++++++++++++++++
 community-x86_64/PKGBUILD                   |   36 -------------------
 community-x86_64/do_not_copy_resource.patch |   14 +++++++
 3 files changed, 63 insertions(+), 36 deletions(-)

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2018-09-14 07:25:24 UTC (rev 380797)
+++ community-x86_64/PKGBUILD	2018-09-14 07:25:25 UTC (rev 380798)
@@ -1,36 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Grey Christoforo <first name [at] last name [dot] net>
-
-pkgname=curaengine
-pkgver=3.4.1
-pkgrel=2
-pkgdesc="Fast and robust engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers."
-url="https://github.com/Ultimaker/CuraEngine"
-arch=('x86_64')
-license=('AGPL')
-depends=('arcus')
-# TODO: https://github.com/Ultimaker/CuraEngine/blob/master/CMakeLists.txt#L26
-# Package polyclipping in the repos
-makedepends=('cmake' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
-md5sums=('825f80f42da70efe6c889d8acb8f6afe')
-
-
-build() {
-  cd CuraEngine-${pkgver}
-  mkdir -p build
-  cd build
-    
-   cmake .. \
-     -DCMAKE_INSTALL_PREFIX=/usr \
-     -DCMAKE_BUILD_TYPE=Release
-
-  make
-}
-
-package() {
-  cd CuraEngine-${pkgver}/build
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: curaengine/repos/community-x86_64/PKGBUILD (from rev 380797, curaengine/repos/community-testing-x86_64/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-09-14 07:25:25 UTC (rev 380798)
@@ -0,0 +1,49 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=curaengine
+pkgver=3.4.1
+pkgrel=3
+pkgdesc="Engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers."
+url="https://github.com/Ultimaker/CuraEngine"
+arch=('x86_64')
+license=('AGPL')
+depends=('arcus')
+# TODO: https://github.com/Ultimaker/CuraEngine/blob/master/CMakeLists.txt#L26
+# Package polyclipping in the repos
+checkdepends=('cppunit')
+makedepends=('cmake' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz"
+        do_not_copy_resource.patch)
+md5sums=('825f80f42da70efe6c889d8acb8f6afe'
+         '07b0f2240737f99830c1a87c1f1f378e')
+
+prepare() {
+  cd CuraEngine-${pkgver}
+  patch -Np1 -i ${srcdir}/do_not_copy_resource.patch
+}
+
+build() {
+  cd CuraEngine-${pkgver}
+  mkdir -p build
+  cd build
+    
+   cmake .. \
+     -DCMAKE_INSTALL_PREFIX=/usr \
+     -DBUILD_TESTS=ON \
+     -DCMAKE_BUILD_TYPE=Release
+
+  make
+}
+
+package() {
+  cd CuraEngine-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+}
+
+check() {
+  cd CuraEngine-${pkgver}/build
+  make test
+}
+
+# vim:set ts=2 sw=2 et:

Copied: curaengine/repos/community-x86_64/do_not_copy_resource.patch (from rev 380797, curaengine/repos/community-testing-x86_64/do_not_copy_resource.patch)
===================================================================
--- community-x86_64/do_not_copy_resource.patch	                        (rev 0)
+++ community-x86_64/do_not_copy_resource.patch	2018-09-14 07:25:25 UTC (rev 380798)
@@ -0,0 +1,14 @@
+diff -aur CuraEngine-3.4.1/CMakeLists.txt CuraEngine-3.4.1.old/CMakeLists.txt
+--- CuraEngine-3.4.1/CMakeLists.txt	2018-07-09 10:55:15.000000000 +0200
++++ CuraEngine-3.4.1.old/CMakeLists.txt	2018-09-07 20:16:42.621995976 +0200
+@@ -252,10 +252,6 @@
+ endif()
+ 
+ 
+-add_custom_command(TARGET CuraEngine POST_BUILD
+-                   COMMAND ${CMAKE_COMMAND} -E copy_directory
+-                       ${CMAKE_SOURCE_DIR}/resources $<TARGET_FILE_DIR:CuraEngine>)
+-
+ # Installing CuraEngine.
+ include(GNUInstallDirs)
+ install(TARGETS CuraEngine DESTINATION ${CMAKE_INSTALL_BINDIR})



More information about the arch-commits mailing list