parent
76ed416f26
commit
ed99e1b4b9
2 changed files with 32 additions and 0 deletions
16
srcpkgs/cura/patches/cmake-python-lib-path.patch
Normal file
16
srcpkgs/cura/patches/cmake-python-lib-path.patch
Normal file
|
@ -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
|
16
srcpkgs/cura/template
Normal file
16
srcpkgs/cura/template
Normal file
|
@ -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 <karl.robert.nilsson@gmail.com>"
|
||||||
|
license="AGPL-3"
|
||||||
|
homepage="https://github.com/Ultimaker/Cura"
|
||||||
|
distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz"
|
||||||
|
checksum=8e73cad45676e75ac61e4091d858bdd3ef9f0277ed66b1775f14dc5734cf42f7
|
Loading…
Add table
Add a link
Reference in a new issue