commit:     f04160b6a36f591ff7c2ce89243b6d1a5cf59769
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 11:28:32 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu May 15 11:28:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f04160b6

media-gfx/superslicer: drop 2.5.59.2-r2, 2.5.59.8, 2.5.59.10

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-gfx/superslicer/Manifest                     |   4 -
 ...ereferencing-in-std-unique_ptr-to-nullptr.patch |  82 ----------------
 ...cer-2.5.59.2-fix-spiral_vase-null-pointer.patch |  22 -----
 media-gfx/superslicer/superslicer-2.5.59.10.ebuild | 109 ---------------------
 .../superslicer/superslicer-2.5.59.2-r2.ebuild     | 106 --------------------
 media-gfx/superslicer/superslicer-2.5.59.8.ebuild  | 109 ---------------------
 6 files changed, 432 deletions(-)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index 3fa62116d439..6e67eb151ca2 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -1,6 +1,2 @@
 DIST superslicer-2.5.59.10-profiles.tar.gz 17933533 BLAKE2B 
d11e8660a9c04221ece8352695a78b302d0d934fca4cc26c17b44ba74d99271aa2f0088de4f36f718827f22073f5bdd90d1163c44d0fe0139b73e55929019ec8
 SHA512 
43dfe882fb52840abdcbc6c3c4441f7a02b2f21bfa986594e2c6399823508433a29d7372cdf28dab442ae831c0b89d1792e349944e797c899aaffeaf6b738ad6
 DIST superslicer-2.5.59.10.tar.gz 46034708 BLAKE2B 
7d30b7e365d336725606f298b0b8ecbf56170e822c8d00a323d45bdf93ae399fb0a312e542ebde51642b7404820604338bd3606add60aad5c3e492e73ef5a28f
 SHA512 
44f46a739f8e1769dd1883dd8ff88c6b3f0efbea2abcf9281cca22e48693ca8643a911c24325f0b8df7c66e3d32ad2e51854f09a67a4f2738ce0673c19485f1b
-DIST superslicer-2.5.59.2-profiles.tar.gz 16253775 BLAKE2B 
20c99b14ba8ee26ea2a210962e78ea21928a5f32b1e799cbdbe60a3ef587ae1368efce885f5d253468ee9974af6a4419890e56d7df33761732bcefe8dbbc019e
 SHA512 
c20ec66a95d5ec3e1e4fd8b1936bf1a4fc32fbad2c3d78774d5c2480be8a9dcacba5e561c57774a2c761d5189466083e7b6bd9b021a4ca7676e6a5e9676439d7
-DIST superslicer-2.5.59.2.tar.gz 45622782 BLAKE2B 
ff2fecf233d2710d706b64eb2191bfac39df3f631634de5f9eb1bca6ca712e94b0283beb7c6e9f3b293dc308b50240871ef8651a5355a4d7c5ea6092ac1a836b
 SHA512 
af8878bd8e0c3e0dd5247ce01bdbd2b42b6766d81efbde11b71c6642787a12dfeaea91e653ac928066b9610cd911ea1f4dc77cf4823639030b3c104d955b8cbd
-DIST superslicer-2.5.59.8-profiles.tar.gz 17931886 BLAKE2B 
953a777dd12971c355a5f48148d4c3831b9435cf08f1baecb32ff0ef6245678f81c53bf5078cc4d6d04642e9ee18e1023d5d1578ebdf1384c7c1ce44a1153c50
 SHA512 
2e4561de7c57308a91c8964c8a957bc10c5e4cedc47c5fc37633bbcf78e3576ed1eaa6d7126485e94eb0aa593940c73a460f3d5ad65f33001d32953caa2fb4e1
-DIST superslicer-2.5.59.8.tar.gz 46021260 BLAKE2B 
04abffd1a9cdf417d544539d5cde9b3559f2da7c1cb24cfa0e4a5d11359bca53cb25a90a3a14b26ee10e33e283ba4774d404265e6740b5457f82110be2a44af9
 SHA512 
57ef6c129c24378d6f4f78d34a60ed15668a8c5c266fa706937edebbd7b52d145657aae1e46a7b1d19dabaf403465bc5af50a94fa70205456bfc87a1458bac6e

diff --git 
a/media-gfx/superslicer/files/superslicer-2.5.59.2-fix-dereferencing-in-std-unique_ptr-to-nullptr.patch
 
