From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-sports/vdrift: ChangeLog vdrift-20080805.ebuild |
Date: | Sun, 24 Aug 2008 21:04:02 |
Message-Id: | E1KXMkh-0002J2-6Y@stork.gentoo.org |
1 | mr_bones_ 08/08/24 21:03:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vdrift-20080805.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.5 games-sports/vdrift/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/ChangeLog?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/ChangeLog?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/ChangeLog?r1=1.4&r2=1.5 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- ChangeLog 22 Aug 2008 22:36:54 -0000 1.4 |
23 | +++ ChangeLog 24 Aug 2008 21:03:58 -0000 1.5 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-sports/vdrift |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.4 2008/08/22 22:36:54 maekke Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.5 2008/08/24 21:03:58 mr_bones_ Exp $ |
29 | + |
30 | +*vdrift-20080805 (24 Aug 2008) |
31 | + |
32 | + 24 Aug 2008; Michael Sterrett <mr_bones_@g.o> |
33 | + +vdrift-20080805.ebuild: |
34 | + version bump |
35 | |
36 | 22 Aug 2008; Markus Meier <maekke@g.o> vdrift-20070323.ebuild: |
37 | amd64 stable, bug #232778 |
38 | |
39 | |
40 | |
41 | 1.1 games-sports/vdrift/vdrift-20080805.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/vdrift-20080805.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/vdrift-20080805.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: vdrift-20080805.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20080805.ebuild,v 1.1 2008/08/24 21:03:58 mr_bones_ Exp $ |
51 | |
52 | inherit eutils toolchain-funcs games |
53 | |
54 | MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6} |
55 | DESCRIPTION="A driving simulation made with drift racing in mind" |
56 | HOMEPAGE="http://vdrift.net/" |
57 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2" |
58 | |
59 | LICENSE="GPL-2 ZLIB" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="nls" |
63 | |
64 | RDEPEND="virtual/opengl |
65 | virtual/glu |
66 | media-libs/glew |
67 | media-libs/freealut |
68 | media-libs/libsdl |
69 | media-libs/openal |
70 | media-libs/sdl-gfx |
71 | media-libs/sdl-image |
72 | media-libs/sdl-net |
73 | media-libs/libvorbis |
74 | nls? ( virtual/libintl )" |
75 | DEPEND="${RDEPEND} |
76 | dev-util/ftjam |
77 | dev-util/scons |
78 | nls? ( sys-devel/gettext )" |
79 | |
80 | S=${WORKDIR}/${PN}-${PV:4:2}-${PV:6:2}-${PV:2:2} |
81 | |
82 | src_unpack() { |
83 | unpack ${MY_P}-src.tar.bz2 |
84 | cd "${S}" |
85 | sed -i \ |
86 | -e '/-O2/ s/\(\[.*\]\)/[]/' \ |
87 | SConstruct \ |
88 | || die "sed failed" |
89 | sed -i \ |
90 | -e '/C++FLAGS/s/$(COMPILER.CFLAGS)//' \ |
91 | bullet-2.66/mk/jam/variant.jam \ |
92 | || die "sed failed" |
93 | } |
94 | |
95 | src_compile() { |
96 | tc-export CC CXX |
97 | |
98 | cd bullet-2.66 |
99 | ./configure |
100 | jam bulletcollision bulletmath |
101 | cd "${S}" |
102 | |
103 | scons \ |
104 | NLS=$(use nls && echo 1 || echo 0) \ |
105 | destdir="${D}" \ |
106 | bindir="${GAMES_BINDIR}" \ |
107 | datadir="${GAMES_DATADIR}"/${PN} \ |
108 | localedir=/usr/share/locale \ |
109 | prefix= \ |
110 | use_binreloc=0 \ |
111 | release=1 \ |
112 | os_cc=1 \ |
113 | os_cxx=1 \ |
114 | os_cxxflags=1 \ |
115 | || die "scons failed" |
116 | } |
117 | |
118 | src_install() { |
119 | dogamesbin build/vdrift || die "dogamesbin failed" |
120 | insinto "${GAMES_DATADIR}/${PN}" |
121 | doins -r data/* || die "doins failed" |
122 | newicon data/textures/icons/vdrift-64x64.png ${PN}.png |
123 | make_desktop_entry ${PN} VDrift |
124 | dodoc docs/* |
125 | find "${D}" -name "SCon*" -exec rm \{\} + |
126 | cd "${D}" |
127 | keepdir $(find "${GAMES_DATADIR/\//}/${PN}" -type d -empty) |
128 | prepgamesdirs |
129 | } |