Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-sports/xmoto: ChangeLog xmoto-0.3.4.ebuild
Date: Sun, 21 Oct 2007 21:41:37
Message-Id: E1IjiNe-0001x0-U9@stork.gentoo.org
1 genstef 07/10/21 21:30:42
2
3 Modified: ChangeLog
4 Added: xmoto-0.3.4.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.20 games-sports/xmoto/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 2 Sep 2007 18:53:51 -0000 1.19
23 +++ ChangeLog 21 Oct 2007 21:30:42 -0000 1.20
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-sports/xmoto
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.19 2007/09/02 18:53:51 genstef Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.20 2007/10/21 21:30:42 genstef Exp $
29 +
30 +*xmoto-0.3.4 (21 Oct 2007)
31 +
32 + 21 Oct 2007; Stefan Schweizer <genstef@g.o> +xmoto-0.3.4.ebuild:
33 + version bump
34
35 *xmoto-0.3.3 (02 Sep 2007)
36
37
38
39
40 1.1 games-sports/xmoto/xmoto-0.3.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.3.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.3.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: xmoto-0.3.4.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.3.4.ebuild,v 1.1 2007/10/21 21:30:42 genstef Exp $
50
51 inherit eutils games
52
53 LVL="svg2lvl-0.4.0"
54 DESCRIPTION="A challenging 2D motocross platform game"
55 HOMEPAGE="http://xmoto.tuxfamily.org"
56 SRC_URI="http://download.tuxfamily.org/${PN}/${PN}/${PV}/${P}-src.tar.gz
57 editor? ( http://download.tuxfamily.org/xmoto/svg2lvl/${LVL/*-}/${LVL}.tar.gz )"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="nls editor"
63
64 RDEPEND="media-libs/jpeg
65 media-libs/libpng
66 media-libs/libsdl
67 media-libs/sdl-mixer
68 media-libs/sdl-ttf
69 net-misc/curl
70 dev-lang/lua
71 dev-games/ode
72 virtual/opengl
73 virtual/glu
74 nls? ( virtual/libintl )
75 editor? ( >=media-gfx/inkscape-0.45 )"
76 DEPEND="${RDEPEND}
77 >=dev-db/sqlite-3
78 nls? ( sys-devel/gettext )"
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83 sed -i 's:$(localedir):/usr/share/locale:' po/Makefile.in.in \
84 || die "sed Makefile.in.in failed"
85 use editor && rm -f "${WORKDIR}"/${LVL}/{bezmisc,inkex}.py
86 }
87
88 src_compile() {
89 egamesconf \
90 --disable-dependency-tracking \
91 --with-enable-zoom=1 \
92 --with-localesdir=/usr/share/locale \
93 $(use_enable nls) \
94 || die
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake DESTDIR="${D}" install || die "emake install failed"
100
101 dodoc README TODO ChangeLog
102
103 doicon extra/xmoto.xpm
104 domenu extra/xmoto.desktop
105
106 prepgamesdirs
107
108 if use editor; then
109 insinto /usr/share/inkscape/extensions
110 doins "${WORKDIR}"/${LVL}/*.{inx,py,xml} || die "doins failed"
111 fi
112 }
113
114 pkg_postinst() {
115 games_pkg_postinst
116 if use editor; then
117 elog "If you want to know how to create Xmoto levels"
118 elog "have a look at this Tutorial:"
119 elog "http://wiki.xmoto.free.fr/index.php?title=Inkscape-0.3.0#Tutorial"
120 elog "You can share your levels on the Xmoto homepage."
121 fi
122 }
123
124
125
126 --
127 gentoo-commits@g.o mailing list