commit:     0f5896d1ac0f8bc078609c1c5e90bd5da350b643
Author:     Marshall Brewer (Gentoo Key) <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Tue Apr 12 20:11:43 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 14:12:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5896d1

media-gfx/curaengine: initial ebuild, version 2.1.0_beta

Closes: https://github.com/gentoo/gentoo/pull/1298

Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>

 media-gfx/curaengine/Manifest                     |  1 +
 media-gfx/curaengine/curaengine-2.1.0_beta.ebuild | 42 +++++++++++++++++++++++
 media-gfx/curaengine/metadata.xml                 | 19 ++++++++++
 3 files changed, 62 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
new file mode 100644
index 0000000..1d3316c
--- /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 0000000..b305c32
--- /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 0000000..f11feb0
--- /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>[email protected]</email>
+        <name>Matthew Brewer</name>
+    </maintainer>
+    <maintainer type="project">
+        <email>[email protected]</email>
+        <name>Gentoo 3D Printer Project</name>
+    </maintainer>
+    <maintainer type="project">
+        <email>[email protected]</email>
+        <name>Gentoo Proxy Maintainers Project</name>
+    </maintainer>
+    <upstream>
+               <remote-id type="github">Ultimaker/CuraEngine</remote-id>
+    </upstream>
+</pkgmetadata>

Reply via email to