public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/prusaslicer/
Date: Mon, 30 Jan 2023 21:53:07 +0000 (UTC)	[thread overview]
Message-ID: <1675115582.0c353e4eeb41bedc59f8f69c649d60ed6ff08a8f.slashbeast@gentoo> (raw)

commit:     0c353e4eeb41bedc59f8f69c649d60ed6ff08a8f
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 21:51:13 2023 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 21:53:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c353e4e

media-gfx/prusaslicer: 2.5.0-r2: relax opencascade dep.

Closes: https://bugs.gentoo.org/892647
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 media-gfx/prusaslicer/prusaslicer-2.5.0-r2.ebuild | 88 +++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/media-gfx/prusaslicer/prusaslicer-2.5.0-r2.ebuild b/media-gfx/prusaslicer/prusaslicer-2.5.0-r2.ebuild
new file mode 100644
index 000000000000..65d30cb77442
--- /dev/null
+++ b/media-gfx/prusaslicer/prusaslicer-2.5.0-r2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.0-gtk3"
+MY_PN="PrusaSlicer"
+MY_PV="$(ver_rs 3 -)"
+
+inherit cmake wxwidgets xdg
+
+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/PrusaSlicer/archive/refs/tags/version_${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RESTRICT="test"
+
+RDEPEND="
+	dev-cpp/eigen:3
+	dev-cpp/tbb:=
+	dev-libs/boost:=[nls]
+	dev-libs/cereal
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/gmp:=
+	dev-libs/mpfr:=
+	>=media-gfx/openvdb-8.2:=
+	net-misc/curl[adns]
+	media-libs/glew:0=
+	media-libs/libjpeg-turbo:=
+	media-libs/libpng:0=
+	media-libs/qhull:=
+	sci-libs/libigl
+	sci-libs/nlopt
+	>=sci-libs/opencascade-7.6.2:=
+	>=sci-mathematics/cgal-5.0:=
+	sys-apps/dbus
+	sys-libs/zlib:=
+	virtual/opengl
+	x11-libs/gtk+:3
+	x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+"
+DEPEND="${RDEPEND}
+	media-libs/qhull[static-libs]
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-2.5.0_alpha2-boost-fixes.patch"
+	"${FILESDIR}/${PN}-2.5.0_rc1-cereal-1.3.1.patch"
+	"${FILESDIR}/${PN}-2.5.0_rc1-fix-tests.patch"
+	"${FILESDIR}/${PN}-2.5.0_boost-1.81-std-wxString-to-std-wstring.patch"
+)
+
+S="${WORKDIR}/${MY_PN}-version_${MY_PV}"
+
+src_prepare() {
+	sed -i -e 's/PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN/PrusaSlicer-${SLIC3R_VERSION}+Gentoo/g' version.inc || die
+
+	sed -i -e 's/find_package(OpenCASCADE 7.6.2 REQUIRED)/find_package(OpenCASCADE REQUIRED)/g' \
+		src/occt_wrapper/CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	CMAKE_BUILD_TYPE="Release"
+
+	setup-wxwidgets
+
+	local mycmakeargs=(
+		-DOPENVDB_FIND_MODULE_PATH="/usr/$(get_libdir)/cmake/OpenVDB"
+
+		-DSLIC3R_BUILD_TESTS=$(usex test)
+		-DSLIC3R_FHS=ON
+		-DSLIC3R_GTK=3
+		-DSLIC3R_GUI=ON
+		-DSLIC3R_PCH=OFF
+		-DSLIC3R_STATIC=OFF
+		-DSLIC3R_WX_STABLE=ON
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}


             reply	other threads:[~2023-01-30 21:53 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 21:53 Piotr Karbowski [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-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-09-23 23:40 Sam James
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=1675115582.0c353e4eeb41bedc59f8f69c649d60ed6ff08a8f.slashbeast@gentoo \
    --to=slashbeast@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