summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-27 04:47:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-27 04:47:09 +0000
commit2a0e6779e48dc4d6e2ea5214415c4e0075e7dc74 (patch)
tree49c68cec62c8f903149421278c239c44c2e28a79 /games-rpg
parentSpring clean unported GTK+-1.2 media applications. (diff)
downloadhistorical-2a0e6779e48dc4d6e2ea5214415c4e0075e7dc74.tar.gz
historical-2a0e6779e48dc4d6e2ea5214415c4e0075e7dc74.tar.bz2
historical-2a0e6779e48dc4d6e2ea5214415c4e0075e7dc74.zip
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/tmw/ChangeLog10
-rw-r--r--games-rpg/tmw/Manifest5
-rw-r--r--games-rpg/tmw/files/tmw-0.0.24.1-desktop.patch22
-rw-r--r--games-rpg/tmw/tmw-0.0.24.1.ebuild60
4 files changed, 94 insertions, 3 deletions
diff --git a/games-rpg/tmw/ChangeLog b/games-rpg/tmw/ChangeLog
index b60c46eb929a..dba12e4d966e 100644
--- a/games-rpg/tmw/ChangeLog
+++ b/games-rpg/tmw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/tmw
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.26 2007/12/28 03:02:12 mr_bones_ Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.27 2008/04/27 04:47:08 mr_bones_ Exp $
+
+*tmw-0.0.24.1 (27 Apr 2008)
+
+ 27 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/tmw-0.0.24.1-desktop.patch, +tmw-0.0.24.1.ebuild:
+ version bump
*tmw-0.0.24 (28 Dec 2007)
diff --git a/games-rpg/tmw/Manifest b/games-rpg/tmw/Manifest
index b58777723bbf..5ccf4cbbc344 100644
--- a/games-rpg/tmw/Manifest
+++ b/games-rpg/tmw/Manifest
@@ -1,6 +1,9 @@
AUX tmw-0.0.24-desktop.patch 747 RMD160 1dbe8c0c1abcc59b0c2f109c093004866f10b0e5 SHA1 cd41b973d9929bc2b08c202beab612d238aae15e SHA256 f020e316fb746e40a74e7aaf0471a49de5e24248c9b89fe965ce66bf34e74577
+AUX tmw-0.0.24.1-desktop.patch 747 RMD160 1dbe8c0c1abcc59b0c2f109c093004866f10b0e5 SHA1 cd41b973d9929bc2b08c202beab612d238aae15e SHA256 f020e316fb746e40a74e7aaf0471a49de5e24248c9b89fe965ce66bf34e74577
+DIST tmw-0.0.24.1.tar.gz 1216554 RMD160 3a2075223200326b8edbed03b088ee0f472e7ed3 SHA1 d02f8021e1089ec598d0fdd1839f2985b68e4a8a SHA256 ad2f2e561f134b0b762fbd9c9f3f5f890e3ba7b1b6fa51f4670a894a58ddf014
DIST tmw-0.0.24.tar.gz 3700651 RMD160 f43c82f328b99c0091a8595b240eabfc1fe52ca7 SHA1 00ce3734c39d40c93e8cb2f86478074dcb8d1c13 SHA256 49bdb2b183f10905f727c920ac70aabd9760c69be560b5cea0616934a56d2e11
DIST tmwmusic-0.0.20.tar.gz 9259802 RMD160 a7212f90b40f864d0670905fe037564eba48ab30 SHA1 c1e3126ff7f53f6e12caaf885a493cd5c4aed6e3 SHA256 964bb27235cdc3199c392f6ddf25ce293c6f32e013abe85592b96221a5896939
+EBUILD tmw-0.0.24.1.ebuild 1612 RMD160 12a71212251457128bc17ff9244f7e612420c863 SHA1 abd7cd29a8ff5c4b196343521f0a9fddd7a99347 SHA256 32f4bbeee2f49cbd70b6db43d3f3336d1f726395f9584858135808396c5590f5
EBUILD tmw-0.0.24.ebuild 1610 RMD160 e563ee6fbd17f03aa9117042cc2f7e15c538df2e SHA1 b270b9986560ad6c5b8829bebbc3266fc6789dae SHA256 2e0c6c9c828703c17b8b1dc711f897ef54d8d5cb6c8cb40ff9e3247f751c6b74
-MISC ChangeLog 3753 RMD160 19c01b3cf9242e705dd831e8c7dfe280277d90ce SHA1 06aa8a33360d9b1b1d3daad1c52dd7d67929781a SHA256 9c35bb64e6604c4032c21d1ef5ecf22d2276c608e2ca02130a7f99384377efc9
+MISC ChangeLog 3912 RMD160 70f334d7a33599ebcefc82b4d92e75c1e282f05e SHA1 289c5b35be6da8d62d4b4f21f58774b940bb3f10 SHA256 d097d4dff7973d0c69e71e2255bc7494307a676e27b5a6e2cddfeefb91ae7eee
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-rpg/tmw/files/tmw-0.0.24.1-desktop.patch b/games-rpg/tmw/files/tmw-0.0.24.1-desktop.patch
new file mode 100644
index 000000000000..127efd371f3a
--- /dev/null
+++ b/games-rpg/tmw/files/tmw-0.0.24.1-desktop.patch
@@ -0,0 +1,22 @@
+Make sure desktop/pixmaps dont get thrown into /usr/games.
+
+--- Makefile.in
++++ Makefile.in
+@@ -163,3 +163,3 @@
+ SUBDIRS = data docs src
+-desktopdir = $(datadir)/applications
++desktopdir =/usr/share/applications
+ desktop_DATA = tmw.desktop
+--- data/icons/Makefile.in
++++ data/icons/Makefile.in
+@@ -318,7 +318,7 @@
+ install-data-local:
+- $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps
+- $(INSTALL) $(srcdir)/tmw.png $(DESTDIR)$(datadir)/pixmaps/tmw.png
++ $(mkinstalldirs) $(DESTDIR)/usr/share/pixmaps
++ $(INSTALL) $(srcdir)/tmw.png $(DESTDIR)/usr/share/pixmaps/tmw.png
+
+ uninstall-local:
+- rm -f $(DESTDIR)$(datadir)/pixmaps/tmw.png
++ rm -f $(DESTDIR)/usr/share/pixmaps/tmw.png
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/games-rpg/tmw/tmw-0.0.24.1.ebuild b/games-rpg/tmw/tmw-0.0.24.1.ebuild
new file mode 100644
index 000000000000..625f7e16d376
--- /dev/null
+++ b/games-rpg/tmw/tmw-0.0.24.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.24.1.ebuild,v 1.1 2008/04/27 04:47:08 mr_bones_ Exp $
+
+inherit eutils games
+
+MUSIC=tmwmusic-0.0.20
+DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
+HOMEPAGE="http://themanaworld.org/"
+SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
+ mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="opengl"
+
+DEPEND=">=dev-games/physfs-1.0.0
+ opengl? ( virtual/opengl )
+ dev-libs/libxml2
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-net
+ net-misc/curl
+ >=dev-games/guichan-0.7.0"
+
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use dev-games/guichan sdl ; then
+ eerror "dev-games/guichan needs to be built with USE=sdl"
+ die "please re-emerge dev-games/guichan with USE=sdl"
+ fi
+ if ! built_with_use media-libs/sdl-mixer vorbis ; then
+ eerror "media-libs/sdl-mixer needs to be built with USE=vorbis"
+ die "please re-emerge media-libs/sdl-mixer with USE=vorbis"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-desktop.patch
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with opengl) || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ cd "${WORKDIR}"
+ insinto "${GAMES_DATADIR}"/${PN}/data/music
+ doins ${MUSIC}/data/music/*.ogg || die
+ newdoc ${MUSIC}/README README.music
+ prepgamesdirs
+}