summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2021-12-29 11:32:11 +0100
committerDennis Lamm <expeditioneer@gentoo.org>2021-12-29 12:05:03 +0100
commitc6c248e8a5da5507f3bc63fbcbefcf381c413f85 (patch)
tree6c5144c22ae3f15bca63984b706661ee6d92b943 /media-gfx
parentdev-python/tomli-w: Stabilize 1.0.0 ppc, #830183 (diff)
downloadgentoo-c6c248e8a5da5507f3bc63fbcbefcf381c413f85.tar.gz
gentoo-c6c248e8a5da5507f3bc63fbcbefcf381c413f85.tar.bz2
gentoo-c6c248e8a5da5507f3bc63fbcbefcf381c413f85.zip
media-gfx/prusaslicer: dropped GUI useflag
Closes: https://bugs.gentoo.org/829874 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.28, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/23560 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/prusaslicer/prusaslicer-2.4.0-r1.ebuild (renamed from media-gfx/prusaslicer/prusaslicer-2.4.0.ebuild)32
1 files changed, 9 insertions, 23 deletions
diff --git a/media-gfx/prusaslicer/prusaslicer-2.4.0.ebuild b/media-gfx/prusaslicer/prusaslicer-2.4.0-r1.ebuild
index fe2b49e8810e..d80c994d95e9 100644
--- a/media-gfx/prusaslicer/prusaslicer-2.4.0.ebuild
+++ b/media-gfx/prusaslicer/prusaslicer-2.4.0-r1.ebuild
@@ -16,10 +16,8 @@ SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P
LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gui test"
+IUSE="test"
-# tests fail to link with USE=-gui, bug #760096
-REQUIRED_USE="test? ( gui )"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -28,9 +26,12 @@ RDEPEND="
>=dev-libs/boost-1.73.0:=[nls,threads(+)]
dev-libs/cereal
dev-libs/expat
+ dev-libs/glib:2
dev-libs/gmp:=
dev-libs/mpfr:=
>=media-gfx/openvdb-8.2
+ net-misc/curl
+ media-libs/glew:0=
media-libs/ilmbase:=
media-libs/libpng:0=
media-libs/qhull:=
@@ -39,15 +40,10 @@ RDEPEND="
>=sci-mathematics/cgal-5.0:=
sys-apps/dbus
sys-libs/zlib:=
- gui? (
- dev-libs/glib:2
- media-libs/glew:0=
- net-misc/curl
- virtual/glu
- virtual/opengl
- x11-libs/gtk+:3
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
- )
+ virtual/glu
+ virtual/opengl
+ x11-libs/gtk+:3
+ x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
"
DEPEND="${RDEPEND}
media-libs/qhull[static-libs]
@@ -69,7 +65,7 @@ src_configure() {
-DSLIC3R_BUILD_TESTS=$(usex test)
-DSLIC3R_FHS=ON
-DSLIC3R_GTK=3
- -DSLIC3R_GUI=$(usex gui)
+ -DSLIC3R_GUI=ON
-DSLIC3R_PCH=OFF
-DSLIC3R_STATIC=OFF
-DSLIC3R_WX_STABLE=ON
@@ -78,13 +74,3 @@ src_configure() {
cmake_src_configure
}
-
-src_install() {
- cmake_src_install
-
- if use gui; then
- newicon -s 128 resources/icons/PrusaSlicer_128px.png PrusaSlicer.png
- newicon -s 128 resources/icons/PrusaSlicer-gcodeviewer_128px.png PrusaSlicer-gcodeviewer.png
- domenu src/platform/unix/Prusa{Slicer,Gcodeviewer}.desktop
- fi
-}