1 |
commit: 0f5896d1ac0f8bc078609c1c5e90bd5da350b643 |
2 |
Author: Marshall Brewer (Gentoo Key) <tomboy64 <AT> sina <DOT> cn> |
3 |
AuthorDate: Tue Apr 12 20:11:43 2016 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 14:12:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5896d1 |
7 |
|
8 |
media-gfx/curaengine: initial ebuild, version 2.1.0_beta |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/1298 |
11 |
|
12 |
Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org> |
13 |
|
14 |
media-gfx/curaengine/Manifest | 1 + |
15 |
media-gfx/curaengine/curaengine-2.1.0_beta.ebuild | 42 +++++++++++++++++++++++ |
16 |
media-gfx/curaengine/metadata.xml | 19 ++++++++++ |
17 |
3 files changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..1d3316c |
22 |
--- /dev/null |
23 |
+++ b/media-gfx/curaengine/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb WHIRLPOOL 45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe |
26 |
|
27 |
diff --git a/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..b305c32 |
30 |
--- /dev/null |
31 |
+++ b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild |
32 |
@@ -0,0 +1,42 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI="6" |
38 |
+ |
39 |
+inherit cmake-utils |
40 |
+ |
41 |
+MY_PN=CuraEngine |
42 |
+MY_PV=${PV/_beta} |
43 |
+ |
44 |
+DESCRIPTION="A 3D model slicing engine for 3D printing" |
45 |
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine" |
46 |
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+LICENSE="AGPL-3" |
50 |
+SLOT="0" |
51 |
+IUSE="doc test" |
52 |
+ |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ dev-libs/libarcus:= |
55 |
+ >=dev-libs/protobuf-3" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ doc? ( app-doc/doxygen )" |
58 |
+S="${WORKDIR}/${MY_PN}-${MY_PV}" |
59 |
+DOCS=( README.md ) |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" ) |
63 |
+ cmake-utils_src_configure |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ cmake-utils_src_make |
68 |
+ if use doc; then |
69 |
+ doxygen |
70 |
+ mv docs/html . || die |
71 |
+ find html -name '*.md5' -or -name '*.map' -delete || die |
72 |
+ DOCS+=( html ) |
73 |
+ fi |
74 |
+} |
75 |
|
76 |
diff --git a/media-gfx/curaengine/metadata.xml b/media-gfx/curaengine/metadata.xml |
77 |
new file mode 100644 |
78 |
index 0000000..f11feb0 |
79 |
--- /dev/null |
80 |
+++ b/media-gfx/curaengine/metadata.xml |
81 |
@@ -0,0 +1,19 @@ |
82 |
+<?xml version="1.0" encoding="UTF-8"?> |
83 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
84 |
+<pkgmetadata> |
85 |
+ <maintainer type="person"> |
86 |
+ <email>tomboy64@××××.cn</email> |
87 |
+ <name>Matthew Brewer</name> |
88 |
+ </maintainer> |
89 |
+ <maintainer type="project"> |
90 |
+ <email>3dprint@g.o</email> |
91 |
+ <name>Gentoo 3D Printer Project</name> |
92 |
+ </maintainer> |
93 |
+ <maintainer type="project"> |
94 |
+ <email>proxy-maint@g.o</email> |
95 |
+ <name>Gentoo Proxy Maintainers Project</name> |
96 |
+ </maintainer> |
97 |
+ <upstream> |
98 |
+ <remote-id type="github">Ultimaker/CuraEngine</remote-id> |
99 |
+ </upstream> |
100 |
+</pkgmetadata> |