Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/prusaslicer/
Date: Sun, 26 Jun 2022 20:20:33
Message-Id: 1656274826.147c21715d8e926e556681cce16139c39e117cec.slashbeast@gentoo
1 commit: 147c21715d8e926e556681cce16139c39e117cec
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 20:18:45 2022 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 20:20:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147c2171
7
8 media-gfx/prusaslicer: drop old.
9
10 Closes: https://bugs.gentoo.org/829874
11 Closes: https://bugs.gentoo.org/824854
12 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
13
14 media-gfx/prusaslicer/prusaslicer-2.4.0-r2.ebuild | 82 ----------------------
15 media-gfx/prusaslicer/prusaslicer-2.4.1.ebuild | 82 ----------------------
16 media-gfx/prusaslicer/prusaslicer-2.4.2.ebuild | 82 ----------------------
17 .../prusaslicer/prusaslicer-2.4.2_p20220506.ebuild | 80 ---------------------
18 4 files changed, 326 deletions(-)
19
20 diff --git a/media-gfx/prusaslicer/prusaslicer-2.4.0-r2.ebuild b/media-gfx/prusaslicer/prusaslicer-2.4.0-r2.ebuild
21 deleted file mode 100644
22 index 6965a84a96a9..000000000000
23 --- a/media-gfx/prusaslicer/prusaslicer-2.4.0-r2.ebuild
24 +++ /dev/null
25 @@ -1,82 +0,0 @@
26 -# Copyright 1999-2022 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=8
30 -
31 -WX_GTK_VER="3.0-gtk3"
32 -
33 -inherit cmake desktop wxwidgets xdg
34 -
35 -MY_PN="PrusaSlicer"
36 -
37 -DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
38 -HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
39 -SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
42 -SLOT="0"
43 -KEYWORDS="amd64 ~x86"
44 -IUSE="test"
45 -
46 -RESTRICT="!test? ( test )"
47 -
48 -RDEPEND="
49 - dev-cpp/eigen:3
50 - >=dev-cpp/tbb-2021.4.0:=
51 - >=dev-libs/boost-1.73.0:=[nls,threads(+)]
52 - dev-libs/cereal
53 - dev-libs/expat
54 - dev-libs/glib:2
55 - dev-libs/gmp:=
56 - dev-libs/mpfr:=
57 - dev-libs/imath:=
58 - >=media-gfx/openvdb-8.2:=
59 - net-misc/curl
60 - media-libs/glew:0=
61 - media-libs/libpng:0=
62 - media-libs/qhull:=
63 - sci-libs/libigl
64 - sci-libs/nlopt
65 - >=sci-mathematics/cgal-5.0:=
66 - sys-apps/dbus
67 - sys-libs/zlib:=
68 - virtual/glu
69 - virtual/opengl
70 - x11-libs/gtk+:3
71 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
72 -"
73 -DEPEND="${RDEPEND}
74 - media-libs/qhull[static-libs]
75 -"
76 -
77 -PATCHES=(
78 - "${FILESDIR}"/${P}-fix-build-with-cereal-1.3.1.patch
79 -)
80 -
81 -S="${WORKDIR}/${MY_PN}-version_${PV}"
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 -}
108
109 diff --git a/media-gfx/prusaslicer/prusaslicer-2.4.1.ebuild b/media-gfx/prusaslicer/prusaslicer-2.4.1.ebuild
110 deleted file mode 100644
111 index c402f1a876fd..000000000000
112 --- a/media-gfx/prusaslicer/prusaslicer-2.4.1.ebuild
113 +++ /dev/null
114 @@ -1,82 +0,0 @@
115 -# Copyright 1999-2022 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=8
119 -
120 -WX_GTK_VER="3.0-gtk3"
121 -
122 -inherit cmake desktop wxwidgets xdg
123 -
124 -MY_PN="PrusaSlicer"
125 -
126 -DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
127 -HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
128 -SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
129 -
130 -LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
131 -SLOT="0"
132 -KEYWORDS="~amd64 ~x86"
133 -IUSE="test"
134 -
135 -RESTRICT="!test? ( test )"
136 -
137 -RDEPEND="
138 - dev-cpp/eigen:3
139 - >=dev-cpp/tbb-2021.4.0:=
140 - >=dev-libs/boost-1.73.0:=[nls,threads(+)]
141 - dev-libs/cereal
142 - dev-libs/expat
143 - dev-libs/glib:2
144 - dev-libs/gmp:=
145 - dev-libs/mpfr:=
146 - dev-libs/imath:=
147 - >=media-gfx/openvdb-8.2:=
148 - net-misc/curl
149 - media-libs/glew:0=
150 - media-libs/libpng:0=
151 - media-libs/qhull:=
152 - sci-libs/libigl
153 - sci-libs/nlopt
154 - >=sci-mathematics/cgal-5.0:=
155 - sys-apps/dbus
156 - sys-libs/zlib:=
157 - virtual/glu
158 - virtual/opengl
159 - x11-libs/gtk+:3
160 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
161 -"
162 -DEPEND="${RDEPEND}
163 - media-libs/qhull[static-libs]
164 -"
165 -
166 -PATCHES=(
167 - "${FILESDIR}"/${PN}-2.4.0-fix-build-with-cereal-1.3.1.patch
168 -)
169 -
170 -S="${WORKDIR}/${MY_PN}-version_${PV}"
171 -
172 -src_prepare() {
173 - sed -i -e 's/PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN/PrusaSlicer-${SLIC3R_VERSION}+Gentoo/g' version.inc || die
174 - cmake_src_prepare
175 -}
176 -
177 -src_configure() {
178 - CMAKE_BUILD_TYPE="Release"
179 -
180 - setup-wxwidgets
181 -
182 - local mycmakeargs=(
183 - -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
184 -
185 - -DSLIC3R_BUILD_TESTS=$(usex test)
186 - -DSLIC3R_FHS=ON
187 - -DSLIC3R_GTK=3
188 - -DSLIC3R_GUI=ON
189 - -DSLIC3R_PCH=OFF
190 - -DSLIC3R_STATIC=OFF
191 - -DSLIC3R_WX_STABLE=ON
192 - -Wno-dev
193 - )
194 -
195 - cmake_src_configure
196 -}
197
198 diff --git a/media-gfx/prusaslicer/prusaslicer-2.4.2.ebuild b/media-gfx/prusaslicer/prusaslicer-2.4.2.ebuild
199 deleted file mode 100644
200 index c402f1a876fd..000000000000
201 --- a/media-gfx/prusaslicer/prusaslicer-2.4.2.ebuild
202 +++ /dev/null
203 @@ -1,82 +0,0 @@
204 -# Copyright 1999-2022 Gentoo Authors
205 -# Distributed under the terms of the GNU General Public License v2
206 -
207 -EAPI=8
208 -
209 -WX_GTK_VER="3.0-gtk3"
210 -
211 -inherit cmake desktop wxwidgets xdg
212 -
213 -MY_PN="PrusaSlicer"
214 -
215 -DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
216 -HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
217 -SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
218 -
219 -LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
220 -SLOT="0"
221 -KEYWORDS="~amd64 ~x86"
222 -IUSE="test"
223 -
224 -RESTRICT="!test? ( test )"
225 -
226 -RDEPEND="
227 - dev-cpp/eigen:3
228 - >=dev-cpp/tbb-2021.4.0:=
229 - >=dev-libs/boost-1.73.0:=[nls,threads(+)]
230 - dev-libs/cereal
231 - dev-libs/expat
232 - dev-libs/glib:2
233 - dev-libs/gmp:=
234 - dev-libs/mpfr:=
235 - dev-libs/imath:=
236 - >=media-gfx/openvdb-8.2:=
237 - net-misc/curl
238 - media-libs/glew:0=
239 - media-libs/libpng:0=
240 - media-libs/qhull:=
241 - sci-libs/libigl
242 - sci-libs/nlopt
243 - >=sci-mathematics/cgal-5.0:=
244 - sys-apps/dbus
245 - sys-libs/zlib:=
246 - virtual/glu
247 - virtual/opengl
248 - x11-libs/gtk+:3
249 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
250 -"
251 -DEPEND="${RDEPEND}
252 - media-libs/qhull[static-libs]
253 -"
254 -
255 -PATCHES=(
256 - "${FILESDIR}"/${PN}-2.4.0-fix-build-with-cereal-1.3.1.patch
257 -)
258 -
259 -S="${WORKDIR}/${MY_PN}-version_${PV}"
260 -
261 -src_prepare() {
262 - sed -i -e 's/PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN/PrusaSlicer-${SLIC3R_VERSION}+Gentoo/g' version.inc || die
263 - cmake_src_prepare
264 -}
265 -
266 -src_configure() {
267 - CMAKE_BUILD_TYPE="Release"
268 -
269 - setup-wxwidgets
270 -
271 - local mycmakeargs=(
272 - -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
273 -
274 - -DSLIC3R_BUILD_TESTS=$(usex test)
275 - -DSLIC3R_FHS=ON
276 - -DSLIC3R_GTK=3
277 - -DSLIC3R_GUI=ON
278 - -DSLIC3R_PCH=OFF
279 - -DSLIC3R_STATIC=OFF
280 - -DSLIC3R_WX_STABLE=ON
281 - -Wno-dev
282 - )
283 -
284 - cmake_src_configure
285 -}
286
287 diff --git a/media-gfx/prusaslicer/prusaslicer-2.4.2_p20220506.ebuild b/media-gfx/prusaslicer/prusaslicer-2.4.2_p20220506.ebuild
288 deleted file mode 100644
289 index 26052c4ee910..000000000000
290 --- a/media-gfx/prusaslicer/prusaslicer-2.4.2_p20220506.ebuild
291 +++ /dev/null
292 @@ -1,80 +0,0 @@
293 -# Copyright 1999-2022 Gentoo Authors
294 -# Distributed under the terms of the GNU General Public License v2
295 -
296 -EAPI=8
297 -
298 -WX_GTK_VER="3.0-gtk3"
299 -
300 -inherit cmake desktop wxwidgets xdg
301 -
302 -DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
303 -HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
304 -SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz"
305 -
306 -LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
307 -SLOT="0"
308 -KEYWORDS="~amd64 ~x86"
309 -IUSE="test"
310 -
311 -RESTRICT="!test? ( test )"
312 -
313 -RDEPEND="
314 - dev-cpp/eigen:3
315 - >=dev-cpp/tbb-2021.4.0:=
316 - >=dev-libs/boost-1.73.0:=[nls,threads(+)]
317 - dev-libs/cereal
318 - dev-libs/expat
319 - dev-libs/glib:2
320 - dev-libs/gmp:=
321 - dev-libs/mpfr:=
322 - dev-libs/imath:=
323 - >=media-gfx/openvdb-8.2:=
324 - net-misc/curl
325 - media-libs/glew:0=
326 - media-libs/libpng:0=
327 - media-libs/qhull:=
328 - sci-libs/libigl
329 - sci-libs/nlopt
330 - >=sci-mathematics/cgal-5.0:=
331 - sys-apps/dbus
332 - sys-libs/zlib:=
333 - virtual/glu
334 - virtual/opengl
335 - x11-libs/gtk+:3
336 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
337 -"
338 -DEPEND="${RDEPEND}
339 - media-libs/qhull[static-libs]
340 -"
341 -
342 -PATCHES=(
343 - "${FILESDIR}"/${PN}-boost-1.79.0-fixes.patch
344 -)
345 -
346 -S="${WORKDIR}"
347 -
348 -src_prepare() {
349 - sed -i -e 's/PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN/PrusaSlicer-${SLIC3R_VERSION}+Gentoo/g' version.inc || die
350 - cmake_src_prepare
351 -}
352 -
353 -src_configure() {
354 - CMAKE_BUILD_TYPE="Release"
355 -
356 - setup-wxwidgets
357 -
358 - local mycmakeargs=(
359 - -DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
360 -
361 - -DSLIC3R_BUILD_TESTS=$(usex test)
362 - -DSLIC3R_FHS=ON
363 - -DSLIC3R_GTK=3
364 - -DSLIC3R_GUI=ON
365 - -DSLIC3R_PCH=OFF
366 - -DSLIC3R_STATIC=OFF
367 - -DSLIC3R_WX_STABLE=ON
368 - -Wno-dev
369 - )
370 -
371 - cmake_src_configure
372 -}