1 |
commit: d82165bfefd38aafc92642ab0b7e45aec6780fae |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 15 02:41:36 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 02:44:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82165bf |
7 |
|
8 |
media-libs/partio: Add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
11 |
|
12 |
media-libs/partio/partio-9999.ebuild | 48 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 48 insertions(+) |
14 |
|
15 |
diff --git a/media-libs/partio/partio-9999.ebuild b/media-libs/partio/partio-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..45be65d43fd |
18 |
--- /dev/null |
19 |
+++ b/media-libs/partio/partio-9999.ebuild |
20 |
@@ -0,0 +1,48 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja} |
27 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
28 |
+ |
29 |
+inherit cmake-utils vcs-snapshot python-single-r1 |
30 |
+ |
31 |
+if [[ ${PV} == *9999 ]]; then |
32 |
+ inherit git-r3 |
33 |
+ EGIT_REPO_URI="https://github.com/wdas/partio.git" |
34 |
+else |
35 |
+ MY_GIT_COMMIT="2774ef3958da46d9f8a4230ebda9e04b1aa8f4e5" |
36 |
+ SRC_URI="https://github.com/wdas/${PN}/archive/${MY_GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
37 |
+ KEYWORDS="~amd64 ~x86" |
38 |
+fi |
39 |
+ |
40 |
+DESCRIPTION="A library for particle IO and manipulation" |
41 |
+HOMEPAGE="https://www.disneyanimation.com/technology/partio.html" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+IUSE="doc" |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+RDEPEND="${PYTHON_DEPS} |
49 |
+ media-libs/freeglut |
50 |
+ virtual/opengl |
51 |
+ sys-libs/zlib:=" |
52 |
+ |
53 |
+DEPEND="${RDEPEND} |
54 |
+ doc? ( app-doc/doxygen[latex] ) |
55 |
+ dev-lang/swig:*" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ cmake-utils_src_prepare |
59 |
+ cmake_comment_add_subdirectory "src/tests" |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ local mycmakeargs=( |
64 |
+ $(cmake-utils_use_find_package doc Doxygen) |
65 |
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" |
66 |
+ ) |
67 |
+ cmake-utils_src_configure |
68 |
+} |