1 |
commit: 7d6a663f01114a8898ba5b3714480610e33c642d |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 25 05:56:52 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 25 06:53:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6a663f |
7 |
|
8 |
dev-ruby/ruby-opengl: add 0.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-ruby/ruby-opengl/Manifest | 1 + |
13 |
dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild | 49 ++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-opengl/Manifest b/dev-ruby/ruby-opengl/Manifest |
17 |
index 385cac73290..e8c0e7e8254 100644 |
18 |
--- a/dev-ruby/ruby-opengl/Manifest |
19 |
+++ b/dev-ruby/ruby-opengl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST opengl-0.10.0.gem 565248 SHA256 e3bc0fa92dafe5ece8858259ccc47f156edab3b6671786a75873ae1d05355a89 SHA512 8d85d7f8a25e429b18245a10c186d07a85fdc8dc4e158b0001cde2b6e4bacfe4b09552a3b3fba5e14439d2fdbe000ad23bba89563f58f612f79958283b588dde WHIRLPOOL 53c3ed2ca848e7a10a2089e40a2875aa800cad69143a3a5356805d08a1787b4f8fa8b1a6fb765c71fe1f4bb236531286aecd22b8545abab1cf4981676941bad5 |
22 |
DIST opengl-0.9.2.gem 444416 SHA256 cf421841af7c8beb9768aaf755124e17a09f726ea7c91af0f8cd92941036f2cb SHA512 0a7fe8d064e90df5b0507d667d30c3158671861c944086660470f23950606bb821e431735067dfbb2f9b97ebf68041b4937d4330907c4aa3daeb21d5b7e61c37 WHIRLPOOL 7d014cbfa7c0b3eaa206ad9a3c29e78f1cb03f170a10aa5a537fc8504176e794144591131b2ff0db029907b2ba9204b6a47c59ce733d6f2a4c7c8667a08743f4 |
23 |
|
24 |
diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..796285c83eb |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
35 |
+ |
36 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
37 |
+ |
38 |
+# Two tests fails but the README already indicates that this may not |
39 |
+# work. Additionally these tests require access to video devices such as |
40 |
+# /dev/nvidiactl. |
41 |
+RUBY_FAKEGEM_TASK_TEST="" |
42 |
+ |
43 |
+RUBY_FAKEGEM_NAME="opengl" |
44 |
+ |
45 |
+RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" |
46 |
+ |
47 |
+inherit multilib ruby-fakegem |
48 |
+ |
49 |
+DESCRIPTION="OpenGL / GLUT bindings for ruby" |
50 |
+HOMEPAGE="https://github.com/larskanis/opengl" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
55 |
+ |
56 |
+IUSE="" |
57 |
+ |
58 |
+DEPEND+=" virtual/opengl |
59 |
+ media-libs/freeglut" |
60 |
+RDEPEND+=" virtual/opengl |
61 |
+ media-libs/freeglut" |
62 |
+ |
63 |
+each_ruby_configure() { |
64 |
+ ${RUBY} -Cext/opengl extconf.rb || die |
65 |
+} |
66 |
+ |
67 |
+each_ruby_compile() { |
68 |
+ emake -C ext/opengl V=1 |
69 |
+ |
70 |
+ cp ext/*/*$(get_modname) lib/opengl/ || die |
71 |
+} |
72 |
+ |
73 |
+all_ruby_install() { |
74 |
+ all_fakegem_install |
75 |
+ |
76 |
+ insinto /usr/share/doc/${PF}/examples |
77 |
+ doins -r examples/* |
78 |
+} |