summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-08-02 11:56:26 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-08-02 11:56:26 +0000
commit0618e5fa6d8b8643378b92f145e9721f6170ba62 (patch)
treedab2e119fc11dfbd1475510a658b7c1bbc08658f /games-rpg
parentFix sandbox violation wrt bug 377375 by Vasileios Lourdas <bugzilla@lourdas.n... (diff)
downloadhistorical-0618e5fa6d8b8643378b92f145e9721f6170ba62.tar.gz
historical-0618e5fa6d8b8643378b92f145e9721f6170ba62.tar.bz2
historical-0618e5fa6d8b8643378b92f145e9721f6170ba62.zip
Version bump to 0.5.2 Bug #363795
Package-Manager: portage-2.1.10.9/cvs/Linux i686
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/tmw/ChangeLog10
-rw-r--r--games-rpg/tmw/Manifest16
-rw-r--r--games-rpg/tmw/files/tmw-0.5.2-gentoo.patch31
-rw-r--r--games-rpg/tmw/tmw-0.5.2.ebuild73
4 files changed, 127 insertions, 3 deletions
diff --git a/games-rpg/tmw/ChangeLog b/games-rpg/tmw/ChangeLog
index 0cc66ed2ee2e..1b575b924e07 100644
--- a/games-rpg/tmw/ChangeLog
+++ b/games-rpg/tmw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/tmw
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.38 2010/05/24 15:45:55 tupone Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.39 2011/08/02 11:56:25 tupone Exp $
+
+*tmw-0.5.2 (02 Aug 2011)
+
+ 02 Aug 2011; Tupone Alfredo <tupone@gentoo.org> +tmw-0.5.2.ebuild,
+ +files/tmw-0.5.2-gentoo.patch:
+ Version bump to 0.5.2 Bug #363795 by Ben Longbons
24 May 2010; Tupone Alfredo <tupone@gentoo.org> tmw-0.0.29.1.ebuild,
+files/tmw-0.0.29.1-gcc45.patch:
diff --git a/games-rpg/tmw/Manifest b/games-rpg/tmw/Manifest
index 1b04b35bb2f9..feed1e9be729 100644
--- a/games-rpg/tmw/Manifest
+++ b/games-rpg/tmw/Manifest
@@ -1,7 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX tmw-0.0.29.1-desktop.patch 1524 RMD160 2d837ec55f6b9725ea59ba9ee1fee85a642e9cff SHA1 c98c84104edc792a2ebece4d9dd9d83a5830c81e SHA256 64d50fd25940f83e3afa524e1a9e5ff41c5aa70b5a1e0956e1156f308b29c165
AUX tmw-0.0.29.1-gcc45.patch 625 RMD160 21fe9ffaf0ba2df2caa028e230e29cdbe5028cca SHA1 0b127dfc67796042187f38385bf4d82de0e8bd23 SHA256 9657f37dd2560fdadcd3cdd2b05e5a26d757b0575fc770e0ba7fa2a4c19f600c
+AUX tmw-0.5.2-gentoo.patch 1006 RMD160 c244c31d3edab0fd52cf98be851ad6a7cd588370 SHA1 c160e1dab2588ed3e76e1dc834eb34886983acdd SHA256 acc8b2cc8f0d3134edf89aba4c9e8695cd13ce803aea0f9c9eaf06827fbca014
DIST tmw-0.0.29.1.tar.gz 2614869 RMD160 c80dd7f84bc84f6074a1e3256294f7ecbb3bc4e1 SHA1 c8f0c9627b1fe95547ad231cf24159c51f79899c SHA256 319e91e6e0434cdbefa1b6c1214bfbf24dca714dce57353cc6265506fbf031f7
+DIST tmw-0.5.2.tar.bz2 2968428 RMD160 2748952fb75a7437e92d1f57943517032bbd36f2 SHA1 a9981f2d905335dfae28a92d84c05ae24a1576bb SHA256 7654994bc839d73341534c931d20ed598597dd1b2a0bb599cb3f29331e2f3482
DIST tmwmusic-0.0.20.tar.gz 9259802 RMD160 a7212f90b40f864d0670905fe037564eba48ab30 SHA1 c1e3126ff7f53f6e12caaf885a493cd5c4aed6e3 SHA256 964bb27235cdc3199c392f6ddf25ce293c6f32e013abe85592b96221a5896939
+DIST tmwmusic-0.3.tar.gz 25125282 RMD160 f121922ec22e4a4d72b883d7ffaeb24422c18aac SHA1 a712a920708271e97cc684d695c9202e1822c187 SHA256 9c942b0f9a9a3692f2a0c80b0a7433d7b0adaa35e6c85eab26723299b6c9c4bb
EBUILD tmw-0.0.29.1.ebuild 1749 RMD160 e352c90bc2e9cc226e32c4ee9984d6a66a913b50 SHA1 29b5a31215570f9f855f092d5a2c966afad6ede1 SHA256 44403d95da0b9bdff76aff7131f67541e62028351d7229fb54b9f86c4c5a5711
-MISC ChangeLog 5583 RMD160 655c98a1691013e6d86f1b57661da405b4783225 SHA1 e6aeab50f7952ed2d7c8eaa1125bc9e34000ed55 SHA256 a6dce0993d656d25bfede684a43729a23d9920f34d4453ed70c8337ef69ecbf2
+EBUILD tmw-0.5.2.ebuild 1808 RMD160 9da3a4da979fe8c61accdb499db8d80553f31439 SHA1 c9633003f7506eacc338b5641790846e2018908d SHA256 a133b9b076687e3a074f90330a012645d6e25ab3a3bc272d22ae3a78646c9366
+MISC ChangeLog 5764 RMD160 01a23b0eaee8957c417193e80ac0d9c2a3456ec8 SHA1 29b63df16831dabc5862f5c7f96b405eb90b3b9d SHA256 3b0cd72ca186d6d6a7dddb49dd81a7f55c84a3047e3db6fc25495ce2452cd744
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk435fkACgkQIY77eQFFFC3EaQCgq5UvaneZ3jXkoZZP1ndu8YfA
+/rsAni3QLp06jvUY6GWYHa9pwbobAGBZ
+=zoTo
+-----END PGP SIGNATURE-----
diff --git a/games-rpg/tmw/files/tmw-0.5.2-gentoo.patch b/games-rpg/tmw/files/tmw-0.5.2-gentoo.patch
new file mode 100644
index 000000000000..b5f90cb6658c
--- /dev/null
+++ b/games-rpg/tmw/files/tmw-0.5.2-gentoo.patch
@@ -0,0 +1,31 @@
+--- CMakeLists.txt.old 2011-08-02 08:28:51.211645468 +0200
++++ CMakeLists.txt 2011-08-02 08:29:26.912641230 +0200
+@@ -41,9 +41,9 @@
+ IF (NOT OSX)
+ OPTION(USE_X11 "Use X11 Clipboard functionality" ON)
+ ENDIF ()
+- SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana)
++ SET(PKG_DATADIR @GENTOO_DATADIR@)
+ SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
+- SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin)
++ SET(PKG_BINDIR @GENTOO_BINDIR@)
+ ENDIF (WIN32)
+
+ ADD_SUBDIRECTORY(data)
+--- mana.desktop.old 2011-08-02 11:31:56.049341650 +0200
++++ mana.desktop 2011-08-02 11:32:05.312340549 +0200
+@@ -13,4 +13,4 @@
+ Terminal=false
+ Type=Application
+ Icon=mana
+-Categories=Application;Game;
++Categories=Game;
+--- data/CMakeLists.txt.old 2011-08-02 12:15:38.520030381 +0200
++++ data/CMakeLists.txt 2011-08-02 12:15:44.971029615 +0200
+@@ -1,6 +1,5 @@
+ SET(DATA_DIR ${PKG_DATADIR}/data)
+
+-ADD_SUBDIRECTORY(fonts)
+ ADD_SUBDIRECTORY(graphics)
+ ADD_SUBDIRECTORY(help)
+ ADD_SUBDIRECTORY(icons)
diff --git a/games-rpg/tmw/tmw-0.5.2.ebuild b/games-rpg/tmw/tmw-0.5.2.ebuild
new file mode 100644
index 000000000000..f6f3baf08582
--- /dev/null
+++ b/games-rpg/tmw/tmw-0.5.2.ebuild
@@ -0,0 +1,73 @@
+# 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-0.5.2.ebuild,v 1.1 2011/08/02 11:56:25 tupone Exp $
+
+EAPI=2
+inherit eutils games cmake-utils
+
+MUSIC=tmwmusic-0.3
+
+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.bz2
+ mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls opengl"
+
+RDEPEND=">=dev-games/physfs-1.0.0
+ dev-libs/libxml2
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-image[png]
+ media-libs/sdl-net
+ media-libs/sdl-ttf
+ net-misc/curl
+ sys-libs/zlib
+ media-libs/libpng
+ media-fonts/dejavu
+ >=dev-games/guichan-0.8.1[sdl]
+ media-libs/libsdl
+ media-libs/sdl-gfx
+ x11-libs/libX11
+ nls? ( virtual/libintl )
+ opengl? ( virtual/opengl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_unpack() {
+ mkdir ${P}
+ cd ${P}
+ unpack ${A}
+}
+
+src_prepare() {
+ base_src_prepare
+ sed -i \
+ -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+ CMakeLists.txt \
+ || die "sed failed"
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with opengl)
+ $(cmake-utils_use_enable nls)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
+ insinto "${GAMES_DATADIR}"/${PN}/data
+ doins -r ${MUSIC}/data/music || die
+ prepgamesdirs
+}