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 | e8c192234d608d0055d1444166d664d8f1a667ef (patch) | |
tree | 7799f2da317b046f566ba658fe3c0be41d7bf03f /games-rpg/mana | |
parent | Add ~x86-fbsd. Depends on virtual/iconv instead of glibc; Specify --with-libi... (diff) | |
download | gentoo-2-e8c192234d608d0055d1444166d664d8f1a667ef.tar.gz gentoo-2-e8c192234d608d0055d1444166d664d8f1a667ef.tar.bz2 gentoo-2-e8c192234d608d0055d1444166d664d8f1a667ef.zip |
New package. Replacement of games-rpg/tmw Bug #363795
(Portage version: 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 | 5 | ||||
-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, 116 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..bbec9b5d280d --- /dev/null +++ b/games-rpg/mana/Manifest @@ -0,0 +1,5 @@ +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 1641 RMD160 50dee61ba964b5ef0e233586aa43e57a273c8848 SHA1 e02166f29e990605b2acabe35fd33d3d9ffee12d SHA256 43a41ee3274f1e5ec5da5973d5e96314d26ac3ca3d87b525b6d676da47c08673 +MISC ChangeLog 319 RMD160 5f9e7668e8df3cfe13fc3e3a7de75d0aa6c01e49 SHA1 485cfe66b0e30f9292f98e602395b506f0e6bef1 SHA256 58f8d2238abe08b76b0acdc4adeffc937f15d8602a6f028162929bcdcd458f18 +MISC metadata.xml 160 RMD160 6ae611cc96ad0e8906abeb2047a9d6ba188432df SHA1 352018a638cae755b2f9341cbbee29246666cc41 SHA256 03e34b6506e114bf8eee720498f15d09a5344e83b766a45c59ee7ea1d633b38b 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> + |