# ChangeLog for games-rpg/tmw
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.21 2006/12/29 04:57:34 mr_bones_ Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.22 2007/01/16 20:33:22 mr_bones_ Exp $
+
+*tmw-0.0.22.1 (16 Jan 2007)
+
+ 16 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org> +tmw-0.0.22.1.ebuild:
+ version bump
29 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org> tmw-0.0.22.ebuild:
add vorbis use flag check and updated music file (reported by Wai Ling in bug
RMD160 ea78170eff85adaff001b6f420f2c652e04c7442 files/tmw-0.0.12-desktop.patch 757
SHA256 7b1c1c391366931e5a9c0876f7e6c2e0d63316fc5b6bc06dcb257846c5be398d files/tmw-0.0.12-desktop.patch 757
DIST tmw-0.0.21.tar.gz 3363620 RMD160 ff94073c229e37d5c6ff48a87a231fcd860d73f6 SHA1 0521c15defb794398b07bb0aebbb66b6905ce3c5 SHA256 180470d0d3e0977ef3f0bb8990b2aa12c5d6325b0086a955fdbff914dcf82bb3
+DIST tmw-0.0.22.1.tar.gz 3563351 RMD160 ff971d53bf6b9069c5f0b50a7f9cbd5d6d1c576e SHA1 21730fa1d8e40b5794cc86f1640ef5ba3e4e62f6 SHA256 ecf1f85738187dfb191572af0978467bf7d1f311fcec9eb4b0b98fee740d3604
DIST tmw-0.0.22.tar.gz 3571205 RMD160 e6f583491a5f15458ac03b95367da10a342f33fa SHA1 5daf452d0413ab6ccf4d45c8d90c7d43f4e560f3 SHA256 3af8ce85f11f192077143b82c3e5f71bfe34834b18033637746cfed08c89cb7b
DIST tmw-Magick-Real.ogg 840811 RMD160 d293aff31cc3f2b57bbb9a91c7b444c4fda5c375 SHA1 3afcea0aa27b57a1c2656549b0fb26d3996b8d73 SHA256 9cd8ffc59689fadb35884309cab14cc1c23ed1061fadec26b875688d2bbff13b
DIST tmwmusic-0.0.20.tar.gz 9259802 RMD160 a7212f90b40f864d0670905fe037564eba48ab30 SHA1 c1e3126ff7f53f6e12caaf885a493cd5c4aed6e3 SHA256 964bb27235cdc3199c392f6ddf25ce293c6f32e013abe85592b96221a5896939
MD5 4bc7e016d1710d4d3e034219e78f84e8 tmw-0.0.21.ebuild 1435
RMD160 3da6c189cba6f201b1a1d2342ec7215a1660280c tmw-0.0.21.ebuild 1435
SHA256 3d78afe329c91d53e6a25ad3fcdc2409a600e6455358f951fd085c808fd6e26b tmw-0.0.21.ebuild 1435
+EBUILD tmw-0.0.22.1.ebuild 1580 RMD160 e5da22f01cca5c4b25d20ca8c02a305c97e668e8 SHA1 0d8312fc927a293965804c7fa8c1601df925f87d SHA256 e8a7176b9bc0e4838640c03d4dff40b5bc060bb962446a9563eb20f5287b2022
+MD5 b273574caa7381bccd07c18e59347d92 tmw-0.0.22.1.ebuild 1580
+RMD160 e5da22f01cca5c4b25d20ca8c02a305c97e668e8 tmw-0.0.22.1.ebuild 1580
+SHA256 e8a7176b9bc0e4838640c03d4dff40b5bc060bb962446a9563eb20f5287b2022 tmw-0.0.22.1.ebuild 1580
EBUILD tmw-0.0.22.ebuild 1578 RMD160 8cff92a44faa2f99802b6ae1b623d499d740e3aa SHA1 2604d84a9e5b92cd17427dc1ba5fa93ade874e88 SHA256 5ba028ce7cf3911953b595858283aa0f164a844ededc15ed8a5ad5924e5eeb6d
MD5 7ab7dc6d70993f9b64b766e9dffd3378 tmw-0.0.22.ebuild 1578
RMD160 8cff92a44faa2f99802b6ae1b623d499d740e3aa tmw-0.0.22.ebuild 1578
SHA256 5ba028ce7cf3911953b595858283aa0f164a844ededc15ed8a5ad5924e5eeb6d tmw-0.0.22.ebuild 1578
-MISC ChangeLog 2976 RMD160 39e2ab2754c58a61a3c9c3d9f4c4430d6ac31d26 SHA1 4d0e266e1ad558a0073484c631cf35514c6eca92 SHA256 7d97cde7ad5c30aa93305390eb86ef86e8e8ffadb6bf68fa77401364b004e853
-MD5 c6517987109401582613f8f11ab8d8de ChangeLog 2976
-RMD160 39e2ab2754c58a61a3c9c3d9f4c4430d6ac31d26 ChangeLog 2976
-SHA256 7d97cde7ad5c30aa93305390eb86ef86e8e8ffadb6bf68fa77401364b004e853 ChangeLog 2976
+MISC ChangeLog 3098 RMD160 6f494f23a8dfbd8e274da84c59e0d6279f889171 SHA1 6eedf112216075601a2fa55197aaf384631fefd0 SHA256 469eabbaef36348398f8e3c6b4bd7d93aa37b949018357eb9c2add3edc66c490
+MD5 35d2acbcd6b3417d2afbce8e264c502b ChangeLog 3098
+RMD160 6f494f23a8dfbd8e274da84c59e0d6279f889171 ChangeLog 3098
+SHA256 469eabbaef36348398f8e3c6b4bd7d93aa37b949018357eb9c2add3edc66c490 ChangeLog 3098
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 1ed14076b39f07b337ef84cb5a8f005a files/digest-tmw-0.0.22 485
RMD160 e488bc48c58e47862cd01e631d43733277541b08 files/digest-tmw-0.0.22 485
SHA256 de6ffb4496e9caec68dea68a118f757790bc2a32d1b323443ad8c273d4b821eb files/digest-tmw-0.0.22 485
+MD5 fc5b280272f80317c5dafa533b4ebb07 files/digest-tmw-0.0.22.1 491
+RMD160 0ee792fc378c69bde1890ca95a1ec5583faf3131 files/digest-tmw-0.0.22.1 491
+SHA256 b03e9635564ad5d4d3055b0ec24e0f7128a0940e05a8ec85ef6a16aa3721348a files/digest-tmw-0.0.22.1 491
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.22.1.ebuild,v 1.1 2007/01/16 20:33:22 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.6.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}"/${PN}-0.0.12-desktop.patch
+}
+
+src_compile() {
+ egamesconf $(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
+}