From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E8DB138334 for ; Wed, 2 Jan 2019 21:53:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F15BE0BD4; Wed, 2 Jan 2019 21:52:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D62E7E0BD4 for ; Wed, 2 Jan 2019 21:52:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59B27335CFB for ; Wed, 2 Jan 2019 21:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76909509 for ; Wed, 2 Jan 2019 21:52:12 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1546465743.b4bcea7b6bf920147435fbbf39a4d546f63866c3.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/cura/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/cura/Manifest media-gfx/cura/cura-3.6.0.ebuild X-VCS-Directories: media-gfx/cura/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: b4bcea7b6bf920147435fbbf39a4d546f63866c3 X-VCS-Branch: master Date: Wed, 2 Jan 2019 21:52:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 456dcf1e-b94d-4fd1-9e4b-3e180d557f89 X-Archives-Hash: be54fd4be26e5f1a50ec187a660e7b50 commit: b4bcea7b6bf920147435fbbf39a4d546f63866c3 Author: Mathy Vanvoorden vanvoorden be> AuthorDate: Sat Dec 8 23:02:54 2018 +0000 Commit: Amy Liffey gentoo org> CommitDate: Wed Jan 2 21:49:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4bcea7b media-gfx/cura: version bump to 3.6.0 Closes: https://bugs.gentoo.org/show_bug.cgi?id=669264 Closes: https://bugs.gentoo.org/show_bug.cgi?id=671552 Signed-off-by: Mathy Vanvoorden vanvoorden.be> Signed-off-by: Amy Liffey gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/10595 Package-Manager: Portage[mgorny]-2.3.51.1 media-gfx/cura/Manifest | 1 + media-gfx/cura/cura-3.6.0.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest index fc0e250b33e..e25b1427a32 100644 --- a/media-gfx/cura/Manifest +++ b/media-gfx/cura/Manifest @@ -1,2 +1,3 @@ DIST cura-3.3.1.tar.gz 21045888 BLAKE2B 6298a291498fb7930970fdb15827e5698011e69c69326e07ecaf5440994b099aa3ce9ee2540b968ffaff1ad47a58ef76bc7c5c003e92b710d81fc649e4fc825a SHA512 7b05885213828f0c297c7798b4bf7ea5967902893b5743b424d65d3a0c88804ed208c3d0361b92cade8ad31a42d1aff3a07eb4d2effa15597f942603a2d2bf63 DIST cura-3.4.1.tar.gz 21720836 BLAKE2B 228ad51d189f83d2a34c2af7a6edcbe468bc32ee6ac012141eac1b7332046790e2e85c4e643c1ebb13ceded6024cd52aeab2bcd0db555db8f355a7b568bed728 SHA512 5d1935c923173a5ea6d3a95181d61c8deffbb51f3ee4f3e4cb2c5a58f79581d3dd9adc6a9583e6ca0ab5da4c36b63695d7479e67d1237c132354616aa990e3c1 +DIST cura-3.6.0.tar.gz 23388945 BLAKE2B bd2f2e688306e7ef060141abae22c858e9fbb9385e49110079b48e69955c3f6630f8f69ad67fdf2d9e5c1ac0c969cd2d2f416642fc61a63867f79f88985c5c86 SHA512 b56e5575cb0eb15d759999dcd2f4c33873a0a57805a8ba0ec7860811a2137658a656216c969c6e3316d65fbd5e43f2def10a6385ccbf4fc306d15098569ef279 diff --git a/media-gfx/cura/cura-3.6.0.ebuild b/media-gfx/cura/cura-3.6.0.ebuild new file mode 100644 index 00000000000..379309b70d6 --- /dev/null +++ b/media-gfx/cura/cura-3.6.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit cmake-utils fdo-mime gnome2-utils python-single-r1 + +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 ~x86" +IUSE="+usb zeroconf" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/uranium-${PV:0:3}[${PYTHON_USEDEP}] + >=media-gfx/curaengine-${PV:0:3} + >=media-gfx/fdm-materials-${PV:0:3} + >=dev-libs/libsavitar-${PV:0:3}:=[python,${PYTHON_USEDEP}] + >=dev-libs/libcharon-${PV:0:3}[${PYTHON_USEDEP}] + usb? ( dev-python/pyserial[${PYTHON_USEDEP}] ) + zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )" + +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/${MY_PN}-${PV}" +PATCHES=( "${FILESDIR}/${PN}-3.3.0-fix-install-paths.patch" ) +DOCS=( README.md ) + +src_prepare() { + default + sed -i "s/set(CURA_VERSION \"master\"/set(CURA_VERSION \"${PV}\"/" CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + doicon icons/*.png + python_optimize "${D}${get_libdir}" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +}