1 |
commit: f61b2c1a08fd0c4b7dc22b88bf091bfa1639b729 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 06:01:11 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 06:02:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61b2c1a |
7 |
|
8 |
dev-ruby/ruby-opengl: add ruby30; fix extension install |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/ruby-opengl/ruby-opengl-0.10.0-r1.ebuild | 39 +++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.10.0-r1.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.10.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..588a4c36653 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/ruby-opengl/ruby-opengl-0.10.0-r1.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+USE_RUBY="ruby26 ruby27 ruby30" |
27 |
+ |
28 |
+# Two tests fails but the README already indicates that this may not |
29 |
+# work. Additionally these tests require access to video devices such as |
30 |
+# /dev/nvidiactl. |
31 |
+RUBY_FAKEGEM_TASK_TEST="" |
32 |
+ |
33 |
+RUBY_FAKEGEM_NAME="opengl" |
34 |
+ |
35 |
+RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/opengl/extconf.rb) |
38 |
+RUBY_FAKEGEM_EXTENSION_LIBDIR=(lib/opengl) |
39 |
+ |
40 |
+inherit ruby-fakegem |
41 |
+ |
42 |
+DESCRIPTION="OpenGL / GLUT bindings for ruby" |
43 |
+HOMEPAGE="https://github.com/larskanis/opengl" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
48 |
+ |
49 |
+IUSE="" |
50 |
+ |
51 |
+DEPEND+=" virtual/opengl |
52 |
+ media-libs/freeglut" |
53 |
+RDEPEND+=" virtual/opengl |
54 |
+ media-libs/freeglut" |
55 |
+ |
56 |
+all_ruby_install() { |
57 |
+ all_fakegem_install |
58 |
+ |
59 |
+ dodoc -r examples |
60 |
+} |