diff options
author | haarp <main.haarp@gmail.com> | 2019-08-02 11:15:55 +0200 |
---|---|---|
committer | haarp <main.haarp@gmail.com> | 2019-08-02 11:15:55 +0200 |
commit | ffd8ddde1fce5cf1e66d66725126eeb7bb32950a (patch) | |
tree | 2b9149b779d3e3669d51e97fb7bbf89d69acef0c /media-gfx | |
parent | Fix download path for PrusaSlicer (diff) | |
download | haarp-ffd8ddde1fce5cf1e66d66725126eeb7bb32950a.tar.gz haarp-ffd8ddde1fce5cf1e66d66725126eeb7bb32950a.tar.bz2 haarp-ffd8ddde1fce5cf1e66d66725126eeb7bb32950a.zip |
PrusaSlicer 2.1.0 alpha 0
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/prusa-slicer/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/prusa-slicer/prusa-slicer-2.1.0_alpha0.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/prusa-slicer/Manifest b/media-gfx/prusa-slicer/Manifest index ceb7dcd..93b7a33 100644 --- a/media-gfx/prusa-slicer/Manifest +++ b/media-gfx/prusa-slicer/Manifest @@ -1,3 +1,5 @@ DIST prusa-slicer-2.0.0.tar.gz 10772093 BLAKE2B 563271d7f3244052315105b580da3a90e562f06cde583f9c610858d30a02671c72d8065cffac6a768240297dca65a0b91701d645f66c620839744114526fb789 SHA512 31f51f4b0d54f9061e6556631297e5a2c3bbe7f867a891b5ec8e8c6ed4f4d973c38c8897e7b4b9d8935843aafd4a44556d9779865ebf35a75822036d8fae20f3 +DIST prusa-slicer-2.1.0_alpha0.tar.gz 27607043 BLAKE2B ba8789bc393b1a180968f01d29301ad474f2420a9de27c30030c6ed5c68cd7e2ddd8b6e3c52b05da24e37072a4cc67bcdecd9b4daca4e7733f8ed402213fd611 SHA512 c481a7682529a5f3b1fc9e3ff07a43860ae157ef3beb4bb7844b2084f9b139ebf4bb24b061b08f72d34e4b8a31fae1adb9f2b0dae4f800329b7d3fe25d07533d EBUILD prusa-slicer-2.0.0.ebuild 1490 BLAKE2B acd9c6e6c89d9400b2d9a740fb66038f6387bf3afae8bee6372e046859d77c5c6754c2b363cb436e2d149def4ff9b87bc3e73988ed37503e4dc758eb9d475099 SHA512 33780937b1618b53f517c5f9881f01b248316b06ddcc3ea1c7d44dcb817d1bce567efcd5d5f58b087e9363b4b9ed07a867bf066d5a7395f11e10220dd30c9ed0 +EBUILD prusa-slicer-2.1.0_alpha0.ebuild 1510 BLAKE2B 92e2fab65607416b90b5828e39be4f1fd4d298665e6eb5782e94e96b21286ab2268237c1e5582003dbf880c5b147a3842fde79e2af59880d21052df18365ab9e SHA512 e4c4796047657398e013dba93a64e00f1292539bf5eecc98cb4e5fdc7247ba79df5ac7f570ebe457390b09efa2b4b0ea1c5eb2ea5e0164a9d51bce2eed297c8f MISC metadata.xml 203 BLAKE2B c6e21b67977c25397c014c8a709a0568bef0d455dbad7aa9787c63895c9dac8e1405522bc1dc82745b18d37f48d01a822ca29880ea374c895446dfba5c33d9cc SHA512 05b7902daead1819658dd3c1b9539056a410ed454703125399504ef2816dced3dfb606894ada0ca325da3e149f845078fefa21af4fb24e9d224d93813d66e68e diff --git a/media-gfx/prusa-slicer/prusa-slicer-2.1.0_alpha0.ebuild b/media-gfx/prusa-slicer/prusa-slicer-2.1.0_alpha0.ebuild new file mode 100644 index 0000000..7852b86 --- /dev/null +++ b/media-gfx/prusa-slicer/prusa-slicer-2.1.0_alpha0.ebuild @@ -0,0 +1,63 @@ +# 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 (RepRap, Makerbot, Ultimaker etc.)" +HOMEPAGE="https://www.prusa3d.com/prusaslicer/" +SRC_URI="https://github.com/prusa3d/Slic3r/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-libs/glew + net-misc/curl + sci-libs/nlopt + 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;" +} |