public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/
Date: Sun, 25 Aug 2019 17:59:29 +0000 (UTC)	[thread overview]
Message-ID: <1566755947.2a990297c78893b117a18a85dec0be4152d6bf0e.juippis@gentoo> (raw)

commit:     2a990297c78893b117a18a85dec0be4152d6bf0e
Author:     Michael Perlov <perlovka <AT> gmail <DOT> com>
AuthorDate: Sun Aug  4 16:10:21 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 17:59:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a990297

media-gfx/curaengine: version bump to 4.2.0

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/curaengine/Manifest                |  1 +
 media-gfx/curaengine/curaengine-4.2.0.ebuild | 58 ++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index e10e9a2fca4..f2f0335a82d 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1,3 @@
 DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0 SHA512 51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be
 DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c SHA512 340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8
+DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce SHA512 6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500

diff --git a/media-gfx/curaengine/curaengine-4.2.0.ebuild b/media-gfx/curaengine/curaengine-4.2.0.ebuild
new file mode 100644
index 00000000000..30ee0ee8564
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine"
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+BDEPEND="|| ( <sys-devel/gcc-9 <sys-devel/clang-8 )
+	doc? ( app-doc/doxygen )"
+RDEPEND="${PYTHON_DEPS}
+	~dev-libs/libarcus-${PV}:*
+	dev-libs/protobuf
+	dev-libs/stb"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+pkg_pretend() {
+	if [[ $(tc-getCC) == clang ]] && [[ $(clang-major-version) -ge 8 ]]; then
+		eerror "Compilation with sys-devel/clang-8 or newer is not supported"
+		eerror "See https://github.com/Ultimaker/CuraEngine/issues/984 for more information"
+		eerror ""
+		die "Incompatible clang version found"
+	elif [[ $(gcc-major-version) -ge 9 ]]; then
+		eerror "Compilation with sys-devel/gcc-9 or newer is not supported"
+		eerror "See https://github.com/Ultimaker/CuraEngine/issues/984 for more information"
+		eerror ""
+		die "Incompatible gcc version found"
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_make
+	if use doc; then
+		doxygen
+		mv docs/html . || die
+		find html -name '*.md5' -or -name '*.map' -delete || die
+		DOCS+=( html )
+	fi
+}


             reply	other threads:[~2019-08-25 17:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-25 17:59 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-09 10:52 [gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/ Matthew Smith
2022-05-09  7:00 Michał Górny
2022-05-08 19:59 Sam James
2022-03-10 21:21 Jakov Smolić
2022-03-05 11:54 Matthew Smith
2022-03-05 11:54 Matthew Smith
2022-02-28 19:43 Matthew Smith
2022-02-10 17:35 Marek Szuba
2021-12-24  4:45 Sam James
2021-06-10 17:41 Dennis Lamm
2021-02-07 23:57 Dennis Lamm
2020-11-30 18:37 Dennis Lamm
2020-10-11 11:25 Dennis Lamm
2020-09-19 16:34 Sam James
2020-05-25 19:42 Alexey Shvetsov
2019-12-30 22:55 Sergei Trofimovich
2019-10-16  5:22 Joonas Niilola
2019-10-16  5:22 Joonas Niilola
2019-01-02 22:05 Amy Liffey
2019-01-02 21:52 Amy Liffey
2018-07-16 17:29 Amy Liffey
2018-06-14 20:14 Alexey Shvetsov
2018-04-03 15:28 Jonas Stein
2017-11-26 23:02 David Seifert
2017-07-23 11:05 Alexey Shvetsov
2016-12-05  9:48 Alexey Shvetsov
2016-04-28 14:12 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1566755947.2a990297c78893b117a18a85dec0be4152d6bf0e.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox