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-rpg/tmw: ChangeLog tmw-0.0.26.ebuild
Date: Wed, 15 Oct 2008 18:22:09
Message-Id: E1KqB0X-0007f0-1L@stork.gentoo.org
1 mr_bones_ 08/10/15 18:22:05
2
3 Modified: ChangeLog
4 Added: tmw-0.0.26.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.29 games-rpg/tmw/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 21 Aug 2008 20:53:02 -0000 1.28
23 +++ ChangeLog 15 Oct 2008 18:22:04 -0000 1.29
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-rpg/tmw
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.28 2008/08/21 20:53:02 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.29 2008/10/15 18:22:04 mr_bones_ Exp $
29 +
30 +*tmw-0.0.26 (15 Oct 2008)
31 +
32 + 15 Oct 2008; Michael Sterrett <mr_bones_@g.o>
33 + +files/tmw-0.0.26-desktop.patch, +tmw-0.0.26.ebuild:
34 + version bump
35
36 *tmw-0.0.25 (21 Aug 2008)
37
38
39
40
41 1.1 games-rpg/tmw/tmw-0.0.26.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/tmw-0.0.26.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/tmw-0.0.26.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tmw-0.0.26.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-rpg/tmw/tmw-0.0.26.ebuild,v 1.1 2008/10/15 18:22:04 mr_bones_ Exp $
51
52 inherit eutils games
53
54 MUSIC=tmwmusic-0.0.20
55 DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
56 HOMEPAGE="http://themanaworld.org/"
57 SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
58 mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="opengl"
64
65 DEPEND=">=dev-games/physfs-1.0.0
66 opengl? ( virtual/opengl )
67 dev-libs/libxml2
68 media-libs/sdl-mixer
69 media-libs/sdl-image
70 media-libs/sdl-net
71 net-misc/curl
72 >=dev-games/guichan-0.8.1"
73
74 pkg_setup() {
75 games_pkg_setup
76 if ! built_with_use dev-games/guichan sdl ; then
77 eerror "dev-games/guichan needs to be built with USE=sdl"
78 die "please re-emerge dev-games/guichan with USE=sdl"
79 fi
80 if ! built_with_use media-libs/sdl-mixer vorbis ; then
81 eerror "media-libs/sdl-mixer needs to be built with USE=vorbis"
82 die "please re-emerge media-libs/sdl-mixer with USE=vorbis"
83 fi
84 }
85
86 src_unpack() {
87 unpack ${A}
88 cd "${S}"
89 epatch "${FILESDIR}"/${P}-desktop.patch
90 }
91
92 src_compile() {
93 egamesconf \
94 --disable-dependency-tracking \
95 $(use_with opengl) || die
96 emake || die
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "make install failed"
101 dodoc AUTHORS ChangeLog NEWS README
102 cd "${WORKDIR}"
103 insinto "${GAMES_DATADIR}"/${PN}/data/music
104 doins ${MUSIC}/data/music/*.ogg || die
105 newdoc ${MUSIC}/README README.music
106 prepgamesdirs
107 }