media-gfx/curaengine: treeclean

Closes: https://bugs.gentoo.org/895216
Closes: https://bugs.gentoo.org/840758
Closes: https://bugs.gentoo.org/869302
Closes: https://bugs.gentoo.org/624516
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2023-08-12 14:42:16 +02:00
parent 8b8e3ff351
commit 47d75d8d25
4 changed files with 0 additions and 122 deletions
-1
View File
@@ -1 +0,0 @@
DIST curaengine-4.13.1.tar.gz 1727935 BLAKE2B d306f990b86e6120705b36eba6f3363adc67cf8c93c66c2da506c1ee461a5a6bdd27a4e04880daeb6cebab3ecc736d9a52eec27bf17aa9f032237a4c8ee1d2a3 SHA512 224379a40e26ae0026a3849d582353e49edf99520401e1fef56c9504638c68c62cfe394dab0eb40e4a447bfe0bfa506a880512e84fd6057a839b6384087c46d0
@@ -1,85 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
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
}
-35
View File
@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>3dprint@gentoo.org</email>
<name>Gentoo 3D Printer Project</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="person" proxied="yes">
<email>mathy@vanvoorden.be</email>
<name>Mathy Vanvoorden</name>
</maintainer>
<longdescription>
The CuraEngine is a C++ console application for 3D printing GCode generation.
It has been made as a better and faster alternative to the old Skeinforge engine.
This is just a console application for GCode generation.
For a full graphical application look at Cura which is the graphical frontend for CuraEngine.
The CuraEngine can be used seperately or in other applications. Feel free to add it to your application.
</longdescription>
<use>
<flag name="arcus">Build with support for communication library between internal components for Ultimaker software</flag>
</use>
<slots>
<subslots>soname major version number</subslots>
</slots>
<upstream>
<bugs-to>https://github.com/Ultimaker/CuraEngine/issues</bugs-to>
<remote-id type="github">Ultimaker/CuraEngine</remote-id>
</upstream>
</pkgmetadata>
-1
View File
@@ -493,7 +493,6 @@ dev-libs/libsavitar
dev-python/pynest2d
dev-python/uranium
media-gfx/fdm-materials
media-gfx/curaengine
# Sam James <sam@gentoo.org> (2023-05-03)
# Broken pkgconfig file, please upgrade to -r1.