From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-strategy/widelands: ChangeLog widelands-0.16.ebuild |
Date: | Tue, 12 Jul 2011 19:34:32 |
Message-Id: | 20110712193422.0FD932004B@flycatcher.gentoo.org |
1 | tupone 11/07/12 19:34:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: widelands-0.16.ebuild |
5 | Log: |
6 | Version bump to 0.16 Bug #361983 |
7 | |
8 | (Portage version: 2.1.10.4/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.34 games-strategy/widelands/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/ChangeLog?rev=1.34&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/ChangeLog?rev=1.34&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/ChangeLog?r1=1.33&r2=1.34 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v |
20 | retrieving revision 1.33 |
21 | retrieving revision 1.34 |
22 | diff -u -r1.33 -r1.34 |
23 | --- ChangeLog 26 Apr 2011 12:12:49 -0000 1.33 |
24 | +++ ChangeLog 12 Jul 2011 19:34:21 -0000 1.34 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for games-strategy/widelands |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.33 2011/04/26 12:12:49 tupone Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.34 2011/07/12 19:34:21 tupone Exp $ |
30 | + |
31 | +*widelands-0.16 (12 Jul 2011) |
32 | + |
33 | + 12 Jul 2011; Tupone Alfredo <tupone@g.o> +widelands-0.16.ebuild, |
34 | + +files/widelands-0.16-goldmine.patch: |
35 | + Version bump to 0.16 Bug #361983 by Marshall Banana |
36 | |
37 | 26 Apr 2011; Tupone Alfredo <tupone@g.o> widelands-0.15.ebuild, |
38 | +files/widelands-0.15-gcc46.patch: |
39 | |
40 | |
41 | |
42 | 1.1 games-strategy/widelands/widelands-0.16.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/widelands-0.16.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/widelands-0.16.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: widelands-0.16.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.16.ebuild,v 1.1 2011/07/12 19:34:21 tupone Exp $ |
52 | |
53 | EAPI=3 |
54 | |
55 | inherit versionator games cmake-utils |
56 | |
57 | MY_PV=build$(get_version_component_range 2) |
58 | MY_P=${PN}-${MY_PV}-src |
59 | DESCRIPTION="A game similar to Settlers 2" |
60 | HOMEPAGE="http://www.widelands.org/" |
61 | SRC_URI="http://launchpad.net/widelands/${MY_PV}/${MY_PV}/+download/${MY_P}.tar.bz2" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc ~x86" |
66 | IUSE="" |
67 | |
68 | RDEPEND="dev-games/ggz-client-libs |
69 | dev-lang/lua |
70 | media-libs/sdl-image[jpeg,png] |
71 | media-libs/sdl-mixer[vorbis] |
72 | media-libs/sdl-gfx |
73 | media-libs/sdl-net |
74 | media-libs/glew |
75 | media-libs/sdl-ttf" |
76 | DEPEND="${RDEPEND} |
77 | dev-libs/boost" |
78 | |
79 | S="${WORKDIR}"/${MY_P} |
80 | |
81 | CMAKE_BUILD_TYPE=Release |
82 | PREFIX="${GAMES_DATADIR}/${PN}" |
83 | |
84 | src_prepare() { |
85 | sed -i \ |
86 | -e 's:__ppc__:__PPC__:' src/s2map.cc \ |
87 | || die "sed s2map.cc failed" |
88 | epatch "${FILESDIR}"/${P}-goldmine.patch |
89 | } |
90 | |
91 | src_configure() { |
92 | mycmakeargs+=( |
93 | '-DWL_VERSION_STANDARD=true' |
94 | "-DWL_INSTALL_PREFIX=${GAMES_PREFIX}" |
95 | "-DWL_INSTALL_DATADIR=${GAMES_DATADIR}/${PN}" |
96 | "-DWL_INSTALL_LOCALEDIR=${GAMES_DATADIR}/${PN}/locale" |
97 | "-DWL_INSTALL_BINDIR=${GAMES_BINDIR}" |
98 | ) |
99 | cmake-utils_src_configure |
100 | } |
101 | |
102 | src_install() { |
103 | cmake-utils_src_install |
104 | newicon pics/wl-ico-128.png ${PN}.png || die |
105 | make_desktop_entry ${PN} Widelands |
106 | dodoc ChangeLog CREDITS |
107 | prepgamesdirs |
108 | } |