1 |
commit: 4aeeb63fc98b2fe953777627b25e1a769110f11a |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 18:57:30 2020 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 18:37:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aeeb63f |
7 |
|
8 |
media-gfx/cura: bump to 4.8.0 |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditoneer <AT> gentoo.org> |
11 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
12 |
|
13 |
media-gfx/cura/Manifest | 1 + |
14 |
media-gfx/cura/cura-4.8.0.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 68 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest |
18 |
index 8e2e7103861..96afac35472 100644 |
19 |
--- a/media-gfx/cura/Manifest |
20 |
+++ b/media-gfx/cura/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST cura-4.6.1.tar.gz 36080329 BLAKE2B 5d86734334a2c65afd62eea6b3324b0fc543670b48f5410eac16561590706feed2320c45b22e60c9835973f965a00f222280441daf44866ffc93ebcf1295c750 SHA512 8802993a98e75428d11bfdc7721d5d48e8939ef1c783789db2941cb40b6fc8014eacbdea09c559c6d68cb1dd99def15bfb503d5c164f057a384c8a7620b15dc2 |
23 |
DIST cura-4.7.0.tar.gz 29712949 BLAKE2B b208a669aa38b07012099fe01ec453232c2bd3007befe649a4fd4cb0a0b12473762a5069d09218a3f2fe865141bbb8c8b7d5a26168fed02900abb20d78b0ad3f SHA512 0b3383042b9c8cf2ce27caee95c365be786c9eb40898c74ea4e0fb903241087e48a6e908d85635a9e43cf21ca3623098c6fe980d0cec3fc6a59c01c9c9cb4d9d |
24 |
+DIST cura-4.8.0.tar.gz 31930258 BLAKE2B 0a10a03f5fa34ec0279b9476063f71d8ae904e05485b84fac011fa5061812cd74f4be6df7e6d93046365799fc2fb1bcf4d10d89c69d2c8455080f99c12cec153 SHA512 0a34438299908021242e47e74418e56fe61c41cff5c29df938b4705b5d23ceb6e1bd17b9eb8110f8ec75c7a08afe8928857d4f2fd5befa00c187bce717105711 |
25 |
|
26 |
diff --git a/media-gfx/cura/cura-4.8.0.ebuild b/media-gfx/cura/cura-4.8.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..cac723768e0 |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/cura/cura-4.8.0.ebuild |
31 |
@@ -0,0 +1,67 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=(python3_{6..8}) |
38 |
+inherit cmake desktop python-single-r1 xdg |
39 |
+ |
40 |
+MY_PN=Cura |
41 |
+ |
42 |
+DESCRIPTION="A 3D model slicing application for 3D printing" |
43 |
+HOMEPAGE="https://github.com/Ultimaker/Cura" |
44 |
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
+IUSE="debug +usb zeroconf" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+BDEPEND="sys-devel/gettext" |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] |
55 |
+ ~dev-libs/libcharon-${PV}[${PYTHON_SINGLE_USEDEP}] |
56 |
+ ~dev-libs/libsavitar-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] |
57 |
+ ~dev-python/pynest2d-${PV}[${PYTHON_SINGLE_USEDEP}] |
58 |
+ ~dev-python/uranium-${PV}[${PYTHON_SINGLE_USEDEP}] |
59 |
+ ~media-gfx/curaengine-${PV} |
60 |
+ ~media-gfx/fdm-materials-${PV} |
61 |
+ $(python_gen_cond_dep ' |
62 |
+ dev-python/mypy[${PYTHON_MULTI_USEDEP}] |
63 |
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
64 |
+ dev-python/PyQt5[${PYTHON_MULTI_USEDEP}] |
65 |
+ dev-python/requests[${PYTHON_MULTI_USEDEP}] |
66 |
+ dev-python/sentry-sdk[${PYTHON_MULTI_USEDEP}] |
67 |
+ sci-libs/shapely[${PYTHON_MULTI_USEDEP}] |
68 |
+ usb? ( dev-python/pyserial[${PYTHON_MULTI_USEDEP}] ) |
69 |
+ zeroconf? ( dev-python/zeroconf[${PYTHON_MULTI_USEDEP}] ) |
70 |
+ ')" |
71 |
+DEPEND="${RDEPEND}" |
72 |
+ |
73 |
+DOCS=(README.md) |
74 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ sed -i -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" CMakeLists.txt || die |
78 |
+ |
79 |
+ cmake_src_prepare |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ # trimesh not available in portage |
84 |
+ local mycmakeargs=( |
85 |
+ -DCURA_BUILDTYPE="ebuild" |
86 |
+ -DCURA_VERSION=${PV} |
87 |
+ -DCURA_NO_INSTALL_PLUGINS="AMFReader;Toolbox;TrimeshReader" |
88 |
+ -DCURA_DEBUGMODE=$(usex debug) |
89 |
+ ) |
90 |
+ cmake_src_configure |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ cmake_src_install |
95 |
+ doicon icons/*.png |
96 |
+ python_fix_shebang "${D}/usr/bin/cura" |
97 |
+ python_optimize "${D}${get_libdir}" |
98 |
+} |