diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2011-12-03 18:38:16 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2011-12-03 18:38:16 +0000 |
commit | e658d3c13e5ea3f6eed1278a82e9f61971ff481a (patch) | |
tree | 5403b858ea76964d83e69b8e9a9e5fb5b8c50ff4 /games-rpg | |
parent | version bump and cleanup (diff) | |
download | gentoo-2-e658d3c13e5ea3f6eed1278a82e9f61971ff481a.tar.gz gentoo-2-e658d3c13e5ea3f6eed1278a82e9f61971ff481a.tar.bz2 gentoo-2-e658d3c13e5ea3f6eed1278a82e9f61971ff481a.zip |
Version bump. Bug #363795
(Portage version: 2.1.10.39/cvs/Linux i686)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/tmw/ChangeLog | 8 | ||||
-rw-r--r-- | games-rpg/tmw/files/tmw-branding-gentoo.patch | 21 | ||||
-rw-r--r-- | games-rpg/tmw/tmw-20110911.ebuild | 45 |
3 files changed, 73 insertions, 1 deletions
diff --git a/games-rpg/tmw/ChangeLog b/games-rpg/tmw/ChangeLog index df97c7fb1e9b..b5b5070e6b06 100644 --- a/games-rpg/tmw/ChangeLog +++ b/games-rpg/tmw/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-rpg/tmw # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.40 2011/09/05 18:02:37 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.41 2011/12/03 18:38:16 tupone Exp $ + +*tmw-20110911 (03 Dec 2011) + + 03 Dec 2011; Tupone Alfredo <tupone@gentoo.org> +tmw-20110911.ebuild, + +files/tmw-branding-gentoo.patch: + Version bump. Bug #363795 by Ben Longbons 05 Sep 2011; Michael Sterrett <mr_bones_@gentoo.org> tmw-0.5.2.ebuild: Fails to build without opengl (bug #378191) diff --git a/games-rpg/tmw/files/tmw-branding-gentoo.patch b/games-rpg/tmw/files/tmw-branding-gentoo.patch new file mode 100644 index 000000000000..e25e0b3bcff2 --- /dev/null +++ b/games-rpg/tmw/files/tmw-branding-gentoo.patch @@ -0,0 +1,21 @@ +diff --git i/tmw w/tmw +index 009a08f..6060628 100755 +--- i/tmw ++++ w/tmw +@@ -1,2 +1,2 @@ + #!/bin/sh +-exec mana /usr/share/tmw/tmw.mana "$@" ++exec mana @GENTOO_DATADIR@/tmw.mana "$@" +diff --git i/tmw.desktop w/tmw.desktop +index 21b41ea..263237c 100644 +--- i/tmw.desktop ++++ w/tmw.desktop +@@ -8,7 +8,7 @@ Comment[de]=ein Online Fantasy Spiel + Comment[it]=Un gioco fantasy online + Comment[nl]=Een online role playing game + Comment[sv]=Ett fantasyrollspel online +-Exec=mana /usr/share/tmw/tmw.mana ++Exec=mana @GENTOO_DATADIR@/tmw.mana + StartupNotify=false + Terminal=false + Type=Application diff --git a/games-rpg/tmw/tmw-20110911.ebuild b/games-rpg/tmw/tmw-20110911.ebuild new file mode 100644 index 000000000000..2c1ef3f80c0a --- /dev/null +++ b/games-rpg/tmw/tmw-20110911.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-20110911.ebuild,v 1.1 2011/12/03 18:38:16 tupone Exp $ + +EAPI=2 +inherit eutils games + +MY_PN=${PN}-branding +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Branding for the Mana client for server.themanaworld.org" +HOMEPAGE="http://themanaworld.org/" +SRC_URI="mirror://sourceforge/themanaworld/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="games-rpg/mana" +DEPEND="" + +S="${WORKDIR}"/${MY_P} +PATCHES=( "${FILESDIR}"/${MY_PN}-gentoo.patch ) + +src_prepare() { + base_src_prepare + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + tmw tmw.desktop \ + || die "sed failed" +} + +src_install() { + doicon data/icons/tmw.xpm + insinto /usr/share/icons + doins data/icons/tmw.png + dogamesbin tmw + insinto "${GAMES_DATADIR}/${PN}/" + doins tmw.mana + doins -r data/ + insinto /usr/share/applications + doins tmw.desktop + prepgamesdirs +} |