1 |
graaff 14/06/04 05:19:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ruby-sdl-2.1.2-r1.ebuild |
5 |
Log: |
6 |
Revision bump to switch to new SRC_URI. Add ruby20, ruby21. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.40 dev-ruby/ruby-sdl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog?rev=1.40&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog?rev=1.40&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog?r1=1.39&r2=1.40 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v |
20 |
retrieving revision 1.39 |
21 |
retrieving revision 1.40 |
22 |
diff -u -r1.39 -r1.40 |
23 |
--- ChangeLog 24 Apr 2014 17:42:59 -0000 1.39 |
24 |
+++ ChangeLog 4 Jun 2014 05:19:42 -0000 1.40 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/ruby-sdl |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.39 2014/04/24 17:42:59 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.40 2014/06/04 05:19:42 graaff Exp $ |
30 |
+ |
31 |
+*ruby-sdl-2.1.2-r1 (04 Jun 2014) |
32 |
+ |
33 |
+ 04 Jun 2014; Hans de Graaff <graaff@g.o> +ruby-sdl-2.1.2-r1.ebuild: |
34 |
+ Revision bump to switch to new SRC_URI. Add ruby20, ruby21. |
35 |
|
36 |
24 Apr 2014; Manuel RĂ¼ger <mrueg@g.o> ruby-sdl-2.1.2.ebuild: |
37 |
Remove ruby18 support. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ruby-sdl-2.1.2-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r1.ebuild,v 1.1 2014/06/04 05:19:42 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
USE_RUBY="ruby19 ruby20 ruby21" |
54 |
|
55 |
inherit eutils ruby-ng |
56 |
|
57 |
RELEASE="rel-${PV//./-}" |
58 |
RUBY_S="rubysdl-${RELEASE}" |
59 |
|
60 |
DESCRIPTION="Ruby/SDL: Ruby bindings for SDL" |
61 |
HOMEPAGE="http://www.kmc.gr.jp/~ohai/rubysdl.en.html" |
62 |
SRC_URI="https://github.com/ohai/rubysdl/archive/${RELEASE}.tar.gz -> ${P}.tar.gz" |
63 |
LICENSE="LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
|
67 |
IUSE="image mixer truetype mpeg sge" |
68 |
|
69 |
CDEPEND=" |
70 |
>=media-libs/libsdl-1.2.5 |
71 |
truetype? ( >=media-libs/sdl-ttf-2.0.6 ) |
72 |
image? ( >=media-libs/sdl-image-1.2.2 ) |
73 |
mixer? ( >=media-libs/sdl-mixer-1.2.4 ) |
74 |
mpeg? ( >=media-libs/smpeg-0.4.4-r1 ) |
75 |
sge? ( media-libs/sge )" |
76 |
DEPEND="${DEPEND} ${CDEPEND}" |
77 |
RDEPEND="${RDEPEND} ${CDEPEND}" |
78 |
|
79 |
each_ruby_configure() { |
80 |
${RUBY} extconf.rb || die "extconf.rb failed" |
81 |
} |
82 |
|
83 |
each_ruby_compile() { |
84 |
emake V=1 || die "emake failed" |
85 |
} |
86 |
|
87 |
each_ruby_install() { |
88 |
emake V=1 DESTDIR="${D}" install || die "einstall failed" |
89 |
} |
90 |
|
91 |
all_ruby_install() { |
92 |
dodoc README.en README.ja NEWS.en NEWS.ja |
93 |
insinto /usr/share/doc/${P}/doc |
94 |
doins doc-en/* |
95 |
insinto /usr/share/doc/${P}/sample |
96 |
doins sample/* |
97 |
} |
98 |
|
99 |
pkg_postinst () { |
100 |
if ! use image || ! use mixer || ! use truetype || ! use mpeg || ! use sge; then |
101 |
echo "" |
102 |
ewarn "If any of the following packages are not installed, Ruby/SDL" |
103 |
ewarn "will be missing some functionality. This is ok, but may" |
104 |
ewarn "cause errors in Ruby/SDL programs that need these libraries:" |
105 |
ewarn "" |
106 |
ewarn "\tmedia-libs/sdl-image\tImage loading (PNG, JPEG, etc.)" |
107 |
ewarn "\tmedia-libs/sdl-mixer\tSound mixing" |
108 |
ewarn "\tmedia-libs/sdl-ttf\tTrueType Fonts" |
109 |
ewarn "\tmedia-libs/sge\t\tVarious cool graphics extensions" |
110 |
ewarn "\tmedia-libs/smpeg\tMPEG playback (including mp3)" |
111 |
ewarn "" |
112 |
ewarn "If you need the functionality offered by these libraries," |
113 |
ewarn "emerge the desired libraries, then re-emerge dev-ruby/rubysdl" |
114 |
echo "" |
115 |
fi |
116 |
} |