1 |
scarabeus 11/05/04 20:21:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xmoto-0.5.7.ebuild |
5 |
Log: |
6 |
Version bump to latest. Fixes bug #354371. |
7 |
|
8 |
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.56 games-sports/xmoto/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.56&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.56&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/ChangeLog?r1=1.55&r2=1.56 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v |
20 |
retrieving revision 1.55 |
21 |
retrieving revision 1.56 |
22 |
diff -u -r1.55 -r1.56 |
23 |
--- ChangeLog 4 Mar 2011 01:35:18 -0000 1.55 |
24 |
+++ ChangeLog 4 May 2011 20:21:01 -0000 1.56 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-sports/xmoto |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.55 2011/03/04 01:35:18 ranger Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.56 2011/05/04 20:21:01 scarabeus Exp $ |
30 |
+ |
31 |
+*xmoto-0.5.7 (04 May 2011) |
32 |
+ |
33 |
+ 04 May 2011; Tomáš Chvátal <scarabeus@g.o> |
34 |
+ +files/0.5.7-libpng.patch, +xmoto-0.5.7.ebuild: |
35 |
+ Version bump to latest. Fixes bug #354371. |
36 |
|
37 |
04 Mar 2011; Brent Baude <ranger@g.o> xmoto-0.5.4.ebuild: |
38 |
stable ppc, bug 352162 |
39 |
|
40 |
|
41 |
|
42 |
1.1 games-sports/xmoto/xmoto-0.5.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/xmoto-0.5.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/xmoto-0.5.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xmoto-0.5.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.7.ebuild,v 1.1 2011/05/04 20:21:01 scarabeus Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit eutils flag-o-matic games |
55 |
|
56 |
LVL_PV="0.7.0" #they unfortunately don't release both at the same time, why ~ as separator :( |
57 |
LVL="inksmoto-${LVL_PV}" |
58 |
DESCRIPTION="A challenging 2D motocross platform game" |
59 |
HOMEPAGE="http://xmoto.tuxfamily.org" |
60 |
SRC_URI="http://download.tuxfamily.org/${PN}/${PN}/${PV}/${P}-src.tar.gz |
61 |
editor? ( http://download.tuxfamily.org/xmoto/svg2lvl/${LVL_PV}/${LVL}.tar.gz )" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="editor nls" |
67 |
|
68 |
RDEPEND=" |
69 |
dev-libs/libxdg-basedir |
70 |
dev-db/sqlite:3 |
71 |
dev-games/ode |
72 |
dev-lang/lua[deprecated] |
73 |
virtual/jpeg |
74 |
media-libs/libpng |
75 |
media-libs/libsdl[joystick] |
76 |
media-libs/sdl-mixer[vorbis] |
77 |
media-libs/sdl-ttf |
78 |
media-libs/sdl-net |
79 |
net-misc/curl |
80 |
app-arch/bzip2 |
81 |
virtual/opengl |
82 |
virtual/glu |
83 |
media-fonts/dejavu |
84 |
nls? ( virtual/libintl )" |
85 |
DEPEND="${RDEPEND} |
86 |
nls? ( sys-devel/gettext )" |
87 |
RDEPEND="${RDEPEND} |
88 |
editor? ( media-gfx/inkscape )" |
89 |
|
90 |
src_prepare() { |
91 |
use editor && rm -vf "${WORKDIR}"/extensions/{bezmisc,inkex}.py |
92 |
sed -i \ |
93 |
-e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \ |
94 |
po/Makefile.in.in || die |
95 |
|
96 |
epatch "${FILESDIR}"/${PV}-libpng.patch |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
# bug #289792 |
101 |
filter-flags -DdDOUBLE |
102 |
has_version 'dev-games/ode[double-precision]' && append-flags -DdDOUBLE |
103 |
|
104 |
egamesconf \ |
105 |
--disable-dependency-tracking \ |
106 |
--enable-threads=posix \ |
107 |
$(use_enable nls) \ |
108 |
--localedir=/usr/share/locale \ |
109 |
--with-localesdir=/usr/share/locale \ |
110 |
--with-renderer-sdlGfx=0 \ |
111 |
--with-renderer-openGl=1 |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
emake DESTDIR="${D}" install || die "emake install failed" |
116 |
dodoc README TODO NEWS ChangeLog || die |
117 |
|
118 |
rm -f "${D}${GAMES_DATADIR}/${PN}"/Textures/Fonts/DejaVuSans.ttf |
119 |
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/${PN}"/Textures/Fonts/ |
120 |
doicon extra/xmoto.xpm |
121 |
make_desktop_entry ${PN} Xmoto |
122 |
|
123 |
prepgamesdirs |
124 |
|
125 |
if use editor; then |
126 |
insinto /usr/share/inkscape/ |
127 |
doins -r "${WORKDIR}"/extensions/ || die "doins failed" |
128 |
fi |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
games_pkg_postinst |
133 |
if use editor; then |
134 |
elog "If you want to know how to create Xmoto levels" |
135 |
elog "have a look at this Tutorial:" |
136 |
elog " http://wiki.xmoto.tuxfamily.org/index.php?title=Inksmoto-${LVL_PV}" |
137 |
elog "You can share your levels on the Xmoto homepage." |
138 |
fi |
139 |
} |