1 |
commit: 960aba0a6ecb778757b92d879da2ccc95921d205 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 23 22:08:53 2022 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 23 22:09:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960aba0a |
7 |
|
8 |
media-gfx/prusaslicer: 2.6.0_pre20220620 version bump. |
9 |
|
10 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
11 |
|
12 |
media-gfx/prusaslicer/Manifest | 1 + |
13 |
.../prusaslicer-2.6.0_pre20220620.ebuild | 76 ++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/prusaslicer/Manifest b/media-gfx/prusaslicer/Manifest |
17 |
index b3c110bd9c16..14c0dee9cad3 100644 |
18 |
--- a/media-gfx/prusaslicer/Manifest |
19 |
+++ b/media-gfx/prusaslicer/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST prusaslicer-2.4.1.tar.gz 55572739 BLAKE2B 8c6030560926e53c780847e7b8a058205 |
21 |
DIST prusaslicer-2.4.2.tar.gz 47752224 BLAKE2B 27b00b766890f8675246eded75c51a671832a3abf518adf7b825dbe8396cbfd2d4b48f76d646675634af49ddbe4cd48ea8e533d66a131d14bff4e76bdd357545 SHA512 d480c608eadb58b53ee220317a749c0363db580759322ed7a9aebe2ea5c1acc30dbd3bdf9ed9849c23ba5c125ee6f923de6ac01987bf85abf7aeb3f91c2ae23f |
22 |
DIST prusaslicer-2.4.2_p20220506.tar.xz 29109336 BLAKE2B c8430b355a3d161c1aa9ab421edf1f291a7898d4fd2831fe924dc2d742bdb611d58d4e9f581c00fc37f18b6c54df2d82ca063091958ccb0859254014972a9477 SHA512 bf525e12fbc5a471fc28ffa048ec8628de892bfc7e65cb708266ef5d05692cf9c0755eae879b8fad0572d6af7368e2c251361941157ab2c9be73cb38c8962f72 |
23 |
DIST prusaslicer-2.6.0_pre20220601.tar.xz 29096924 BLAKE2B d1bb1733528a817384583c203fa84bd41daee97f24698fd421967838a8c4ec7a8705de39ad065ac1778c7e67289a491c298d063a4a53e5276256a3f230cba43c SHA512 d8581c292f4b6085992046a3063d90b151746690df9d7eea01bf68e72508f1b54e7547c1fcc0dd493712a752dcd158deed037559bd8825fc521e5b6aa5b199f8 |
24 |
+DIST prusaslicer-2.6.0_pre20220620.tar.xz 29309256 BLAKE2B 2b2dda3f1efa05e674574812b50773b0f6c6d0c1dcfa0095deab7b80e62c5ed9f5837bc6141993ed41bcf985c598c11cf2741e17623309dbf8d7612c7af24a50 SHA512 7ad510b1e0db1774500049b76547e73b62976be897d47d118844c996939f843c9c0699c96bdf9569992a4d170a900e302566aa45ec8abee9ee4742104fb5deea |
25 |
|
26 |
diff --git a/media-gfx/prusaslicer/prusaslicer-2.6.0_pre20220620.ebuild b/media-gfx/prusaslicer/prusaslicer-2.6.0_pre20220620.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a3e72276b58d |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/prusaslicer/prusaslicer-2.6.0_pre20220620.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+WX_GTK_VER="3.0-gtk3" |
38 |
+ |
39 |
+inherit cmake wxwidgets xdg |
40 |
+ |
41 |
+DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)" |
42 |
+HOMEPAGE="https://www.prusa3d.com/prusaslicer/" |
43 |
+SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-cpp/eigen:3 |
54 |
+ >=dev-cpp/tbb-2021.4.0:= |
55 |
+ >=dev-libs/boost-1.73.0:=[nls,threads(+)] |
56 |
+ dev-libs/cereal |
57 |
+ dev-libs/expat |
58 |
+ dev-libs/glib:2 |
59 |
+ dev-libs/gmp:= |
60 |
+ dev-libs/mpfr:= |
61 |
+ dev-libs/imath:= |
62 |
+ >=media-gfx/openvdb-8.2:= |
63 |
+ net-misc/curl |
64 |
+ media-libs/glew:0= |
65 |
+ media-libs/libpng:0= |
66 |
+ media-libs/qhull:= |
67 |
+ sci-libs/libigl |
68 |
+ sci-libs/nlopt |
69 |
+ >=sci-mathematics/cgal-5.0:= |
70 |
+ sys-apps/dbus |
71 |
+ sys-libs/zlib:= |
72 |
+ virtual/glu |
73 |
+ virtual/opengl |
74 |
+ x11-libs/gtk+:3 |
75 |
+ x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] |
76 |
+" |
77 |
+DEPEND="${RDEPEND} |
78 |
+ media-libs/qhull[static-libs] |
79 |
+" |
80 |
+ |
81 |
+S="${WORKDIR}" |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ sed -i -e 's/PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN/PrusaSlicer-${SLIC3R_VERSION}+Gentoo/g' version.inc || die |
85 |
+ cmake_src_prepare |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ CMAKE_BUILD_TYPE="Release" |
90 |
+ |
91 |
+ setup-wxwidgets |
92 |
+ |
93 |
+ local mycmakeargs=( |
94 |
+ -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB" |
95 |
+ |
96 |
+ -DSLIC3R_BUILD_TESTS=$(usex test) |
97 |
+ -DSLIC3R_FHS=ON |
98 |
+ -DSLIC3R_GTK=3 |
99 |
+ -DSLIC3R_GUI=ON |
100 |
+ -DSLIC3R_PCH=OFF |
101 |
+ -DSLIC3R_STATIC=OFF |
102 |
+ -DSLIC3R_WX_STABLE=ON |
103 |
+ -Wno-dev |
104 |
+ ) |
105 |
+ |
106 |
+ cmake_src_configure |
107 |
+} |