New dicord / superslicer update
This commit is contained in:
@@ -5,7 +5,6 @@ EAPI=8
|
||||
|
||||
WX_GTK_VER="3.2-gtk3"
|
||||
MY_PN="OrcaSlicer"
|
||||
#SLICER_PROFILES_COMMIT="8f3bb94a9c60be9a3b40d88a36ff05ba5cf2d6a8"
|
||||
|
||||
inherit cmake wxwidgets xdg flag-o-matic
|
||||
|
||||
@@ -18,9 +17,10 @@ SRC_URI="
|
||||
LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
IUSE="+doc test"
|
||||
|
||||
RESTRICT="test"
|
||||
DOCS="README.md LICENSE.txt SECURITY.md"
|
||||
|
||||
# No dep on sci-libs/libigl, in-tree version cannot build
|
||||
# static library currently. Using bundled one.
|
||||
@@ -57,29 +57,13 @@ DEPEND="${RDEPEND}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-boost.patch"
|
||||
"${FILESDIR}/${P}-additional-imports-fixes.patch"
|
||||
"${FILESDIR}/${P}-opencascade-7.8.0.patch"
|
||||
"${FILESDIR}/${P}-cmake.patch"
|
||||
"${FILESDIR}/${P}-wxgtk3-wayland-fix.patch"
|
||||
)
|
||||
# "${FILESDIR}/${P}-cereal.patch"
|
||||
# "${FILESDIR}/${P}-dont-install-angelscript.patch"
|
||||
# "${FILESDIR}/${P}-missing-includes-fix.patch"
|
||||
# "${FILESDIR}/${P}-openexr3.patch"
|
||||
# "${FILESDIR}/${P}-wxgtk3-wayland-fix.patch"
|
||||
# "${FILESDIR}/${P}-relax-OpenCASCADE-dep.patch"
|
||||
# "${FILESDIR}/${P}-link-occtwrapper-statically.patch"
|
||||
# "${FILESDIR}/${P}-fix-compilation-error-gnu17.patch"
|
||||
# "${FILESDIR}/${P}-libnest2d-link-xcb.patch"
|
||||
# "${FILESDIR}/${P}-boost-replace-load-string-file.patch"
|
||||
#)
|
||||
# "${FILESDIR}/${P}-gcodeviewer-symlink-fix.patch"
|
||||
# "${FILESDIR}/${P}-fix-dereferencing-in-std-unique_ptr-to-nullptr.patch"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
#src_unpack() {
|
||||
# default
|
||||
#
|
||||
# mv slic3r-profiles-*/* "${S}"/resources/profiles/ || die
|
||||
#}
|
||||
|
||||
src_configure() {
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
@@ -104,8 +88,17 @@ src_configure() {
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Limit build to -j1
|
||||
cmake_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
rm "${D}/usr/LICENSE.txt"
|
||||
|
||||
# rm "${ED}/usr/lib/udev/rules.d/90-3dconnexion.rules" || die
|
||||
if use doc; then
|
||||
docinto doc
|
||||
dodoc -r "${S}/doc"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user