public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/prusaslicer/
Date: Thu, 23 Sep 2021 23:40:18 +0000 (UTC)	[thread overview]
Message-ID: <1632439113.d92534c71f93ba103aecee274942b7b2a82e5af7.sam@gentoo> (raw)

commit:     d92534c71f93ba103aecee274942b7b2a82e5af7
Author:     Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
AuthorDate: Thu Sep 23 21:06:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 23:18:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d92534c7

media-gfx/prusaslicer: version bump to 2.3.3

Dropping the gcc-11 patch, which is no longer necessary

Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
Closes: https://github.com/gentoo/gentoo/pull/22379
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/prusaslicer/Manifest                 |  1 +
 media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild | 86 ++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/media-gfx/prusaslicer/Manifest b/media-gfx/prusaslicer/Manifest
index bf50378cef5..737da7c2593 100644
--- a/media-gfx/prusaslicer/Manifest
+++ b/media-gfx/prusaslicer/Manifest
@@ -1 +1,2 @@
 DIST prusaslicer-2.3.1.tar.gz 39583385 BLAKE2B 0d0fa11d21ec3cc0decb2708a1b1866bbe0ec5719236433ef87807541ada8abc67091f219392a1ae21b4f35c3821dde94bfd6dac72ec6617c40b7fda05cfc082 SHA512 2722ee9d5331fe03423ce179cec68196320b48c65bd3c6795b93469268956fb309609462cc62bf3e2b4f30d2fe720d0a28a16c010993737c045d82956493a1e3
+DIST prusaslicer-2.3.3.tar.gz 40659538 BLAKE2B 1e1a1f7aeb34934bab03410e004a91e5ed76aaf930ff59e5b373b2e229018b6703d8da8ee7ab9085be25c5b3ce4ef39aeb38204336400867fac4a55f52c76bd4 SHA512 1f6b97e135202ad9de8f0bb212239ce2497de4205ea32f860b483473fb1f1783451d539a67cd97ef31f512a797b29c1067a1eff4134ea4a29b6218e5757657e2

diff --git a/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild b/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild
new file mode 100644
index 00000000000..dd741d4ed3c
--- /dev/null
+++ b/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WX_GTK_VER="3.0-gtk3"
+
+inherit xdg cmake desktop wxwidgets
+
+MY_PN="PrusaSlicer"
+
+DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
+HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
+SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui test"
+
+# tests fail to link with USE=-gui, bug #760096
+REQUIRED_USE="test? ( gui )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-cpp/eigen:3
+	dev-cpp/tbb
+	>=dev-libs/boost-1.73.0:=[nls,threads(+)]
+	dev-libs/cereal
+	dev-libs/expat
+	dev-libs/gmp:=
+	>=dev-libs/miniz-2.1.0-r2
+	dev-libs/mpfr:=
+	>=media-gfx/openvdb-5.0.0
+	media-libs/ilmbase:=
+	media-libs/libpng:0=
+	media-libs/qhull:=
+	sci-libs/libigl
+	sci-libs/nlopt
+	>=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]
+	)
+"
+DEPEND="${RDEPEND}
+	media-libs/qhull[static-libs]
+"
+
+S="${WORKDIR}/${MY_PN}-version_${PV}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-2.3.0-miniz-zip-header.patch"
+)
+
+src_configure() {
+	use gui && setup-wxwidgets
+
+	local mycmakeargs=(
+		-DSLIC3R_BUILD_TESTS=$(usex test)
+		-DSLIC3R_FHS=ON
+		-DSLIC3R_GTK=3
+		-DSLIC3R_GUI=$(usex gui)
+		-DSLIC3R_PCH=OFF
+		-DSLIC3R_WX_STABLE=ON
+	)
+
+	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
+}


             reply	other threads:[~2021-09-23 23:40 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 23:40 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-11 18:49 [gentoo-commits] repo/gentoo:master commit in: media-gfx/prusaslicer/ Miroslav Šulc
2025-02-19  4:24 Miroslav Šulc
2025-02-19  4:05 Miroslav Šulc
2024-10-30 11:48 Miroslav Šulc
2024-08-04 15:40 Miroslav Šulc
2024-06-29 11:19 Miroslav Šulc
2024-06-27 13:46 Miroslav Šulc
2024-06-22  8:33 Miroslav Šulc
2024-06-15 10:32 Miroslav Šulc
2024-05-21 17:34 Miroslav Šulc
2024-05-20  9:06 Miroslav Šulc
2024-05-20  8:52 Miroslav Šulc
2024-05-10  9:09 Miroslav Šulc
2024-04-05 12:15 Miroslav Šulc
2024-03-29  9:04 Miroslav Šulc
2024-03-25 18:57 Sam James
2024-03-25 18:57 Sam James
2024-03-04 21:03 Sam James
2024-02-29 18:48 Miroslav Šulc
2024-02-01 13:05 Alexey Shvetsov
2023-12-27 13:32 Sam James
2023-10-24 20:59 Alexey Shvetsov
2023-08-09  5:58 Yixun Lan
2023-05-06  9:37 Miroslav Šulc
2023-05-06  9:23 Arthur Zamarin
2023-04-22 11:03 Miroslav Šulc
2023-04-07 16:02 Miroslav Šulc
2023-01-30 21:53 Piotr Karbowski
2023-01-30 21:53 Piotr Karbowski
2023-01-20  3:54 Sam James
2022-12-28 15:00 Sam James
2022-10-05  4:41 Dennis Lamm
2022-10-05  4:41 Dennis Lamm
2022-09-01  9:16 Dennis Lamm
2022-09-01  9:16 Dennis Lamm
2022-08-31 18:26 Dennis Lamm
2022-08-31 18:26 Dennis Lamm
2022-08-16  9:04 Piotr Karbowski
2022-08-05 11:33 Agostino Sarubbo
2022-07-06 21:25 Piotr Karbowski
2022-06-26 20:21 Piotr Karbowski
2022-06-26 20:20 Piotr Karbowski
2022-06-25 23:52 Sam James
2022-06-23 22:09 Piotr Karbowski
2022-06-10  3:16 Sam James
2022-06-02 22:28 Piotr Karbowski
2022-06-01 22:39 Piotr Karbowski
2022-05-04 21:53 Piotr Karbowski
2022-03-21 15:20 Agostino Sarubbo
2022-03-14  6:51 Dennis Lamm
2021-12-29 21:33 Dennis Lamm
2021-12-29 11:05 Dennis Lamm
2021-12-23 13:13 Dennis Lamm
2021-11-01 10:00 Dennis Lamm
2021-10-30 17:25 Sam James
2021-10-30 17:23 Sam James
2021-10-29 22:23 Sam James
2021-10-27 17:57 Dennis Lamm
2021-10-27 17:57 Dennis Lamm
2021-06-18 19:18 David Seifert
2021-06-17  5:08 Dennis Lamm
2021-06-09 16:50 Dennis Lamm
2021-06-07  3:24 Dennis Lamm
2021-02-07 23:57 Dennis Lamm
2021-02-07 23:57 Dennis Lamm
2021-02-05  8:55 Sam James
2020-12-29 14:47 Dennis Lamm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632439113.d92534c71f93ba103aecee274942b7b2a82e5af7.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox