summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2021-10-27 19:34:32 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2021-10-27 19:57:10 +0200
commit0d1f37bf6051b81a61902e3d57f2053151d5b64a (patch)
tree79ca58126810e02311e01c82c7bed61368ef1a9f /media-gfx/prusaslicer
parentdev-python/pygobject: increase timeout for tests (diff)
downloadgentoo-0d1f37bf6051b81a61902e3d57f2053151d5b64a.tar.gz
gentoo-0d1f37bf6051b81a61902e3d57f2053151d5b64a.tar.bz2
gentoo-0d1f37bf6051b81a61902e3d57f2053151d5b64a.zip
media-gfx/prusaslicer: adapted SLIC3R_BUILD_ID
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'media-gfx/prusaslicer')
-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