summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2021-06-14 20:17:27 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2021-06-14 20:38:31 +0200
commit0d686fb2a93ea5ecc0bffb16844c4f6a5c215fc4 (patch)
tree5affac06006dc051e49eb3ffc4d8bb0e25231fe6 /media-gfx/curaengine
parentdev-ml/mccs: destabilize 1.1.13 (diff)
downloadgentoo-0d686fb2a93ea5ecc0bffb16844c4f6a5c215fc4.tar.gz
gentoo-0d686fb2a93ea5ecc0bffb16844c4f6a5c215fc4.tar.bz2
gentoo-0d686fb2a93ea5ecc0bffb16844c4f6a5c215fc4.zip
media-gfx/cura: drop old
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21240 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'media-gfx/curaengine')
-rw-r--r--media-gfx/curaengine/Manifest1
-rw-r--r--media-gfx/curaengine/curaengine-4.8.0.ebuild85
2 files changed, 0 insertions, 86 deletions
diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index c2e8fd679fa6..e60d227e6690 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1 @@
-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.8.0.ebuild b/media-gfx/curaengine/curaengine-4.8.0.ebuild
deleted file mode 100644
index 2f4c30faf728..000000000000
--- a/media-gfx/curaengine/curaengine-4.8.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2020 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
-}