diff options
author | Mathy Vanvoorden <mathy@vanvoorden.be> | 2018-12-08 23:15:39 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2019-01-02 22:48:54 +0100 |
commit | 719c5d075421fd900c3ca5423f7070a996255048 (patch) | |
tree | 776b7be78b39ae1b16594195f7d4c930365fc8e3 /media-gfx/curaengine/curaengine-3.6.0.ebuild | |
parent | dev-python/uranium: version bump to 3.6.0 (diff) | |
download | gentoo-719c5d075421fd900c3ca5423f7070a996255048.tar.gz gentoo-719c5d075421fd900c3ca5423f7070a996255048.tar.bz2 gentoo-719c5d075421fd900c3ca5423f7070a996255048.zip |
media-gfx/curaengine: version bump to 3.6.0
Signed-off-by: Mathy Vanvoorden <mathy@vanvoorden.be>
Signed-off-by: Amy Liffey <amynka@gentoo.org>
Package-Manager: Portage[mgorny]-2.3.51.1
Diffstat (limited to 'media-gfx/curaengine/curaengine-3.6.0.ebuild')
-rw-r--r-- | media-gfx/curaengine/curaengine-3.6.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/curaengine/curaengine-3.6.0.ebuild b/media-gfx/curaengine/curaengine-3.6.0.ebuild new file mode 100644 index 000000000000..00cac9e508c9 --- /dev/null +++ b/media-gfx/curaengine/curaengine-3.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_PN="CuraEngine" + +DESCRIPTION="A 3D model slicing engine for 3D printing" +HOMEPAGE="https://github.com/Ultimaker/CuraEngine" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="${PYTHON_DEPS} + ~dev-libs/libarcus-${PV}:* + dev-libs/protobuf + dev-libs/stb" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS=( README.md ) + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_make + if use doc; then + doxygen + mv docs/html . || die + find html -name '*.md5' -or -name '*.map' -delete || die + DOCS+=( html ) + fi +} |