1 |
commit: c6c248e8a5da5507f3bc63fbcbefcf381c413f85 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 29 10:32:11 2021 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 29 11:05:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c248e8 |
7 |
|
8 |
media-gfx/prusaslicer: dropped GUI useflag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/829874 |
11 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/23560 |
14 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
15 |
|
16 |
...er-2.4.0.ebuild => prusaslicer-2.4.0-r1.ebuild} | 32 ++++++---------------- |
17 |
1 file changed, 9 insertions(+), 23 deletions(-) |
18 |
|
19 |
diff --git a/media-gfx/prusaslicer/prusaslicer-2.4.0.ebuild b/media-gfx/prusaslicer/prusaslicer-2.4.0-r1.ebuild |
20 |
similarity index 71% |
21 |
rename from media-gfx/prusaslicer/prusaslicer-2.4.0.ebuild |
22 |
rename to media-gfx/prusaslicer/prusaslicer-2.4.0-r1.ebuild |
23 |
index fe2b49e8810e..d80c994d95e9 100644 |
24 |
--- a/media-gfx/prusaslicer/prusaslicer-2.4.0.ebuild |
25 |
+++ b/media-gfx/prusaslicer/prusaslicer-2.4.0-r1.ebuild |
26 |
@@ -16,10 +16,8 @@ SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P |
27 |
LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT" |
28 |
SLOT="0" |
29 |
KEYWORDS="~amd64 ~x86" |
30 |
-IUSE="gui test" |
31 |
+IUSE="test" |
32 |
|
33 |
-# tests fail to link with USE=-gui, bug #760096 |
34 |
-REQUIRED_USE="test? ( gui )" |
35 |
RESTRICT="!test? ( test )" |
36 |
|
37 |
RDEPEND=" |
38 |
@@ -28,9 +26,12 @@ RDEPEND=" |
39 |
>=dev-libs/boost-1.73.0:=[nls,threads(+)] |
40 |
dev-libs/cereal |
41 |
dev-libs/expat |
42 |
+ dev-libs/glib:2 |
43 |
dev-libs/gmp:= |
44 |
dev-libs/mpfr:= |
45 |
>=media-gfx/openvdb-8.2 |
46 |
+ net-misc/curl |
47 |
+ media-libs/glew:0= |
48 |
media-libs/ilmbase:= |
49 |
media-libs/libpng:0= |
50 |
media-libs/qhull:= |
51 |
@@ -39,15 +40,10 @@ RDEPEND=" |
52 |
>=sci-mathematics/cgal-5.0:= |
53 |
sys-apps/dbus |
54 |
sys-libs/zlib:= |
55 |
- gui? ( |
56 |
- dev-libs/glib:2 |
57 |
- media-libs/glew:0= |
58 |
- net-misc/curl |
59 |
- virtual/glu |
60 |
- virtual/opengl |
61 |
- x11-libs/gtk+:3 |
62 |
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] |
63 |
- ) |
64 |
+ virtual/glu |
65 |
+ virtual/opengl |
66 |
+ x11-libs/gtk+:3 |
67 |
+ x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] |
68 |
" |
69 |
DEPEND="${RDEPEND} |
70 |
media-libs/qhull[static-libs] |
71 |
@@ -69,7 +65,7 @@ src_configure() { |
72 |
-DSLIC3R_BUILD_TESTS=$(usex test) |
73 |
-DSLIC3R_FHS=ON |
74 |
-DSLIC3R_GTK=3 |
75 |
- -DSLIC3R_GUI=$(usex gui) |
76 |
+ -DSLIC3R_GUI=ON |
77 |
-DSLIC3R_PCH=OFF |
78 |
-DSLIC3R_STATIC=OFF |
79 |
-DSLIC3R_WX_STABLE=ON |
80 |
@@ -78,13 +74,3 @@ src_configure() { |
81 |
|
82 |
cmake_src_configure |
83 |
} |
84 |
- |
85 |
-src_install() { |
86 |
- cmake_src_install |
87 |
- |
88 |
- if use gui; then |
89 |
- newicon -s 128 resources/icons/PrusaSlicer_128px.png PrusaSlicer.png |
90 |
- newicon -s 128 resources/icons/PrusaSlicer-gcodeviewer_128px.png PrusaSlicer-gcodeviewer.png |
91 |
- domenu src/platform/unix/Prusa{Slicer,Gcodeviewer}.desktop |
92 |
- fi |
93 |
-} |