diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2011-11-23 13:29:38 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2011-11-23 13:29:38 +0000 |
commit | 29ab242d2cd0ceb4ed2a9fda13369c4debcafb48 (patch) | |
tree | 32dc42754037390866fce7381873fc5693088f4d /games-rpg/mana | |
parent | Add ~x86-fbsd. Depends on virtual/iconv instead of glibc; Specify --with-libi... (diff) | |
download | historical-29ab242d2cd0ceb4ed2a9fda13369c4debcafb48.tar.gz historical-29ab242d2cd0ceb4ed2a9fda13369c4debcafb48.tar.bz2 historical-29ab242d2cd0ceb4ed2a9fda13369c4debcafb48.zip |
New package. Replacement of games-rpg/tmw Bug #363795
Package-Manager: portage-2.1.10.37/cvs/Linux i686
Diffstat (limited to 'games-rpg/mana')
-rw-r--r-- | games-rpg/mana/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/mana/Manifest | 15 | ||||
-rw-r--r-- | games-rpg/mana/files/mana-0.5.3-gentoo.patch | 31 | ||||
-rw-r--r-- | games-rpg/mana/mana-0.5.3.ebuild | 64 | ||||
-rw-r--r-- | games-rpg/mana/metadata.xml | 6 |
5 files changed, 126 insertions, 0 deletions
diff --git a/games-rpg/mana/ChangeLog b/games-rpg/mana/ChangeLog new file mode 100644 index 000000000000..e745e81d687b --- /dev/null +++ b/games-rpg/mana/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/mana +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/ChangeLog,v 1.1 2011/11/23 13:29:38 tupone Exp $ + +*mana-0.5.3 (23 Nov 2011) + + 23 Nov 2011; Tupone Alfredo <tupone@gentoo.org> +mana-0.5.3.ebuild, + +files/mana-0.5.3-gentoo.patch: + New package. Replacement of games-rpg/tmw Bug #363795 by Ben Longbons + diff --git a/games-rpg/mana/Manifest b/games-rpg/mana/Manifest new file mode 100644 index 000000000000..e0cbae97a97e --- /dev/null +++ b/games-rpg/mana/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mana-0.5.3-gentoo.patch 1006 RMD160 c244c31d3edab0fd52cf98be851ad6a7cd588370 SHA1 c160e1dab2588ed3e76e1dc834eb34886983acdd SHA256 acc8b2cc8f0d3134edf89aba4c9e8695cd13ce803aea0f9c9eaf06827fbca014 +DIST mana-0.5.3.tar.gz 2473239 RMD160 e296a0c961805a7b764736cc37e9602a292740b9 SHA1 cdf51109efd0bed72c87596f4b11e63a22540371 SHA256 3b9781cc2aa89fb0723d76df7407f4b89d1305e42166b2f4c850f3acd61022d5 +EBUILD mana-0.5.3.ebuild 1643 RMD160 ed2a4d44219cd47fb888c2a7eb46817ca6add956 SHA1 ec508ec587641bcb8d300564294ec5fedc7e1ac2 SHA256 26f0b6837fe88cc846178684473f4fdc32d5d45109c70008565180d4eb04696e +MISC ChangeLog 405 RMD160 eedb010f829c1553da91c08bf00e5b7ed78c68b9 SHA1 e59d63201da1d9a586aabe4b02c456e0930d066a SHA256 7c0b2dc84b2ba410d9e1e5deea1fc9730471f3cd71d01fdbdee90620b31f4273 +MISC metadata.xml 160 RMD160 6ae611cc96ad0e8906abeb2047a9d6ba188432df SHA1 352018a638cae755b2f9341cbbee29246666cc41 SHA256 03e34b6506e114bf8eee720498f15d09a5344e83b766a45c59ee7ea1d633b38b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEARECAAYFAk7M9RIACgkQIY77eQFFFC2cnwCg2T61uEdpU+/kquhHV3EnCFP8 +8zgAmgMNyYhbwJi7+7OGhMSgZbueZTdK +=Vv+D +-----END PGP SIGNATURE----- diff --git a/games-rpg/mana/files/mana-0.5.3-gentoo.patch b/games-rpg/mana/files/mana-0.5.3-gentoo.patch new file mode 100644 index 000000000000..b5f90cb6658c --- /dev/null +++ b/games-rpg/mana/files/mana-0.5.3-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/mana/mana-0.5.3.ebuild b/games-rpg/mana/mana-0.5.3.ebuild new file mode 100644 index 000000000000..465ddce45a75 --- /dev/null +++ b/games-rpg/mana/mana-0.5.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/mana-0.5.3.ebuild,v 1.1 2011/11/23 13:29:38 tupone Exp $ + +EAPI=2 +inherit eutils cmake-utils games + +DESCRIPTION="A fully free and open source MMORPG game client" +HOMEPAGE="http://manasource.org/" +SRC_URI="http://manasource.org/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls opengl" + +RDEPEND="!=games-rpg/tmw-0.5.2 + >=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[opengl?,video] + 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_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 + prepgamesdirs +} diff --git a/games-rpg/mana/metadata.xml b/games-rpg/mana/metadata.xml new file mode 100644 index 000000000000..01a746edb196 --- /dev/null +++ b/games-rpg/mana/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> +</pkgmetadata> + |