1 |
commit: 056a56563c34c27a75b0079b82d5fb8fd7ae04d0 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Sat Sep 26 20:50:38 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Sat Sep 26 20:50:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=056a5656 |
7 |
|
8 |
dev-libs/optix: Add optix v7.{1.0,0.0} |
9 |
|
10 |
Blender utilizes optix as an alternative to CUDA to utilize the |
11 |
raytracing cores in the RTX series of video cards. version 7.0 has been |
12 |
tested with Blender 2.8.4. |
13 |
|
14 |
Closes: https://github.com/gentoo/sci/pull/972 |
15 |
|
16 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
17 |
Signed-off-by: Richard F. Ostrow Jr <rich <AT> warfaresdl.com> |
18 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
19 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
20 |
|
21 |
dev-libs/optix/metadata.xml | 3 +++ |
22 |
dev-libs/optix/optix-7.0.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
23 |
dev-libs/optix/optix-7.1.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
24 |
3 files changed, 77 insertions(+) |
25 |
|
26 |
diff --git a/dev-libs/optix/metadata.xml b/dev-libs/optix/metadata.xml |
27 |
index 7203fb853..43be4e4e4 100644 |
28 |
--- a/dev-libs/optix/metadata.xml |
29 |
+++ b/dev-libs/optix/metadata.xml |
30 |
@@ -4,4 +4,7 @@ |
31 |
<maintainer type="person"> |
32 |
<email>heroxbd@g.o</email> |
33 |
</maintainer> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>rich@××××××××××.com</email> |
36 |
+ </maintainer> |
37 |
</pkgmetadata> |
38 |
|
39 |
diff --git a/dev-libs/optix/optix-7.0.0.ebuild b/dev-libs/optix/optix-7.0.0.ebuild |
40 |
new file mode 100644 |
41 |
index 000000000..c419a9cee |
42 |
--- /dev/null |
43 |
+++ b/dev-libs/optix/optix-7.0.0.ebuild |
44 |
@@ -0,0 +1,37 @@ |
45 |
+# Copyright 2020 Gentoo Authors |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+ |
48 |
+EAPI=7 |
49 |
+ |
50 |
+DESCRIPTION="NVIDIA Ray Tracing Engine" |
51 |
+HOMEPAGE="https://developer.nvidia.com/optix" |
52 |
+SRC_URI="NVIDIA-OptiX-SDK-${PV}-linux64.sh" |
53 |
+ |
54 |
+SLOT="0/7" |
55 |
+KEYWORDS="~amd64" |
56 |
+RESTRICT="fetch" |
57 |
+LICENSE="NVIDIA-r2" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ dev-util/nvidia-cuda-toolkit |
61 |
+ media-libs/freeglut |
62 |
+ virtual/opengl |
63 |
+" |
64 |
+S="${WORKDIR}" |
65 |
+ |
66 |
+pkg_nofetch() { |
67 |
+ einfo "Please download ${SRC_URI} from:" |
68 |
+ einfo " ${HOMEPAGE}" |
69 |
+ einfo "and move it to your DISTDIR directory." |
70 |
+ einfo 'DISTDIR value is available from `emerge --info`' |
71 |
+} |
72 |
+ |
73 |
+src_unpack() { |
74 |
+ tail -n +223 "${DISTDIR}"/${A} | tar -zx || die |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ insinto /opt/${PN} |
79 |
+ dodoc -r doc |
80 |
+ doins -r include SDK |
81 |
+} |
82 |
|
83 |
diff --git a/dev-libs/optix/optix-7.1.0.ebuild b/dev-libs/optix/optix-7.1.0.ebuild |
84 |
new file mode 100644 |
85 |
index 000000000..afeda2b32 |
86 |
--- /dev/null |
87 |
+++ b/dev-libs/optix/optix-7.1.0.ebuild |
88 |
@@ -0,0 +1,37 @@ |
89 |
+# Copyright 2020 Gentoo Authors |
90 |
+# Distributed under the terms of the GNU General Public License v2 |
91 |
+ |
92 |
+EAPI=7 |
93 |
+ |
94 |
+DESCRIPTION="NVIDIA Ray Tracing Engine" |
95 |
+HOMEPAGE="https://developer.nvidia.com/optix" |
96 |
+SRC_URI="NVIDIA-OptiX-SDK-${PV}-linux64-x86_64.sh" |
97 |
+ |
98 |
+SLOT="0/7" |
99 |
+KEYWORDS="~amd64" |
100 |
+RESTRICT="fetch" |
101 |
+LICENSE="NVIDIA-r2" |
102 |
+ |
103 |
+RDEPEND=" |
104 |
+ dev-util/nvidia-cuda-toolkit |
105 |
+ media-libs/freeglut |
106 |
+ virtual/opengl |
107 |
+" |
108 |
+S="${WORKDIR}" |
109 |
+ |
110 |
+pkg_nofetch() { |
111 |
+ einfo "Please download ${SRC_URI} from:" |
112 |
+ einfo " ${HOMEPAGE}" |
113 |
+ einfo "and move it to your DISTDIR directory." |
114 |
+ einfo 'DISTDIR value is available from `emerge --info`' |
115 |
+} |
116 |
+ |
117 |
+src_unpack() { |
118 |
+ tail -n +223 "${DISTDIR}"/${A} | tar -zx || die |
119 |
+} |
120 |
+ |
121 |
+src_install() { |
122 |
+ insinto /opt/${PN} |
123 |
+ dodoc -r doc |
124 |
+ doins -r include SDK |
125 |
+} |