summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Brewer (Gentoo Key) <tomboy64@sina.cn>2016-04-12 22:11:43 +0200
committerIan Delaney <idella4@gentoo.org>2016-04-28 22:12:20 +0800
commit0f5896d1ac0f8bc078609c1c5e90bd5da350b643 (patch)
treed0bd443e2b88b5a2855c4a47bed0274405a1ef9c /media-gfx/curaengine
parentdev-python/uranium: initial ebuild, version 2.1.0_beta (diff)
downloadgentoo-0f5896d1ac0f8bc078609c1c5e90bd5da350b643.tar.gz
gentoo-0f5896d1ac0f8bc078609c1c5e90bd5da350b643.tar.bz2
gentoo-0f5896d1ac0f8bc078609c1c5e90bd5da350b643.zip
media-gfx/curaengine: initial ebuild, version 2.1.0_beta
Closes: https://github.com/gentoo/gentoo/pull/1298 Signed-off-by: Ian Delaney <idella4@gentoo.org>
Diffstat (limited to 'media-gfx/curaengine')
-rw-r--r--media-gfx/curaengine/Manifest1
-rw-r--r--media-gfx/curaengine/curaengine-2.1.0_beta.ebuild42
-rw-r--r--media-gfx/curaengine/metadata.xml19
3 files changed, 62 insertions, 0 deletions
diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
new file mode 100644
index 000000000000..1d3316c750f6
--- /dev/null
+++ b/media-gfx/curaengine/Manifest
@@ -0,0 +1 @@
+DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb WHIRLPOOL 45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe
diff --git a/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild
new file mode 100644
index 000000000000..b305c329a534
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine"
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/libarcus:=
+ >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( README.md )
+
+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
+}
diff --git a/media-gfx/curaengine/metadata.xml b/media-gfx/curaengine/metadata.xml
new file mode 100644
index 000000000000..f11feb002f87
--- /dev/null
+++ b/media-gfx/curaengine/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tomboy64@sina.cn</email>
+ <name>Matthew Brewer</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>3dprint@gentoo.org</email>
+ <name>Gentoo 3D Printer Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Ultimaker/CuraEngine</remote-id>
+ </upstream>
+</pkgmetadata>