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-action/btanks: btanks-0.8.7686.ebuild ChangeLog
Date: Fri, 23 Jan 2009 07:26:21
Message-Id: E1LQGQj-0007jk-I5@stork.gentoo.org
1 mr_bones_ 09/01/23 07:26:17
2
3 Modified: btanks-0.8.7686.ebuild ChangeLog
4 Log:
5 EAPI=2; add use-based deps; allow parallel build; re-roll patch to avoid passing CFLAGS to the c++ compiler; fixed some compile warnings; work around namespace collision for bug #237980
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
7
8 Revision Changes Path
9 1.3 games-action/btanks/btanks-0.8.7686.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild?r1=1.2&r2=1.3
14
15 Index: btanks-0.8.7686.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- btanks-0.8.7686.ebuild 10 Nov 2008 07:46:36 -0000 1.2
22 +++ btanks-0.8.7686.ebuild 23 Jan 2009 07:26:17 -0000 1.3
23 @@ -1,7 +1,8 @@
24 -# Copyright 1999-2008 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.2 2008/11/10 07:46:36 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.3 2009/01/23 07:26:17 mr_bones_ Exp $
29
30 +EAPI=2
31 inherit eutils toolchain-funcs games
32
33 DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes"
34 @@ -19,21 +20,18 @@
35 virtual/opengl
36 dev-libs/expat
37 media-libs/smpeg
38 - media-libs/sdl-image"
39 + media-libs/sdl-image[jpeg,png]"
40 DEPEND="${RDEPEND}
41 dev-util/scons
42 dev-util/pkgconfig"
43
44 -src_unpack() {
45 - unpack ${A}
46 - cd "${S}"
47 - epatch "${FILESDIR}"/${P}-scons-blows.patch
48 -}
49 +PATCHES=( "${FILESDIR}"/${P}-scons-blows.patch )
50
51 src_compile() {
52 + local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/")
53 +
54 scons \
55 - CC="$(tc-getCC)" \
56 - CXX="$(tc-getCXX)" \
57 + ${sconsopts} \
58 prefix="${GAMES_PREFIX}" \
59 lib_dir="$(games_get_libdir)"/${PN} \
60 plugins_dir="$(games_get_libdir)"/${PN} \
61
62
63
64 1.16 games-action/btanks/ChangeLog
65
66 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?rev=1.16&view=markup
67 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?rev=1.16&content-type=text/plain
68 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?r1=1.15&r2=1.16
69
70 Index: ChangeLog
71 ===================================================================
72 RCS file: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v
73 retrieving revision 1.15
74 retrieving revision 1.16
75 diff -u -r1.15 -r1.16
76 --- ChangeLog 10 Nov 2008 07:46:36 -0000 1.15
77 +++ ChangeLog 23 Jan 2009 07:26:17 -0000 1.16
78 @@ -1,6 +1,12 @@
79 # ChangeLog for games-action/btanks
80 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
81 -# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.15 2008/11/10 07:46:36 mr_bones_ Exp $
82 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
83 +# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.16 2009/01/23 07:26:17 mr_bones_ Exp $
84 +
85 + 23 Jan 2009; Michael Sterrett <mr_bones_@g.o>
86 + files/btanks-0.8.7686-scons-blows.patch, btanks-0.8.7686.ebuild:
87 + EAPI=2; add use-based deps; allow parallel build; re-roll patch to avoid
88 + passing CFLAGS to the c++ compiler; fixed some compile warnings; work around
89 + namespace collision for bug #237980
90
91 10 Nov 2008; Michael Sterrett <mr_bones_@g.o>
92 btanks-0.8.7686.ebuild: