summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild')
-rw-r--r--media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild b/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild
index dd741d4ed3c7..3e0211b1e5f1 100644
--- a/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild
+++ b/media-gfx/prusaslicer/prusaslicer-2.3.3.ebuild
@@ -60,6 +60,11 @@ PATCHES=(
"${FILESDIR}/${PN}-2.3.0-miniz-zip-header.patch"
)
+src_prepare() {
+ sed -i -e 's/PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN/PrusaSlicer-${SLIC3R_VERSION}+Gentoo/g' version.inc || die
+ cmake_src_prepare
+}
+
src_configure() {
use gui && setup-wxwidgets