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-rpg/tmw: ChangeLog tmw-0.5.2.ebuild
Date: Tue, 02 Aug 2011 11:56:44
Message-Id: 20110802115626.02B852004C@flycatcher.gentoo.org
1 tupone 11/08/02 11:56:25
2
3 Modified: ChangeLog
4 Added: tmw-0.5.2.ebuild
5 Log:
6 Version bump to 0.5.2 Bug #363795
7
8 (Portage version: 2.1.10.9/cvs/Linux i686)
9
10 Revision Changes Path
11 1.39 games-rpg/tmw/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/tmw/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/tmw/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/tmw/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 24 May 2010 15:45:55 -0000 1.38
24 +++ ChangeLog 2 Aug 2011 11:56:25 -0000 1.39
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-rpg/tmw
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.38 2010/05/24 15:45:55 tupone Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.39 2011/08/02 11:56:25 tupone Exp $
31 +
32 +*tmw-0.5.2 (02 Aug 2011)
33 +
34 + 02 Aug 2011; Tupone Alfredo <tupone@g.o> +tmw-0.5.2.ebuild,
35 + +files/tmw-0.5.2-gentoo.patch:
36 + Version bump to 0.5.2 Bug #363795 by Ben Longbons
37
38 24 May 2010; Tupone Alfredo <tupone@g.o> tmw-0.0.29.1.ebuild,
39 +files/tmw-0.0.29.1-gcc45.patch:
40
41
42
43 1.1 games-rpg/tmw/tmw-0.5.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/tmw/tmw-0.5.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/tmw/tmw-0.5.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tmw-0.5.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.5.2.ebuild,v 1.1 2011/08/02 11:56:25 tupone Exp $
53
54 EAPI=2
55 inherit eutils games cmake-utils
56
57 MUSIC=tmwmusic-0.3
58
59 DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
60 HOMEPAGE="http://themanaworld.org/"
61 SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.bz2
62 mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="nls opengl"
68
69 RDEPEND=">=dev-games/physfs-1.0.0
70 dev-libs/libxml2
71 media-libs/sdl-mixer[vorbis]
72 media-libs/sdl-image[png]
73 media-libs/sdl-net
74 media-libs/sdl-ttf
75 net-misc/curl
76 sys-libs/zlib
77 media-libs/libpng
78 media-fonts/dejavu
79 >=dev-games/guichan-0.8.1[sdl]
80 media-libs/libsdl
81 media-libs/sdl-gfx
82 x11-libs/libX11
83 nls? ( virtual/libintl )
84 opengl? ( virtual/opengl )"
85 DEPEND="${RDEPEND}
86 dev-util/pkgconfig
87 nls? ( sys-devel/gettext )"
88
89 DOCS=( AUTHORS ChangeLog NEWS README )
90 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
91
92 src_unpack() {
93 mkdir ${P}
94 cd ${P}
95 unpack ${A}
96 }
97
98 src_prepare() {
99 base_src_prepare
100 sed -i \
101 -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
102 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
103 CMakeLists.txt \
104 || die "sed failed"
105 }
106
107 src_configure() {
108 mycmakeargs=(
109 $(cmake-utils_use_with opengl)
110 $(cmake-utils_use_enable nls)
111 )
112 cmake-utils_src_configure
113 }
114
115 src_install() {
116 cmake-utils_src_install
117 dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
118 dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
119 insinto "${GAMES_DATADIR}"/${PN}/data
120 doins -r ${MUSIC}/data/music || die
121 prepgamesdirs
122 }