Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-opengl: ChangeLog ruby-opengl-0.8.0.ebuild
Date: Tue, 29 Oct 2013 16:21:16
Message-Id: 20131029162112.C8DE420047@flycatcher.gentoo.org
1 graaff 13/10/29 16:21:12
2
3 Modified: ChangeLog
4 Added: ruby-opengl-0.8.0.ebuild
5 Log:
6 Version bump. Dropped ruby18 since it is no longer supported upstream. Add ruby20.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.59 dev-ruby/ruby-opengl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog?rev=1.59&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog?rev=1.59&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog?r1=1.58&r2=1.59
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v
20 retrieving revision 1.58
21 retrieving revision 1.59
22 diff -u -r1.58 -r1.59
23 --- ChangeLog 16 Apr 2013 05:35:25 -0000 1.58
24 +++ ChangeLog 29 Oct 2013 16:21:12 -0000 1.59
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/ruby-opengl
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.58 2013/04/16 05:35:25 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ChangeLog,v 1.59 2013/10/29 16:21:12 graaff Exp $
30 +
31 +*ruby-opengl-0.8.0 (29 Oct 2013)
32 +
33 + 29 Oct 2013; Hans de Graaff <graaff@g.o> +ruby-opengl-0.8.0.ebuild:
34 + Version bump. Dropped ruby18 since it is no longer supported upstream. Add
35 + ruby20.
36
37 16 Apr 2013; Hans de Graaff <graaff@g.o>
38 -ruby-opengl-0.60.1-r1.ebuild:
39
40
41
42 1.1 dev-ruby/ruby-opengl/ruby-opengl-0.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-opengl/ruby-opengl-0.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-opengl/ruby-opengl-0.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ruby-opengl-0.8.0.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-opengl/ruby-opengl-0.8.0.ebuild,v 1.1 2013/10/29 16:21:12 graaff Exp $
52
53 EAPI=5
54 USE_RUBY="ruby19 ruby20"
55
56 RUBY_FAKEGEM_TASK_DOC=""
57
58 # Two tests fails but the README already indicates that this may not
59 # work. Additionally these tests require access to video devices such as
60 # /dev/nvidiactl.
61 RUBY_FAKEGEM_TASK_TEST=""
62
63 RUBY_FAKEGEM_NAME="opengl"
64
65 RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
66
67 inherit multilib ruby-fakegem
68
69 DESCRIPTION="OpenGL / GLUT bindings for ruby"
70 HOMEPAGE="http://ruby-opengl.rubyforge.org/"
71
72 LICENSE="MIT"
73 SLOT="0"
74 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
75
76 IUSE=""
77
78 DEPEND="${DEPEND}
79 virtual/opengl
80 media-libs/freeglut"
81 RDEPEND="${RDEPEND}
82 virtual/opengl
83 media-libs/freeglut"
84
85 each_ruby_configure() {
86 ${RUBY} -Cext/opengl extconf.rb || die
87 }
88
89 each_ruby_compile() {
90 emake -C ext/opengl V=1
91
92 cp ext/*/*$(get_modname) lib/ || die
93 }
94
95 all_ruby_install() {
96 all_fakegem_install
97
98 dodoc -r docs
99
100 insinto /usr/share/doc/${PF}/examples
101 doins -r examples/* || die "Failed installing example files."
102 }