From ed99e1b4b905c569910c2324be765daa8c3691f4 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Wed, 28 Jun 2017 16:43:38 +0100 Subject: [PATCH] New package: cura-2.7.0 Closes: #7676 [via git-merge-pr] --- srcpkgs/cura/patches/cmake-python-lib-path.patch | 16 ++++++++++++++++ srcpkgs/cura/template | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/cura/patches/cmake-python-lib-path.patch create mode 100644 srcpkgs/cura/template diff --git a/srcpkgs/cura/patches/cmake-python-lib-path.patch b/srcpkgs/cura/patches/cmake-python-lib-path.patch new file mode 100644 index 00000000000..9f96a3ab98b --- /dev/null +++ b/srcpkgs/cura/patches/cmake-python-lib-path.patch @@ -0,0 +1,16 @@ +diff --git CMakeLists.txt CMakeLists.txt +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -46,10 +46,10 @@ if(NOT APPLE AND NOT WIN32) + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + RENAME cura) + install(DIRECTORY cura +- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages ++ DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages + FILES_MATCHING PATTERN *.py) + install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py +- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura) ++ DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura) + install(FILES ${CMAKE_BINARY_DIR}/cura.desktop + DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) + install(FILES cura.appdata.xml diff --git a/srcpkgs/cura/template b/srcpkgs/cura/template new file mode 100644 index 00000000000..6a1805c9046 --- /dev/null +++ b/srcpkgs/cura/template @@ -0,0 +1,16 @@ +# Template file for 'cura' +pkgname=cura +version=2.7.0 +revision=1 +python_version=3 +build_style=cmake +wrksrc="Cura-${version}" +configure_args="-DCURA_VERSION:STRING=${version}" +makedepends="libArcus-devel libArcus-python3 python3 Uranium" +depends="Uranium python3-pyserial cura-engine cura-fdm-materials python3-zeroconf" +short_desc="3D printer / slicing GUI" +maintainer="Karl Nilsson " +license="AGPL-3" +homepage="https://github.com/Ultimaker/Cura" +distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz" +checksum=8e73cad45676e75ac61e4091d858bdd3ef9f0277ed66b1775f14dc5734cf42f7