From: "Dennis Lamm" <expeditioneer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/
Date: Thu, 10 Jun 2021 17:41:01 +0000 (UTC) [thread overview]
Message-ID: <1623346849.b483a6d3c927800599b08b5f2b4c131a9c3f7b2f.expeditioneer@gentoo> (raw)
commit: b483a6d3c927800599b08b5f2b4c131a9c3f7b2f
Author: Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be>
AuthorDate: Mon Jun 7 15:36:00 2021 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 17:40:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b483a6d3
media-gfx/curaengine: Version bump to 4.9.1
Closes: https://bugs.gentoo.org/793803
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Mathy Vanvoorden <mathy <AT> vanvoorden.be>
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
media-gfx/curaengine/Manifest | 1 +
media-gfx/curaengine/curaengine-4.9.1.ebuild | 85 ++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index ac812d6972c..c2e8fd679fa 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1 +1,2 @@
DIST curaengine-4.8.0.tar.gz 1690082 BLAKE2B 7c582ad0743a937ad4efa2a224e052383b90632c8f33f666a4139a74954a7243e17107ac39b35c1a5e41df89e303d618e4407d7e9a75efc5d96913aaaf498273 SHA512 be0d12cfe61932bf03dde61df8fb7f31cbd0aef6a44292130a7a67e318891f37db685722ba5d3cf66e88d4ff1de64ac86be5e494b750f8f7ff4b52d7976cb670
+DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e SHA512 cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee
diff --git a/media-gfx/curaengine/curaengine-4.9.1.ebuild b/media-gfx/curaengine/curaengine-4.9.1.ebuild
new file mode 100644
index 00000000000..ec7a2e757c6
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.9.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake 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 ~arm64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ arcus? (
+ ~dev-libs/libarcus-${PV}:*
+ dev-libs/protobuf:=
+ )
+ dev-libs/clipper
+ dev-libs/rapidjson
+ dev-libs/stb"
+
+DEPEND="${RDEPEND}
+ test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ rm -r "${S}"/libs || die
+
+ # remove static linking
+ # respect cflags
+ sed -i \
+ -e "s/-static-libstdc++//g" \
+ -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+ -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+ CMakeLists.txt || die
+
+ if use test; then
+ find "${S}"/tests/arcus "${S}"/tests/integration "${S}"/tests/settings "${S}"/tests/utils \
+ -type f -name '*.cpp' | xargs sed -i \
+ -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+ -e 's <../src/utils/IntPoint.h> "../../src/utils/IntPoint.h" g' \
+ -e 's <../src/utils/polygon.h> "../../src/utils/polygon.h" g'\
+ -e 's <../src/utils/PolygonConnector.h> "../../src/utils/PolygonConnector.h" g'\
+ -e 's <../src/utils/polygonUtils.h> "../../src/utils/polygonUtils.h" g'\
+ -e 's <../src/utils/string.h> "../../src/utils/string.h" g' \
+ -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+ -e 's#include "../src#include "../../src#g'|| die
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test ON OFF)
+ -DENABLE_ARCUS=$(usex arcus ON OFF)
+ -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
+ -DENABLE_OPENMP=$(usex openmp ON OFF)
+ -DUSE_SYSTEM_LIBS=ON
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+
+ if use doc; then
+ doxygen || die "generating docs failed"
+ mv docs/html . || die
+ find html -type f \(-name '*.md5' -o -name '*.map'\) -delete || die
+ HTML_DOCS=( html/. )
+ fi
+}
next reply other threads:[~2021-06-10 17:41 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-10 17:41 Dennis Lamm [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-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-08-25 17:59 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=1623346849.b483a6d3c927800599b08b5f2b4c131a9c3f7b2f.expeditioneer@gentoo \
--to=expeditioneer@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