diff options
author | Dennis Lamm <expeditioneer@gentoo.org> | 2022-08-31 20:00:44 +0200 |
---|---|---|
committer | Dennis Lamm <expeditioneer@gentoo.org> | 2022-08-31 20:26:47 +0200 |
commit | c6bad8fa7b2984dff874092bf5204f2d1d415d18 (patch) | |
tree | 80129331a540e73c8231127e734c1ae388e62194 /media-gfx | |
parent | media-gfx/prusaslicer: fixed failing tests (diff) | |
download | gentoo-c6bad8fa7b2984dff874092bf5204f2d1d415d18.tar.gz gentoo-c6bad8fa7b2984dff874092bf5204f2d1d415d18.tar.bz2 gentoo-c6bad8fa7b2984dff874092bf5204f2d1d415d18.zip |
media-gfx/prusaslicer: added opencascade-7.6.x dependency
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild b/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild index 82c03988b3a8..c43ffddc4b0c 100644 --- a/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild +++ b/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild @@ -37,6 +37,7 @@ RDEPEND=" media-libs/qhull:= sci-libs/libigl sci-libs/nlopt + =sci-libs/opencascade-7.6*:= >=sci-mathematics/cgal-5.0:= sys-apps/dbus sys-libs/zlib:= @@ -59,6 +60,9 @@ 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 } |