b/media-gfx/superslicer/files/superslicer-2.5.59.2-fix-dereferencing-in-std-unique_ptr-to-nullptr.patch
deleted file mode 100644
index 4e93fca55e08..000000000000
--- 
a/media-gfx/superslicer/files/superslicer-2.5.59.2-fix-dereferencing-in-std-unique_ptr-to-nullptr.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp
-index 68ec2ce..cd828a6 100644
---- a/src/libslic3r/GCode.cpp
-+++ b/src/libslic3r/GCode.cpp
-@@ -2081,31 +2081,30 @@ void GCode::process_layers(
-             }
-         });
-     const auto spiral_vase = tbb::make_filter<LayerResult, 
LayerResult>(slic3r_tbb_filtermode::serial_in_order,
--        [&spiral_vase = *this->m_spiral_vase](LayerResult in) -> LayerResult {
-+        [spiral_vase = this->m_spiral_vase.get()](LayerResult in) -> 
LayerResult {
-             if (in.nop_layer_result)
-                 return in;
- 
-             CNumericLocalesSetter locales_setter;
--            spiral_vase.enable(in.spiral_vase_enable);
--            return LayerResult{ 
spiral_vase.process_layer(std::move(in.gcode)), in.layer_id, 
in.spiral_vase_enable, in.cooling_buffer_flush };
-+            spiral_vase->enable(in.spiral_vase_enable);
-+            return { spiral_vase->process_layer(std::move(in.gcode)), 
in.layer_id, in.spiral_vase_enable, in.cooling_buffer_flush};
-         });
-     const auto pressure_equalizer = tbb::make_filter<LayerResult, 
LayerResult>(slic3r_tbb_filtermode::serial_in_order,
--        [&pressure_equalizer = *this->m_pressure_equalizer](LayerResult in) 
-> LayerResult {
--            return pressure_equalizer.process_layer(std::move(in));
-+        [pressure_equalizer = this->m_pressure_equalizer.get()](LayerResult 
in) -> LayerResult {
-+             return pressure_equalizer->process_layer(std::move(in));
-         });
-     const auto cooling = tbb::make_filter<LayerResult, 
std::string>(slic3r_tbb_filtermode::serial_in_order,
--        [&cooling_buffer = *this->m_cooling_buffer](LayerResult in) -> 
std::string {
-+        [cooling_buffer = this->m_cooling_buffer.get()](LayerResult 
in)->std::string {
-              if (in.nop_layer_result)
-                 return in.gcode;
- 
-             CNumericLocalesSetter locales_setter;
--            return cooling_buffer.process_layer(std::move(in.gcode), 
in.layer_id, in.cooling_buffer_flush);
-+            return cooling_buffer->process_layer(std::move(in.gcode), 
in.layer_id, in.cooling_buffer_flush);
-         });
-     const auto find_replace = tbb::make_filter<std::string, 
std::string>(slic3r_tbb_filtermode::serial_in_order,
--        [&self = *this->m_find_replace](std::string s) -> std::string {
--            CNumericLocalesSetter locales_setter;
--            return self.process_layer(std::move(s));
--        });
-+        [find_replace = this->m_find_replace.get()](std::string s) -> 
std::string {
-+            return find_replace->process_layer(std::move(s));
-+});
-     const auto output = tbb::make_filter<std::string, 
void>(slic3r_tbb_filtermode::serial_in_order,
-         [&output_stream](std::string s) {
-             CNumericLocalesSetter locales_setter;
-@@ -2183,25 +2182,26 @@ void GCode::process_layers(
-             }
-         });
-     const auto spiral_vase = tbb::make_filter<LayerResult, 
LayerResult>(slic3r_tbb_filtermode::serial_in_order,
--        [&spiral_vase = *this->m_spiral_vase](LayerResult in)->LayerResult {
-+       [spiral_vase = this->m_spiral_vase.get()](LayerResult in) -> 
LayerResult {
-             if (in.nop_layer_result)
-                 return in;
--        spiral_vase.enable(in.spiral_vase_enable);
--        return { spiral_vase.process_layer(std::move(in.gcode)), in.layer_id, 
in.spiral_vase_enable, in.cooling_buffer_flush };
-+            spiral_vase->enable(in.spiral_vase_enable);
-+            return { spiral_vase->process_layer(std::move(in.gcode)), 
in.layer_id, in.spiral_vase_enable, in.cooling_buffer_flush};
-     });
-     const auto pressure_equalizer = tbb::make_filter<LayerResult, 
LayerResult>(slic3r_tbb_filtermode::serial_in_order,
--        [&pressure_equalizer = *this->m_pressure_equalizer](LayerResult in) 
-> LayerResult {
--             return pressure_equalizer.process_layer(std::move(in));
-+        [pressure_equalizer = this->m_pressure_equalizer.get()](LayerResult 
in) -> LayerResult {
-+            return pressure_equalizer->process_layer(std::move(in));
-         });
-     const auto cooling = tbb::make_filter<LayerResult, 
std::string>(slic3r_tbb_filtermode::serial_in_order,
--        [&cooling_buffer = *this->m_cooling_buffer](LayerResult 
in)->std::string {
-+        [cooling_buffer = this->m_cooling_buffer.get()](LayerResult in) -> 
std::string {
-             if (in.nop_layer_result)
-                 return in.gcode;
--            return cooling_buffer.process_layer(std::move(in.gcode), 
in.layer_id, in.cooling_buffer_flush);
-+             return cooling_buffer->process_layer(std::move(in.gcode), 
in.layer_id, in.cooling_buffer_flush);
-+
-         });
-     const auto find_replace = tbb::make_filter<std::string, 
std::string>(slic3r_tbb_filtermode::serial_in_order,
--        [&self = *this->m_find_replace](std::string s) -> std::string {
--            return self.process_layer(std::move(s));
-+        [find_replace = this->m_find_replace.get()](std::string s) -> 
std::string {
-+            return find_replace->process_layer(std::move(s));
-         });
-     const auto output = tbb::make_filter<std::string, 
void>(slic3r_tbb_filtermode::serial_in_order,
-         [&output_stream](std::string s) { 

diff --git 
a/media-gfx/superslicer/files/superslicer-2.5.59.2-fix-spiral_vase-null-pointer.patch
 
b/media-gfx/superslicer/files/superslicer-2.5.59.2-fix-spiral_vase-null-pointer.patch
deleted file mode 100644
index 4dcc7f54a444..000000000000
--- 
a/media-gfx/superslicer/files/superslicer-2.5.59.2-fix-spiral_vase-null-pointer.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 6461985380814b92aab1caa791bee75d94e68676 Mon Sep 17 00:00:00 2001
-From: Tim Schneider <[email protected]>
-Date: Sat, 18 Mar 2023 17:51:38 +0100
-Subject: [PATCH] Fix crash on spiral_vase.
-
----
- src/libslic3r/PrintConfig.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
-index 05bc79e53b..8c74880260 100644
---- a/src/libslic3r/PrintConfig.cpp
-+++ b/src/libslic3r/PrintConfig.cpp
-@@ -8055,7 +8055,7 @@ void DynamicPrintConfig::normalize_fdm()
-         {
-             this->opt<ConfigOptionInt>("top_solid_layers", true)->value = 0;
-             this->opt<ConfigOptionPercent>("fill_density", true)->value = 0;
--            
this->opt<ConfigOptionEnum<PerimeterGeneratorType>>("perimeter_generator", 
true)->value = PerimeterGeneratorType::Classic; 
-+            
this->option<ConfigOptionEnum<PerimeterGeneratorType>>("perimeter_generator", 
true)->value = PerimeterGeneratorType::Classic; 
-             this->opt<ConfigOptionBool>("support_material", true)->value = 
false;
-             this->opt<ConfigOptionInt>("solid_over_perimeters")->value = 0;
-             
this->opt<ConfigOptionInt>("support_material_enforce_layers")->value = 0;

diff --git a/media-gfx/superslicer/superslicer-2.5.59.10.ebuild 
b/media-gfx/superslicer/superslicer-2.5.59.10.ebuild
deleted file mode 100644
index b1c347c004cc..000000000000
--- a/media-gfx/superslicer/superslicer-2.5.59.10.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.0-gtk3"
-MY_PN="SuperSlicer"
-SLICER_PROFILES_COMMIT="ca25c7ec55dcc6073da61e39692c321cdb6497dc"
-
-inherit cmake wxwidgets xdg flag-o-matic
-
-DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication 
(3D printers)"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer/";
-SRC_URI="
-       
https://github.com/supermerill/SuperSlicer/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-       
https://github.com/slic3r/slic3r-profiles/archive/${SLICER_PROFILES_COMMIT}.tar.gz
 -> ${P}-profiles.tar.gz
-"
-
-LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-RESTRICT="test"
-
-# No dep on sci-libs/libigl, in-tree version cannot build
-# static library currently. Using bundled one.
-RDEPEND="
-       dev-cpp/eigen:3
-       dev-cpp/tbb:=
-       dev-libs/boost:=[nls]
-       dev-libs/cereal
-       dev-libs/expat
-       dev-libs/glib:2
-       dev-libs/gmp:=
-       dev-libs/mpfr:=
-       dev-libs/imath:=
-       >=media-gfx/openvdb-8.2:=
-       net-misc/curl[adns]
-       media-libs/glew:0=
-       media-libs/libpng:0=
-       media-libs/qhull:=
-       sci-libs/nlopt
-       sci-libs/opencascade:=
-       >=sci-mathematics/cgal-5.0:=
-       sys-apps/dbus
-       sys-libs/zlib:=
-       virtual/glu
-       virtual/opengl
-       x11-libs/gtk+:3
-       x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
-"
-DEPEND="${RDEPEND}
-       media-libs/qhull[static-libs]
-"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-2.5.59.2-boost.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-cereal.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-dont-install-angelscript.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-gcodeviewer-symlink-fix.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-missing-includes-fix.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-openexr3.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-wxgtk3-wayland-fix.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-relax-OpenCASCADE-dep.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-link-occtwrapper-statically.patch"
-       "${FILESDIR}/${PN}-2.5.59.8-additional-imports-fixes.patch"
-       "${FILESDIR}/${PN}-2.5.59.8-fix-compilation-error-gnu17.patch"
-       "${FILESDIR}/${PN}-2.5.59.8-libnest2d-link-xcb.patch"
-       "${FILESDIR}/${PN}-2.5.59.8-boost-replace-load-string-file.patch"
-       "${FILESDIR}/${PN}-2.5.59.10-boost-1.85.patch"
-)
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_unpack() {
-       default
-
-       mv slic3r-profiles-*/* "${S}"/resources/profiles/ || die
-}
-
-src_configure() {
-       CMAKE_BUILD_TYPE="Release"
-
-       append-flags -fno-strict-aliasing
-
-       setup-wxwidgets
-
-       local mycmakeargs=(
-               -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
-
-               -DSLIC3R_BUILD_TESTS=$(usex test)
-               -DSLIC3R_FHS=ON
-               -DSLIC3R_GTK=3
-               -DSLIC3R_GUI=ON
-               -DSLIC3R_PCH=OFF
-               -DSLIC3R_STATIC=OFF
-               -DSLIC3R_WX_STABLE=ON
-               -Wno-dev
-       )
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       rm "${ED}/usr/lib/udev/rules.d/90-3dconnexion.rules" || die
-}

diff --git a/media-gfx/superslicer/superslicer-2.5.59.2-r2.ebuild 
b/media-gfx/superslicer/superslicer-2.5.59.2-r2.ebuild
deleted file mode 100644
index 6dcdc6a1a61e..000000000000
--- a/media-gfx/superslicer/superslicer-2.5.59.2-r2.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.0-gtk3"
-MY_PN="SuperSlicer"
-SLICER_PROFILES_COMMIT="f6b1b123062a77101fe350f6d2a2a57be9adc684"
-
-inherit cmake wxwidgets xdg flag-o-matic
-
-DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication 
(3D printers)"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer/";
-SRC_URI="
-       
https://github.com/supermerill/SuperSlicer/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-       
https://github.com/slic3r/slic3r-profiles/archive/${SLICER_PROFILES_COMMIT}.tar.gz
 -> ${P}-profiles.tar.gz
-"
-
-LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="test"
-
-RESTRICT="test"
-
-# No dep on sci-libs/libigl, in-tree version cannot build
-# static library currently. Using bundled one.
-RDEPEND="
-       dev-cpp/eigen:3
-       dev-cpp/tbb:=
-       dev-libs/boost:=[nls]
-       dev-libs/cereal
-       dev-libs/expat
-       dev-libs/glib:2
-       dev-libs/gmp:=
-       dev-libs/mpfr:=
-       dev-libs/imath:=
-       >=media-gfx/openvdb-8.2:=
-       net-misc/curl[adns]
-       media-libs/glew:0=
-       media-libs/libpng:0=
-       media-libs/qhull:=
-       sci-libs/nlopt
-       sci-libs/opencascade:=
-       >=sci-mathematics/cgal-5.0:=
-       sys-apps/dbus
-       sys-libs/zlib:=
-       virtual/glu
-       virtual/opengl
-       x11-libs/gtk+:3
-       x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
-"
-DEPEND="${RDEPEND}
-       media-libs/qhull[static-libs]
-"
-
-PATCHES=(
-       "${FILESDIR}/${P}-boost.patch"
-       "${FILESDIR}/${P}-cereal.patch"
-       "${FILESDIR}/${P}-dont-install-angelscript.patch"
-       "${FILESDIR}/${P}-gcodeviewer-symlink-fix.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-dereferencing-in-std-unique_ptr-to-nullptr.patch"
-       "${FILESDIR}/${P}-fix-spiral_vase-null-pointer.patch"
-)
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_unpack() {
-       default
-
-       mv slic3r-profiles-*/* "${S}"/resources/profiles/ || die
-}
-
-src_configure() {
-       CMAKE_BUILD_TYPE="Release"
-
-       append-flags -fno-strict-aliasing
-
-       setup-wxwidgets
-
-       local mycmakeargs=(
-               -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
-
-               -DSLIC3R_BUILD_TESTS=$(usex test)
-               -DSLIC3R_FHS=ON
-               -DSLIC3R_GTK=3
-               -DSLIC3R_GUI=ON
-               -DSLIC3R_PCH=OFF
-               -DSLIC3R_STATIC=OFF
-               -DSLIC3R_WX_STABLE=ON
-               -Wno-dev
-       )
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       rm "${ED}/usr/lib/udev/rules.d/90-3dconnexion.rules" || die
-}

diff --git a/media-gfx/superslicer/superslicer-2.5.59.8.ebuild 
b/media-gfx/superslicer/superslicer-2.5.59.8.ebuild
deleted file mode 100644
index b43862a3db67..000000000000
--- a/media-gfx/superslicer/superslicer-2.5.59.8.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.0-gtk3"
-MY_PN="SuperSlicer"
-SLICER_PROFILES_COMMIT="8f3bb94a9c60be9a3b40d88a36ff05ba5cf2d6a8"
-
-inherit cmake wxwidgets xdg flag-o-matic
-
-DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication 
(3D printers)"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer/";
-SRC_URI="
-       
https://github.com/supermerill/SuperSlicer/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-       
https://github.com/slic3r/slic3r-profiles/archive/${SLICER_PROFILES_COMMIT}.tar.gz
 -> ${P}-profiles.tar.gz
-"
-
-LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-RESTRICT="test"
-
-# No dep on sci-libs/libigl, in-tree version cannot build
-# static library currently. Using bundled one.
-RDEPEND="
-       dev-cpp/eigen:3
-       dev-cpp/tbb:=
-       dev-libs/boost:=[nls]
-       dev-libs/cereal
-       dev-libs/expat
-       dev-libs/glib:2
-       dev-libs/gmp:=
-       dev-libs/mpfr:=
-       dev-libs/imath:=
-       >=media-gfx/openvdb-8.2:=
-       net-misc/curl[adns]
-       media-libs/glew:0=
-       media-libs/libpng:0=
-       media-libs/qhull:=
-       sci-libs/nlopt
-       sci-libs/opencascade:=
-       >=sci-mathematics/cgal-5.0:=
-       sys-apps/dbus
-       sys-libs/zlib:=
-       virtual/glu
-       virtual/opengl
-       x11-libs/gtk+:3
-       x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
-"
-DEPEND="${RDEPEND}
-       media-libs/qhull[static-libs]
-"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-2.5.59.2-boost.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-cereal.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-dont-install-angelscript.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-gcodeviewer-symlink-fix.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-missing-includes-fix.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-openexr3.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-wxgtk3-wayland-fix.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-relax-OpenCASCADE-dep.patch"
-       "${FILESDIR}/${PN}-2.5.59.2-link-occtwrapper-statically.patch"
-       
"${FILESDIR}/${PN}-2.5.59.2-fix-dereferencing-in-std-unique_ptr-to-nullptr.patch"
-       "${FILESDIR}/${P}-additional-imports-fixes.patch"
-       "${FILESDIR}/${P}-fix-compilation-error-gnu17.patch"
-       "${FILESDIR}/${P}-libnest2d-link-xcb.patch"
-       "${FILESDIR}/${P}-boost-replace-load-string-file.patch"
-)
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_unpack() {
-       default
-
-       mv slic3r-profiles-*/* "${S}"/resources/profiles/ || die
-}
-
-src_configure() {
-       CMAKE_BUILD_TYPE="Release"
-
-       append-flags -fno-strict-aliasing
-
-       setup-wxwidgets
-
-       local mycmakeargs=(
-               -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
-
-               -DSLIC3R_BUILD_TESTS=$(usex test)
-               -DSLIC3R_FHS=ON
-               -DSLIC3R_GTK=3
-               -DSLIC3R_GUI=ON
-               -DSLIC3R_PCH=OFF
-               -DSLIC3R_STATIC=OFF
-               -DSLIC3R_WX_STABLE=ON
-               -Wno-dev
-       )
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       rm "${ED}/usr/lib/udev/rules.d/90-3dconnexion.rules" || die
-}

Reply via email to