From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-action/btanks: ChangeLog btanks-0.8.7686.ebuild |
Date: | Fri, 12 Sep 2008 14:39:03 |
Message-Id: | E1Ke9nX-0000dt-61@stork.gentoo.org |
1 | nyhm 08/09/12 14:38:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: btanks-0.8.7686.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.26.5 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.14 games-action/btanks/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?rev=1.14&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?rev=1.14&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?r1=1.13&r2=1.14 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v |
19 | retrieving revision 1.13 |
20 | retrieving revision 1.14 |
21 | diff -u -r1.13 -r1.14 |
22 | --- ChangeLog 4 Aug 2008 20:47:09 -0000 1.13 |
23 | +++ ChangeLog 12 Sep 2008 14:38:58 -0000 1.14 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-action/btanks |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.13 2008/08/04 20:47:09 mr_bones_ Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.14 2008/09/12 14:38:58 nyhm Exp $ |
29 | + |
30 | +*btanks-0.8.7686 (12 Sep 2008) |
31 | + |
32 | + 12 Sep 2008; Tristan Heaven <nyhm@g.o> |
33 | + +files/btanks-0.8.7686-scons-blows.patch, +btanks-0.8.7686.ebuild: |
34 | + Version bump |
35 | |
36 | *btanks-0.8.7479 (04 Aug 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 games-action/btanks/btanks-0.8.7686.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: btanks-0.8.7686.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-action/btanks/btanks-0.8.7686.ebuild,v 1.1 2008/09/12 14:38:58 nyhm Exp $ |
51 | |
52 | inherit eutils toolchain-funcs games |
53 | |
54 | DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes" |
55 | HOMEPAGE="http://btanks.sourceforge.net/" |
56 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~x86" |
61 | IUSE="" |
62 | |
63 | RDEPEND=">=dev-lang/lua-5.1 |
64 | media-libs/openal |
65 | media-libs/libsdl |
66 | media-libs/libvorbis |
67 | virtual/opengl |
68 | dev-libs/expat |
69 | media-libs/smpeg |
70 | media-libs/sdl-image" |
71 | DEPEND="${RDEPEND} |
72 | dev-util/scons |
73 | dev-util/pkgconfig" |
74 | |
75 | src_unpack() { |
76 | unpack ${A} |
77 | cd "${S}" |
78 | epatch "${FILESDIR}"/${P}-scons-blows.patch |
79 | } |
80 | |
81 | src_compile() { |
82 | scons \ |
83 | CC="$(tc-getCC)" \ |
84 | CXX="$(tc-getCXX)" \ |
85 | prefix="${GAMES_PREFIX}" \ |
86 | lib_dir="$(games_get_libdir)"/${PN} \ |
87 | plugins_dir="$(games_get_libdir)"/${PN} \ |
88 | resources_dir="${GAMES_DATADIR}"/${PN} \ |
89 | || die "scons failed" |
90 | } |
91 | |
92 | src_install() { |
93 | dogamesbin build/release/engine/btanks || die "dogamesbin failed" |
94 | newgamesbin build/release/editor/bted btanksed || die "newgamesbin failed" |
95 | exeinto "$(games_get_libdir)"/${PN} |
96 | doexe build/release/*/*.so || die "doexe failed" |
97 | insinto "${GAMES_DATADIR}"/${PN} |
98 | doins -r data || die "doins failed" |
99 | newicon engine/src/bt.xpm ${PN}.xpm |
100 | make_desktop_entry ${PN} "Battle Tanks" |
101 | dodoc ChangeLog *.txt |
102 | prepgamesdirs |
103 | } |