summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2020-03-27 22:23:45 +0100
committerhaarp <main.haarp@gmail.com>2020-03-27 22:31:03 +0100
commit871dd78d958edf87231a970e112774b3fe204b2f (patch)
tree5ecb44ee7b60789dec75b3c379f35ebce084be42 /media-gfx
parentAdd missing dependencies to Salt (diff)
downloadhaarp-871dd78d958edf87231a970e112774b3fe204b2f.tar.gz
haarp-871dd78d958edf87231a970e112774b3fe204b2f.tar.bz2
haarp-871dd78d958edf87231a970e112774b3fe204b2f.zip
Prusa-Slicer 2.2.0
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/prusa-slicer/Manifest2
-rw-r--r--media-gfx/prusa-slicer/prusa-slicer-2.2.0.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/media-gfx/prusa-slicer/Manifest b/media-gfx/prusa-slicer/Manifest
index c2d2ebe..849d53f 100644
--- a/media-gfx/prusa-slicer/Manifest
+++ b/media-gfx/prusa-slicer/Manifest
@@ -1,3 +1,5 @@
DIST prusa-slicer-2.1.1.tar.gz 27551136 BLAKE2B 05948f7476cb41db83a4c70b6129df5b82c84d0e7de96c5d0a7dc0bad9442e4845a30e080f9ccd88caa09ec1f6c9daceb566a7cf8004e5d4d9a3f7026af1bc96 SHA512 30c00e6fc0dbd97ec2307d83a777f53039ed0eb8c4c26c9f4e581567025225ca1937032fe23fd09216d55b2703fa3c0d20a7f1efd713ba6c9ae5e32a6a088d6a
+DIST prusa-slicer-2.2.0.tar.gz 30811929 BLAKE2B cde004add53ee025728d566cb7331cb7b1eac5412e9ad3bee037d13277c24dcdc6024c91f09bb9ef0653a12a3ee7c5cb5cec21e2a00825d185472ea7036e08f5 SHA512 5c8dc5b581e04208a1ae53771ef2607da189ee85aadf501ce1480008f5a6ddb10bb528ddc2608d3f04acd26c583ff895ad4148d6a1397f002292e20098971e1d
EBUILD prusa-slicer-2.1.1.ebuild 1480 BLAKE2B 635def62427f6f8e681f4c2536c149a331e01a9bd6532cf0dc0af23921bdbe165144dff7a1fbe56b17e9f1091f6f4e44b4095b6e18a600479a495dde61e7fb24 SHA512 a572b66e3bee1006dbe1eb684385537aa5dd6fa0aed3c64fcc37b898b0d1dd0074a95d92732cf4e80e06c0074ecdf4d55450e45b3e75362d937c77c6b4fd712e
+EBUILD prusa-slicer-2.2.0.ebuild 1548 BLAKE2B a63577f130946d9b4a615f1bab152a791036a3055727ba1c326c7cf9d149c0fcd275bbd43efb38f9f4f42f1ffe0f05f7c3403999baf01089b880e2374a8ef4ed SHA512 65674c0e273ca230e9b2eb4d180f17abb39cccefb2e63e960963eb89e97fb8bee6f422dcee124f83073ff8d21ae60ee57b479c02b3d9600eff5a54bf6fe9d0d1
MISC metadata.xml 203 BLAKE2B c6e21b67977c25397c014c8a709a0568bef0d455dbad7aa9787c63895c9dac8e1405522bc1dc82745b18d37f48d01a822ca29880ea374c895446dfba5c33d9cc SHA512 05b7902daead1819658dd3c1b9539056a410ed454703125399504ef2816dced3dfb606894ada0ca325da3e149f845078fefa21af4fb24e9d224d93813d66e68e
diff --git a/media-gfx/prusa-slicer/prusa-slicer-2.2.0.ebuild b/media-gfx/prusa-slicer/prusa-slicer-2.2.0.ebuild
new file mode 100644
index 0000000..158b2b3
--- /dev/null
+++ b/media-gfx/prusa-slicer/prusa-slicer-2.2.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit perl-module cmake-utils
+
+DESCRIPTION="G-code generator for 3D printers"
+HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
+SRC_URI="https://github.com/prusa3d/PrusaSlicer/archive/version_${PV/_/-}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 CC-BY-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gui test"
+
+RDEPEND="!media-gfx/slic3r
+ >=dev-libs/boost-1.55[threads]
+ dev-cpp/eigen
+ dev-cpp/gtest
+ dev-cpp/tbb
+ dev-libs/cereal
+ dev-libs/expat
+ dev-libs/openssl
+ >=media-gfx/openvdb-5.0[-abi4-compat]
+ media-libs/glew
+ net-misc/curl
+ sci-libs/nlopt
+ >=sci-mathematics/cgal-4.14
+ x11-libs/wxGTK:3.0-gtk3"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/PrusaSlicer-version_${PV/_/-}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DSLIC3R_WX_STABLE=1
+ -DSLIC3R_GUI=$(usex gui 1 0)
+ -DSLIC3R_FHS=1
+ -DSLIC3R_STATIC=0
+ -DSLIC3R_GTK=3
+ -DSLIC3R_PERL_XS=0
+ -DSLIC3R_BUILD_SANDBOXES=0
+ -DSLIC3R_BUILD_TESTS=$(usex test 1 0)
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ perl-module_src_test
+ pushd .. || die
+ prove -Ixs/blib/arch -Ixs/blib/lib/ t/ || die "Tests failed"
+ popd || die
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dosym "/usr/share/PrusaSlicer/icons/PrusaSlicer_192px.png" \
+ "/usr/share/pixmaps/prusa-slicer.png"
+
+ make_desktop_entry "prusa-slicer %F" "PrusaSlicer" "prusa-slicer" \
+ "Graphics;3DGraphics;Engineering;Development" \
+ "MimeType=model/stl;application/xml;application/prs.wavefront-obj;application/vnd.ms-3mfdocument;"
+}