Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/widelands: widelands-0.0.14.ebuild ChangeLog
Date: Wed, 28 Oct 2009 07:59:58
Message-Id: E1N33Rk-00052c-CC@stork.gentoo.org
1 tupone 09/10/28 07:59:56
2
3 Modified: ChangeLog
4 Added: widelands-0.0.14.ebuild
5 Log:
6 Version bump to 0.0.14 Bug #287221
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.19 games-strategy/widelands/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/widelands/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/widelands/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/widelands/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 24 Jul 2009 00:35:26 -0000 1.18
23 +++ ChangeLog 28 Oct 2009 07:59:55 -0000 1.19
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-strategy/widelands
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.18 2009/07/24 00:35:26 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.19 2009/10/28 07:59:55 tupone Exp $
29 +
30 +*widelands-0.0.14 (27 Oct 2009)
31 +
32 + 27 Oct 2009; Tupone Alfredo <tupone@g.o>
33 + +files/widelands-0.0.14-build.patch, +widelands-0.0.14.ebuild:
34 + Version bump to 0.0.14 Bug #287221 by tman
35
36 24 Jul 2009; Tristan Heaven <nyhm@g.o>
37 files/widelands-0.0.13-build.patch:
38
39
40
41 1.1 games-strategy/widelands/widelands-0.0.14.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/widelands/widelands-0.0.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/widelands/widelands-0.0.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: widelands-0.0.14.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-strategy/widelands/widelands-0.0.14.ebuild,v 1.1 2009/10/28 07:59:55 tupone Exp $
51 EAPI=2
52
53 inherit toolchain-funcs eutils versionator games
54
55 MY_PV=$(get_version_component_range 3)
56 DESCRIPTION="A game similar to Settlers 2"
57 HOMEPAGE="http://www.widelands.org/"
58 SRC_URI="mirror://sourceforge/${PN}/${PN}/build-${MY_PV}/Widelands-Build${MY_PV}-src.7z"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE=""
64
65 RDEPEND="media-libs/libsdl
66 media-libs/sdl-image
67 media-libs/sdl-mixer
68 media-libs/sdl-net
69 media-libs/sdl-ttf
70 media-libs/sdl-gfx
71 media-libs/libpng
72 dev-libs/boost
73 dev-games/ggz-client-libs"
74
75 DEPEND="${RDEPEND}
76 app-arch/p7zip"
77
78 S=${WORKDIR}/${PN}
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${P}-build.patch
82
83 sed -i 's:__ppc__:__PPC__:' src/s2map.cc \
84 || die "sed s2map.cc failed"
85 }
86
87 src_compile() {
88 scons \
89 cxx="$(tc-getCXX)" \
90 bindir="${GAMES_BINDIR}" \
91 datadir="${GAMES_DATADIR}/${PN}" \
92 localedir="${GAMES_DATADIR}/${PN}/locale" \
93 extra_compile_flags="${CXXFLAGS}" \
94 pretty_compile_output=no \
95 || die "scons failed"
96 }
97
98 src_install() {
99 dogamesbin ${PN} || die "dogamesbin failed"
100
101 insinto "${GAMES_DATADIR}"/${PN}
102 doins -r campaigns fonts global maps music pics sound tribes txts worlds \
103 locale VERSION \
104 || die "doins failed"
105
106 newicon pics/wl-ico-128.png ${PN}.png
107 make_desktop_entry ${PN} Widelands
108
109 dodoc ChangeLog CREDITS
110 prepgamesdirs
111 }