summaryrefslogtreecommitdiff
path: root/media-gfx/cura
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /media-gfx/cura
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'media-gfx/cura')
-rw-r--r--media-gfx/cura/Manifest5
-rw-r--r--media-gfx/cura/cura-4.7.0-r1.ebuild64
-rw-r--r--media-gfx/cura/files/cura-4.6.1-fix-install-paths.patch31
-rw-r--r--media-gfx/cura/metadata.xml2
4 files changed, 3 insertions, 99 deletions
diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest
index bea8a206c437..ad6f49aee482 100644
--- a/media-gfx/cura/Manifest
+++ b/media-gfx/cura/Manifest
@@ -1,6 +1,3 @@
-AUX cura-4.6.1-fix-install-paths.patch 1478 BLAKE2B 177cd0d14fdecd0da4da0cbc4d1ff86082adbc4182c3789dd9d4ec056ab76b43d6ce7b48e027c5fc5d7b1684a15e310101361e6896fa980cd3370b1d2f2860c5 SHA512 4ddf154f398b9d285fb51e9255a7dd5d10caef0a1980bcf3f37c231d1c3c91433cfa9d351b7c96404364db1924f1fed63a98e8f317eef6905fd14e96171af3b0
-DIST cura-4.7.0.tar.gz 29712949 BLAKE2B b208a669aa38b07012099fe01ec453232c2bd3007befe649a4fd4cb0a0b12473762a5069d09218a3f2fe865141bbb8c8b7d5a26168fed02900abb20d78b0ad3f SHA512 0b3383042b9c8cf2ce27caee95c365be786c9eb40898c74ea4e0fb903241087e48a6e908d85635a9e43cf21ca3623098c6fe980d0cec3fc6a59c01c9c9cb4d9d
DIST cura-4.8.0.tar.gz 31930258 BLAKE2B 0a10a03f5fa34ec0279b9476063f71d8ae904e05485b84fac011fa5061812cd74f4be6df7e6d93046365799fc2fb1bcf4d10d89c69d2c8455080f99c12cec153 SHA512 0a34438299908021242e47e74418e56fe61c41cff5c29df938b4705b5d23ceb6e1bd17b9eb8110f8ec75c7a08afe8928857d4f2fd5befa00c187bce717105711
-EBUILD cura-4.7.0-r1.ebuild 1875 BLAKE2B e31a488ab5dd67bf53f6bcdfb67f53475aa7432e74605058f4351b6a4ce6baa78675b0dff28431c2dcf28635b5bdfae15190363229d6b869ce3236352f0f1d3d SHA512 d9da18fac32dba4274ce84bdcb79355350470eeb7bb1aac396aa984777bbef9b81c7427416e3fa239aff638e5093a7d7d50669a301c534a21a0ffcf1310bf6dc
EBUILD cura-4.8.0.ebuild 1966 BLAKE2B fb232dbe948e892b71ae184225b8c0a36feb34375dafd510332aa950bc0490512983a1ae15378f94beb863c3c4c012e7c5f6fd06c5f181558ad17c569c4ab73e SHA512 05d22e7c757079fa99eeeacd2f398526ff64373b450f46f058d627e85660a59b9d9ae8eb59222b07f364a381a0d9e8e16cbb16c112c69c7f4a46b2150332bcfe
-MISC metadata.xml 924 BLAKE2B 98684c30170538865b264d21a025a558b66ef0f5b46dd4cc291dacd71367cf775135d66fc379bf6bf0edfacab6e33c939a750fdcc8f036cedb7d9daf5b442072 SHA512 b09e1e1251f3171721bea6ea7ace38beed877525b1a83282035bb34fa871123c0995674d899a486b3ff67ac34429cabc12f9e90ffd1b1e3f60257389a900e483
+MISC metadata.xml 1038 BLAKE2B 888ad9975a914f5af17e3e43582eb8b2d2cd032cd157fd043271c2c17d098d24a8d8390a70c05587b180a3ff973c854f073fea60f2edfc8c89ffea40c914decb SHA512 100ef5e05d7585bbaaea67d0e91026dfad180d4d007dc4b833dd995cc1726706d53b7b67aa6576a91a7924be9280eec706221556cdcff1176c839c81423d09cc
diff --git a/media-gfx/cura/cura-4.7.0-r1.ebuild b/media-gfx/cura/cura-4.7.0-r1.ebuild
deleted file mode 100644
index e6ec0adefd39..000000000000
--- a/media-gfx/cura/cura-4.7.0-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=(python3_{7..8})
-inherit cmake desktop python-single-r1 xdg
-
-MY_PN=Cura
-
-DESCRIPTION="A 3D model slicing application for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/Cura"
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="+usb zeroconf"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="sys-devel/gettext"
-RDEPEND="${PYTHON_DEPS}
- ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
- ~dev-libs/libcharon-${PV}[${PYTHON_SINGLE_USEDEP}]
- ~dev-libs/libsavitar-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
- ~dev-python/uranium-${PV}[${PYTHON_SINGLE_USEDEP}]
- ~media-gfx/curaengine-${PV}
- ~media-gfx/fdm-materials-${PV}
- $(python_gen_cond_dep '
- dev-python/mypy[${PYTHON_MULTI_USEDEP}]
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- dev-python/PyQt5[${PYTHON_MULTI_USEDEP}]
- dev-python/requests[${PYTHON_MULTI_USEDEP}]
- dev-python/sentry-sdk[${PYTHON_MULTI_USEDEP}]
- sci-libs/shapely[${PYTHON_MULTI_USEDEP}]
- usb? ( dev-python/pyserial[${PYTHON_MULTI_USEDEP}] )
- zeroconf? ( dev-python/zeroconf[${PYTHON_MULTI_USEDEP}] )
- ')"
-DEPEND="${RDEPEND}"
-
-DOCS=(README.md)
-PATCHES=("${FILESDIR}/${PN}-4.6.1-fix-install-paths.patch")
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
- sed -i -e "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die
- cmake_src_prepare
-}
-
-src_configure() {
- # trimesh not available in portage
- local mycmakeargs=(
- -DCURA_NO_INSTALL_PLUGINS="AMFReader;Toolbox;TrimeshReader"
- -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)"
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- doicon icons/*.png
- python_fix_shebang "${D}/usr/bin/cura"
- python_optimize "${D}${get_libdir}"
-}
diff --git a/media-gfx/cura/files/cura-4.6.1-fix-install-paths.patch b/media-gfx/cura/files/cura-4.6.1-fix-install-paths.patch
deleted file mode 100644
index 4d5f00ad47d7..000000000000
--- a/media-gfx/cura/files/cura-4.6.1-fix-install-paths.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- Cura-4.5.0-orig/CMakeLists.txt 2020-03-01 16:32:23.380956083 +0200
-+++ Cura-4.5.0/CMakeLists.txt 2020-02-25 17:16:45.000000000 +0200
-@@ -48,6 +48,15 @@
- find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
- endif()
-
-+if(NOT PYTHON_SITE_PACKAGES_DIR)
-+ if(APPLE OR WIN32)
-+ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages
-+ CACHE STRING "Directory to install Python bindings to")
-+ else()
-+ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages
-+ CACHE STRING "Directory to install Python bindings to")
-+ endif()
-+endif()
-
- if(NOT ${URANIUM_DIR} STREQUAL "")
- set(CMAKE_MODULE_PATH "${URANIUM_DIR}/cmake")
-@@ -80,10 +89,10 @@
- DESTINATION lib${LIB_SUFFIX}/python${Python3_VERSION_MAJOR}/dist-packages/cura)
- else()
- install(DIRECTORY cura
-- DESTINATION lib${LIB_SUFFIX}/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages
-+ DESTINATION ${PYTHON_SITE_PACKAGES_DIR}
- FILES_MATCHING PATTERN *.py)
- install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py
-- DESTINATION lib${LIB_SUFFIX}/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages/cura)
-+ DESTINATION ${PYTHON_SITE_PACKAGES_DIR}/cura)
- endif()
- install(FILES ${CMAKE_BINARY_DIR}/cura.desktop
- DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
diff --git a/media-gfx/cura/metadata.xml b/media-gfx/cura/metadata.xml
index 19761d81848f..615b4b60345e 100644
--- a/media-gfx/cura/metadata.xml
+++ b/media-gfx/cura/metadata.xml
@@ -28,6 +28,8 @@
<flag name="usb">Access 3D printers via USB</flag>
</use>
<upstream>
+ <bugs-to>https://github.com/Ultimaker/Cura/issues</bugs-to>
+ <doc>https://github.com/Ultimaker/Cura/wiki</doc>
<remote-id type="github">Ultimaker/Cura</remote-id>
</upstream>
</pkgmetadata>