diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-08-07 22:19:15 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-08-07 22:19:15 +0000 |
commit | bb8942deccb87a23b2ddd366d67c8561d21d1f00 (patch) | |
tree | 993ba3c622fe6cd65d689c4e64ae8fa504e8d291 /games-rpg | |
parent | Marking Unicode-EastAsianWidth-1.320.0 ppc64 for bug 422053 (diff) | |
download | gentoo-2-bb8942deccb87a23b2ddd366d67c8561d21d1f00.tar.gz gentoo-2-bb8942deccb87a23b2ddd366d67c8561d21d1f00.tar.bz2 gentoo-2-bb8942deccb87a23b2ddd366d67c8561d21d1f00.zip |
re-add wrt #428784
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/tmw/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/tmw/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/tmw/files/tmw-branding-gentoo.patch | 19 | ||||
-rw-r--r-- | games-rpg/tmw/metadata.xml | 10 | ||||
-rw-r--r-- | games-rpg/tmw/tmw-20120727.ebuild | 60 |
5 files changed, 104 insertions, 0 deletions
diff --git a/games-rpg/tmw/ChangeLog b/games-rpg/tmw/ChangeLog new file mode 100644 index 000000000000..4b6e11da9269 --- /dev/null +++ b/games-rpg/tmw/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/tmw +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.43 2012/08/07 22:19:15 hasufell Exp $ + +*tmw-20120727 (07 Aug 2012) + + 07 Aug 2012; Julian Ospald <hasufell@gentoo.org> +tmw-20120727.ebuild, + +files/tmw-branding-gentoo.patch, +metadata.xml: + re-add wrt #428784 + diff --git a/games-rpg/tmw/Manifest b/games-rpg/tmw/Manifest new file mode 100644 index 000000000000..9ff748772dd9 --- /dev/null +++ b/games-rpg/tmw/Manifest @@ -0,0 +1,5 @@ +AUX tmw-branding-gentoo.patch 477 SHA256 5e8d58678f6fb8f151837907aaf67094609dfb7ac7082a8b608adf566663bd3d SHA512 3fe78023b374694a35f8a13511b04f2a98e1495ebaf901664efd54c60314e99311d4025da8169beaf3653635a56e3fcb5dc129f64c02d247217af1ea15c23d9e WHIRLPOOL 81c1f209cab65ab7aa2617b0c5f1efd119d8dc21c9437f31ef3bb48b22cb6eaedcea340881019bdf71e3bf3aef213a67856077183bf95c294faeb95a62513421 +DIST tmw-branding-20120727.tar.gz 1146204 SHA256 09ad85cb5df2c7d18493403ff283f6c9ff4340ea41940a53bb173bd8f5521675 SHA512 848b890ccf54b5484def193d82e012ed2be0b7bc7ae9601760aba63233b86ea61bc53a0cb91ce3f71af87fc2b63f3626c9ade117beddd2d76886ae5f061321b7 WHIRLPOOL 0483df949bf399e1dd949a06e378e266fe8a09c19200177830d10e502a5f636ce908617cc0f3b5e7b9285c285b0c7c0eccc02945976a11d78131e5a9bb47a741 +EBUILD tmw-20120727.ebuild 1029 SHA256 f1acf0d3b13eff0761a60b94d93db41fa73eef558391cb46c09eca4d4089dc4f SHA512 5b84ead1cac8d64068709befaf6e54c4b4b03c07feea8e5bc17cfc71fa326d7060a632f21b51b3ab81d468fa0c904bd7f7c38f4ac88238ccdc1d519718c7e063 WHIRLPOOL 3c29a2f8a8db3a7c6a6e0d51142a2f01d648e813b6939b55285a748ef4e9a156e939bdd0f5d818f357a4865c0b812785ee66ec22ea23877136f96d56d5225c30 +MISC ChangeLog 289 SHA256 a35587ee2bbaa9d36ba7022c39096b031e03ad392b6b33c3c9944ebbd45037d8 SHA512 960aac463788b106cb31825d42b40741de8c8ff43245fa8ea1989eaad27d97f3ca44308da5fb2125dbc03753ecf307da973c6e931b13c5ab35099ca3954244f2 WHIRLPOOL 160d26b845519cffa9f85e5f753c5142e72fa9d2f797e29c754918ad84cdaf9c1d8a585937626743cca9192508c097bf3795e590454be1a5a1fc879b65478bcd +MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8 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..fea920640e7f --- /dev/null +++ b/games-rpg/tmw/files/tmw-branding-gentoo.patch @@ -0,0 +1,19 @@ +respect games paths + +--- tmw ++++ tmw +@@ -1,2 +1,2 @@ + #!/bin/sh +-exec mana /usr/share/tmw/tmw.mana "$@" ++exec mana @GENTOO_DATADIR@/tmw.mana "$@" +--- tmw.desktop ++++ 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/metadata.xml b/games-rpg/tmw/metadata.xml new file mode 100644 index 000000000000..e52db06ebd8c --- /dev/null +++ b/games-rpg/tmw/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + diff --git a/games-rpg/tmw/tmw-20120727.ebuild b/games-rpg/tmw/tmw-20120727.ebuild new file mode 100644 index 000000000000..e3d55197e6b9 --- /dev/null +++ b/games-rpg/tmw/tmw-20120727.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-20120727.ebuild,v 1.1 2012/08/07 22:19:15 hasufell Exp $ + +EAPI=4 +inherit eutils gnome2-utils 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 ~x86" +IUSE="" + +RDEPEND="games-rpg/mana" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${MY_PN}-gentoo.patch + + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + ${PN} ${PN}.desktop \ + || die "sed failed" +} + +src_install() { + dogamesbin ${PN} + + insinto "${GAMES_DATADIR}/${PN}/" + doins ${PN}.mana + doins -r data/ + + domenu ${PN}.desktop + + doicon -s 32 data/icons/${PN}.xpm + doicon data/icons/${PN}.png + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |