diff options
author | D G Turner <digitall@scummvm.org> | 2020-09-26 21:03:08 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-10-07 00:35:15 +0000 |
commit | e941851f34335b4a5392890fc70a1c276c2a3da4 (patch) | |
tree | 34564d4acc60b5bdaafbf23cdab153e7200c4527 /media-gfx | |
parent | media-gfx/cura: Add libarcus dependency directly (to 4.6.1) (diff) | |
download | gentoo-e941851f34335b4a5392890fc70a1c276c2a3da4.tar.gz gentoo-e941851f34335b4a5392890fc70a1c276c2a3da4.tar.bz2 gentoo-e941851f34335b4a5392890fc70a1c276c2a3da4.zip |
media-gfx/cura: Bump to v4.7.0 ebuild
The other v4.7.0 dependencies i.e. curaengine-4.7.0, libcharon etc.
are already present in tree, so along with fdm-materials, this completes
the changes required to build cura v4.7.0
Signed-off-by: David G Turner <digitall@scummvm.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/cura/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/cura/cura-4.7.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest index 0a4d6b2e883b..aadc097a34da 100644 --- a/media-gfx/cura/Manifest +++ b/media-gfx/cura/Manifest @@ -3,3 +3,4 @@ DIST cura-3.6.0.tar.gz 23388945 BLAKE2B bd2f2e688306e7ef060141abae22c858e9fbb938 DIST cura-4.2.1.tar.gz 29288696 BLAKE2B 1332030e63d7056dcb8dd680208b0da8dd33e5c7809957779849bac808fccad9a222505ddbe80d4071474d10ace842aa4459f14560198a9f3eebb5be53f923e1 SHA512 4f47f3f5597d1a56d88207eacacece49edb766c75ae18ddc9fb8689b76c16fd4decc9c8af7cab485aac3c9cffe13095aaad34e1c60634249ae2923ead771ac52 DIST cura-4.3.0.tar.gz 30433646 BLAKE2B 8490d703cfd4ad07fd5b30d5f776d978baa17ad8751dad53870714596998becebc85cc2fe49fa05eab37b95106315ace97eaa0bbed65b488b522ebbbcba488dc SHA512 3f4ae11e4e28b151e9587c197f814bc97bc225fb2819f4dabaab392ef9896bb119d6fab0df48c9eb4a390a815815d27045eefa933e2e4a9d53331db8d79ea815 DIST cura-4.6.1.tar.gz 36080329 BLAKE2B 5d86734334a2c65afd62eea6b3324b0fc543670b48f5410eac16561590706feed2320c45b22e60c9835973f965a00f222280441daf44866ffc93ebcf1295c750 SHA512 8802993a98e75428d11bfdc7721d5d48e8939ef1c783789db2941cb40b6fc8014eacbdea09c559c6d68cb1dd99def15bfb503d5c164f057a384c8a7620b15dc2 +DIST cura-4.7.0.tar.gz 29712949 BLAKE2B b208a669aa38b07012099fe01ec453232c2bd3007befe649a4fd4cb0a0b12473762a5069d09218a3f2fe865141bbb8c8b7d5a26168fed02900abb20d78b0ad3f SHA512 0b3383042b9c8cf2ce27caee95c365be786c9eb40898c74ea4e0fb903241087e48a6e908d85635a9e43cf21ca3623098c6fe980d0cec3fc6a59c01c9c9cb4d9d diff --git a/media-gfx/cura/cura-4.7.0.ebuild b/media-gfx/cura/cura-4.7.0.ebuild new file mode 100644 index 000000000000..4264d19b6a62 --- /dev/null +++ b/media-gfx/cura/cura-4.7.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,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/requests[${PYTHON_MULTI_USEDEP}] + dev-python/sentry-sdk[${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 "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + doicon icons/*.png + python_optimize "${D}${get_libdir}" +} |