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-strategy/boswars: ChangeLog boswars-2.5.ebuild
Date: Tue, 05 Jan 2010 08:39:33
Message-Id: E1NS4wo-0003wS-85@stork.gentoo.org
1 mr_bones_ 10/01/05 08:39:26
2
3 Modified: ChangeLog boswars-2.5.ebuild
4 Log:
5 EAPI=2; respect CXX
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.10 games-strategy/boswars/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 21 Jun 2009 00:59:07 -0000 1.9
22 +++ ChangeLog 5 Jan 2010 08:39:25 -0000 1.10
23 @@ -1,6 +1,9 @@
24 # ChangeLog for games-strategy/boswars
25 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.9 2009/06/21 00:59:07 nyhm Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.10 2010/01/05 08:39:25 mr_bones_ Exp $
29 +
30 + 05 Jan 2010; Michael Sterrett <mr_bones_@g.o> boswars-2.5.ebuild:
31 + EAPI=2; respect CXX
32
33 21 Jun 2009; Tristan Heaven <nyhm@g.o> boswars-2.5.ebuild,
34 +files/boswars-2.5-gcc44.patch:
35
36
37
38 1.4 games-strategy/boswars/boswars-2.5.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild?rev=1.4&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild?rev=1.4&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild?r1=1.3&r2=1.4
43
44 Index: boswars-2.5.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild,v
47 retrieving revision 1.3
48 retrieving revision 1.4
49 diff -u -r1.3 -r1.4
50 --- boswars-2.5.ebuild 21 Jun 2009 00:59:07 -0000 1.3
51 +++ boswars-2.5.ebuild 5 Jan 2010 08:39:25 -0000 1.4
52 @@ -1,8 +1,9 @@
53 -# Copyright 1999-2009 Gentoo Foundation
54 +# Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild,v 1.3 2009/06/21 00:59:07 nyhm Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild,v 1.4 2010/01/05 08:39:25 mr_bones_ Exp $
58
59 -inherit eutils games
60 +EAPI=2
61 +inherit toolchain-funcs eutils games
62
63 DESCRIPTION="Futuristic real-time strategy game"
64 HOMEPAGE="http://www.boswars.org/"
65 @@ -15,7 +16,7 @@
66 IUSE=""
67
68 RDEPEND="dev-lang/lua
69 - media-libs/libsdl
70 + media-libs/libsdl[audio,video]
71 media-libs/libpng
72 media-libs/libvorbis
73 media-libs/libtheora
74 @@ -27,9 +28,7 @@
75
76 S=${WORKDIR}/${P}-src
77
78 -src_unpack() {
79 - unpack ${A/bos.png}
80 - cd "${S}"
81 +src_prepare() {
82 rm -f doc/{README-SDL.txt,guichan-copyright.txt}
83 epatch \
84 "${FILESDIR}"/${P}-gentoo.patch \
85 @@ -46,7 +45,9 @@
86 }
87
88 src_compile() {
89 - scons || die "scons failed"
90 + local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[:space:]*[0-9]\+\).*/\1/; p }")
91 +
92 + scons CXX=$(tc-getCXX) ${sconsopts} || die "scons failed"
93 }
94
95 src_install() {