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/vdrift: ChangeLog vdrift-20090615.ebuild
Date: Fri, 31 Jul 2009 02:51:20
Message-Id: E1MWiDF-0003KN-8F@stork.gentoo.org
1 mr_bones_ 09/07/31 02:51:17
2
3 Modified: ChangeLog
4 Added: vdrift-20090615.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.11 games-sports/vdrift/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 1 Jun 2009 13:03:39 -0000 1.10
23 +++ ChangeLog 31 Jul 2009 02:51:16 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-sports/vdrift
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.10 2009/06/01 13:03:39 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.11 2009/07/31 02:51:16 mr_bones_ Exp $
29 +
30 +*vdrift-20090615 (31 Jul 2009)
31 +
32 + 31 Jul 2009; Michael Sterrett <mr_bones_@g.o>
33 + +vdrift-20090615.ebuild:
34 + version bump
35
36 01 Jun 2009; Markus Meier <maekke@g.o> vdrift-20090215.ebuild:
37 amd64/x86 stable, bug #272048
38
39
40
41 1.1 games-sports/vdrift/vdrift-20090615.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vdrift-20090615.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild,v 1.1 2009/07/31 02:51:16 mr_bones_ Exp $
51
52 EAPI=2
53 inherit eutils games
54
55 MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6}
56 DESCRIPTION="A driving simulation made with drift racing in mind"
57 HOMEPAGE="http://vdrift.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
59
60 LICENSE="GPL-2 ZLIB"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="nls"
64
65 RDEPEND="virtual/opengl
66 virtual/glu
67 media-libs/glew
68 media-libs/libsdl[opengl,video]
69 media-libs/openal
70 media-libs/sdl-gfx
71 media-libs/sdl-image[png]
72 media-libs/sdl-net
73 media-libs/libvorbis
74 nls? ( virtual/libintl )"
75 DEPEND="${RDEPEND}
76 dev-cpp/asio
77 dev-util/scons
78 nls? ( sys-devel/gettext )"
79
80 S=${WORKDIR}/${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}
81
82 src_prepare() {
83 sed -i \
84 -e "s/'-O1',\?//" \
85 SConstruct \
86 || die "sed failed"
87 }
88
89 src_compile() {
90 local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[0-9]\+\).*/\1/; p }")
91
92 scons \
93 ${sconsopts} \
94 NLS=$(use nls && echo 1 || echo 0) \
95 destdir="${D}" \
96 bindir="${GAMES_BINDIR}" \
97 datadir="${GAMES_DATADIR}"/${PN} \
98 localedir=/usr/share/locale \
99 prefix= \
100 use_binreloc=0 \
101 release=1 \
102 os_cc=1 \
103 os_cxx=1 \
104 os_cxxflags=1 \
105 || die "scons failed"
106 }
107
108 src_install() {
109 dogamesbin build/vdrift || die "dogamesbin failed"
110 insinto "${GAMES_DATADIR}/${PN}"
111 doins -r data/* || die "doins failed"
112 newicon data/textures/icons/vdrift-64x64.png ${PN}.png
113 make_desktop_entry ${PN} VDrift
114 dodoc docs/*
115 find "${D}" -name "SCon*" -exec rm \{\} +
116 cd "${D}"
117 keepdir $(find "${GAMES_DATADIR/\//}/${PN}" -type d -empty)
118 prepgamesdirs
119 }