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: ChangeLog btanks-0.8.7479.ebuild
Date: Mon, 04 Aug 2008 20:47:12
Message-Id: E1KQ6xR-0007QN-JR@stork.gentoo.org
1 mr_bones_ 08/08/04 20:47:09
2
3 Modified: ChangeLog
4 Added: btanks-0.8.7479.ebuild
5 Log:
6 version bump - ebuild submitted by Aleksandr Yakimov via bug #233461
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.13 games-action/btanks/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 20 Apr 2008 09:19:43 -0000 1.12
23 +++ ChangeLog 4 Aug 2008 20:47:09 -0000 1.13
24 @@ -1,6 +1,13 @@
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.12 2008/04/20 09:19:43 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.13 2008/08/04 20:47:09 mr_bones_ Exp $
29 +
30 +*btanks-0.8.7479 (04 Aug 2008)
31 +
32 + 04 Aug 2008; Michael Sterrett <mr_bones_@g.o>
33 + +files/btanks-0.8.7479-build.patch,
34 + +files/btanks-0.8.7479-scons-blows.patch, +btanks-0.8.7479.ebuild:
35 + version bump - ebuild submitted by Aleksandr Yakimov via bug #233461
36
37 20 Apr 2008; Mike Frysinger <vapier@g.o>
38 +files/btanks-0.7.5800-gcc43.patch, btanks-0.7.5800.ebuild:
39
40
41
42 1.1 games-action/btanks/btanks-0.8.7479.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7479.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/btanks-0.8.7479.ebuild?rev=1.1&content-type=text/plain
46
47 Index: btanks-0.8.7479.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7479.ebuild,v 1.1 2008/08/04 20:47:09 mr_bones_ Exp $
52
53 inherit eutils games
54
55 DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes"
56 HOMEPAGE="http://btanks.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE=""
63
64 RDEPEND=">=dev-lang/lua-5.1
65 media-libs/openal
66 media-libs/libsdl
67 media-libs/libvorbis
68 virtual/opengl
69 dev-libs/expat
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 \
79 "${FILESDIR}"/${P}-scons-blows.patch \
80 "${FILESDIR}"/${P}-build.patch
81 }
82
83 src_compile() {
84 scons \
85 mode='release' \
86 prefix=/usr \
87 lib_dir="$(games_get_libdir)/${PN}" \
88 resources_dir="${GAMES_DATADIR}/${PN}" \
89 || die 'scons'
90 }
91
92 src_install() {
93 newgamesbin btanks btanks || die 'newgamesbin'
94 newgamesbin bted btanksed || die 'newgamesbin'
95
96 insinto "$(games_get_libdir)"/${PN}
97 doins lib{mrt,bt,sdlx,clunk}.so || die 'doins for lib.so failed'
98
99 exeinto "${GAMES_DATADIR}/${PN}"
100 doexe libbt_objects.so || die 'doins for libbt_objects.so failed'
101 insinto "${GAMES_DATADIR}/${PN}"
102 doins -r data || die 'doins for data failed'
103 dodoc ChangeLog *.txt
104
105 newicon engine/src/bt.xpm ${PN}.xpm || die 'newicon'
106 make_desktop_entry ${PN} 'Battle Tanks' ${PN}
107
108 prepgamesdirs
109 }