Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-sports/xmoto: ChangeLog xmoto-0.5.0-r1.ebuild
Date: Sun, 25 Jan 2009 00:25:56
Message-Id: E1LQsoz-00032U-Gn@stork.gentoo.org
1 mr_bones_ 09/01/25 00:25:53
2
3 Modified: ChangeLog xmoto-0.5.0-r1.ebuild
4 Log:
5 more use-based deps; tidy (bug #256205)
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
7
8 Revision Changes Path
9 1.30 games-sports/xmoto/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.30&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.30&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?r1=1.29&r2=1.30
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v
18 retrieving revision 1.29
19 retrieving revision 1.30
20 diff -u -r1.29 -r1.30
21 --- ChangeLog 20 Jan 2009 02:26:58 -0000 1.29
22 +++ ChangeLog 25 Jan 2009 00:25:53 -0000 1.30
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-sports/xmoto
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.29 2009/01/20 02:26:58 mr_bones_ Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.30 2009/01/25 00:25:53 mr_bones_ Exp $
28 +
29 + 25 Jan 2009; Michael Sterrett <mr_bones_@g.o>
30 + xmoto-0.5.0-r1.ebuild:
31 + more use-based deps; tidy (bug #256205)
32
33 20 Jan 2009; Michael Sterrett <mr_bones_@g.o>
34 xmoto-0.5.0-r1.ebuild:
35
36
37
38 1.3 games-sports/xmoto/xmoto-0.5.0-r1.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild?rev=1.3&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild?rev=1.3&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild?r1=1.2&r2=1.3
43
44 Index: xmoto-0.5.0-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild,v
47 retrieving revision 1.2
48 retrieving revision 1.3
49 diff -u -r1.2 -r1.3
50 --- xmoto-0.5.0-r1.ebuild 20 Jan 2009 02:26:58 -0000 1.2
51 +++ xmoto-0.5.0-r1.ebuild 25 Jan 2009 00:25:53 -0000 1.3
52 @@ -1,9 +1,9 @@
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild,v 1.2 2009/01/20 02:26:58 mr_bones_ Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild,v 1.3 2009/01/25 00:25:53 mr_bones_ Exp $
57
58 EAPI=2
59 -inherit eutils games
60 +inherit autotools eutils games
61
62 LVL_PV="0.5.0~rc2" #they unfortunately don't release both at the same time, why ~ as separator :(
63 LVL="inksmoto-${LVL_PV}"
64 @@ -15,7 +15,7 @@
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc ~x86"
68 -IUSE="X editor nls" # sdl"
69 +IUSE="editor nls"
70
71 RDEPEND="
72 dev-db/sqlite:3
73 @@ -23,11 +23,12 @@
74 dev-lang/lua[deprecated]
75 media-libs/jpeg
76 media-libs/libpng
77 - media-libs/libsdl
78 - media-libs/sdl-mixer
79 + media-libs/libsdl[joystick]
80 + media-libs/sdl-mixer[vorbis]
81 media-libs/sdl-ttf
82 media-libs/sdl-net
83 net-misc/curl
84 + app-arch/bzip2
85 virtual/opengl
86 virtual/glu
87 nls? ( virtual/libintl )
88 @@ -38,53 +39,31 @@
89
90 src_prepare() {
91 use editor && rm -f "${WORKDIR}"/extensions/{bezmisc,inkex}.py
92 + sed -i \
93 + -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
94 + po/Makefile.in.in \
95 + || die "sed failed"
96 }
97
98 src_configure() {
99 - #if use sdl ; then
100 - # ewarn "SDL is known to be broken, if you experience any troubles please"
101 - # ewarn "try again without this useflag"
102 - # RENDERER="--with-renderer-sdlGfx=1 --with-renderer-openGl=0"
103 - #else
104 - RENDERER="--with-renderer-sdlGfx=0 --with-renderer-openGl=1"
105 - #fi
106 - if ! use nls ; then
107 - NLS="--disable-nls"
108 - else
109 - NLS="--with-gettext"
110 - fi
111 - # using some nice dejavu font, better than nothing
112 egamesconf \
113 --disable-dependency-tracking \
114 --with-enable-zoom=1 \
115 --enable-threads=posix \
116 --with-gnu-ld \
117 - $(use_with X) \
118 + $(use_enable nls) \
119 + --localedir=/usr/share/locale \
120 --with-localesdir=/usr/share/locale \
121 - ${RENDERER} \
122 - ${NLS}
123 + --with-renderer-sdlGfx=0 \
124 + --with-renderer-openGl=1
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "emake install failed"
129 - ## if it is not working nice way, we'll do it ugly way
130 - if use nls ; then
131 - dodir /usr/share/locale
132 -
133 - cd "${S}"/po
134 - for i in `ls -c1 |grep "\.gmo$"` ; do
135 - BASE=$(echo ${i} |sed 's/\.gmo$//g')
136 - msgfmt -v -o ${BASE}.mo ${BASE}.po
137 -
138 - insinto /usr/share/locale/${BASE}/LC_MESSAGES
139 - newins ${BASE}.gmo xmoto.mo
140 - done;
141 - fi
142 - cd "${S}"
143 dodoc README TODO NEWS ChangeLog
144
145 doicon extra/xmoto.xpm
146 - domenu extra/xmoto.desktop
147 + make_desktop_entry ${PN} Xmoto
148
149 prepgamesdirs