diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-06-30 20:57:14 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-06-30 20:57:14 +0000 |
commit | 70a1c4c26ed8409f1acb8bf1645dde2e1ff8142f (patch) | |
tree | 589b9b55a2582b3369eb8835d4cfaf2778d49ed5 /games-rpg/mana | |
parent | cleanup (diff) | |
download | historical-70a1c4c26ed8409f1acb8bf1645dde2e1ff8142f.tar.gz historical-70a1c4c26ed8409f1acb8bf1645dde2e1ff8142f.tar.bz2 historical-70a1c4c26ed8409f1acb8bf1645dde2e1ff8142f.zip |
version bump wrt bug #423413
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'games-rpg/mana')
-rw-r--r-- | games-rpg/mana/ChangeLog | 8 | ||||
-rw-r--r-- | games-rpg/mana/Manifest | 21 | ||||
-rw-r--r-- | games-rpg/mana/files/mana-0.6.1-gentoo.patch | 71 | ||||
-rw-r--r-- | games-rpg/mana/mana-0.6.1.ebuild | 75 | ||||
-rw-r--r-- | games-rpg/mana/metadata.xml | 3 |
5 files changed, 175 insertions, 3 deletions
diff --git a/games-rpg/mana/ChangeLog b/games-rpg/mana/ChangeLog index e15e09b49111..1e75ba5e5a36 100644 --- a/games-rpg/mana/ChangeLog +++ b/games-rpg/mana/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-rpg/mana # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/ChangeLog,v 1.10 2012/06/29 12:47:24 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/ChangeLog,v 1.11 2012/06/30 20:57:14 hasufell Exp $ + +*mana-0.6.1 (30 Jun 2012) + + 30 Jun 2012; Julian Ospald <hasufell@gentoo.org> +mana-0.6.1.ebuild, + +files/mana-0.6.1-gentoo.patch: + version bump wrt bug #423413 29 Jun 2012; Brent Baude <ranger@gentoo.org> mana-0.6.0.ebuild: Marking mana-0.6.0 ppc for bug 420143 diff --git a/games-rpg/mana/Manifest b/games-rpg/mana/Manifest index efc77e7d218e..070238c891ea 100644 --- a/games-rpg/mana/Manifest +++ b/games-rpg/mana/Manifest @@ -1,8 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mana-0.5.3-gentoo.patch 1006 RMD160 c244c31d3edab0fd52cf98be851ad6a7cd588370 SHA1 c160e1dab2588ed3e76e1dc834eb34886983acdd SHA256 acc8b2cc8f0d3134edf89aba4c9e8695cd13ce803aea0f9c9eaf06827fbca014 AUX mana-0.6.0-gentoo.patch 1006 RMD160 c244c31d3edab0fd52cf98be851ad6a7cd588370 SHA1 c160e1dab2588ed3e76e1dc834eb34886983acdd SHA256 acc8b2cc8f0d3134edf89aba4c9e8695cd13ce803aea0f9c9eaf06827fbca014 +AUX mana-0.6.1-gentoo.patch 2247 RMD160 6d51ad0e1c2fa72867fdfcbf0f72aa657ed63440 SHA1 6c79931f96a81f49fe1e374d1def6831a65a719f SHA256 6b57b1e9028ea3846c1d9c588127337e486498d422666292129eb9e8cb7dd99c DIST mana-0.5.3.tar.gz 2473239 RMD160 e296a0c961805a7b764736cc37e9602a292740b9 SHA1 cdf51109efd0bed72c87596f4b11e63a22540371 SHA256 3b9781cc2aa89fb0723d76df7407f4b89d1305e42166b2f4c850f3acd61022d5 DIST mana-0.6.0.tar.gz 4621532 RMD160 3a3ba1497751bf6e15b6cebdd8a2caf0b7a1abe1 SHA1 00dab9ab6fd61a6e2347fd03e2764676a0c2fc5e SHA256 d83d6c3ee7f527175a5db3ed25c95b8417006c3fef273c68d13352ec57d93474 +DIST mana-0.6.1.tar.gz 4651447 RMD160 f8ba2b39ea9f3a5be768e852dca7154f5ec10a9c SHA1 712d1212042ace70103ccf38a32578bec05e8b63 SHA256 b945cd3e32489dfa5b8e82d571cc11e0e5308576307fca4d8dd7cf3cf6ed8c55 EBUILD mana-0.5.3.ebuild 1639 RMD160 141e6f1343b8779704c61846bdcbfcd2cfc75c63 SHA1 53089a83c95119b25716685434ed861977e705c8 SHA256 b1c1d4ecd090152e706422aad32f76b3dd5706318a536f06c73e0c6913d1356e EBUILD mana-0.6.0.ebuild 1899 RMD160 a46c5e86d023cfe08c951c5db093d31e75ec6b77 SHA1 6a74fa10a3add10b79ab6c45a03a54dfbff69469 SHA256 c1aa07f9e738cb8ac4921f633c69177b4b41e9ac34b392f959b67421d700fb24 -MISC ChangeLog 1447 RMD160 f27265e94667b4f9b1df03022a9fc81e84c2dfc9 SHA1 6f63632171fdf889dcdf127de5757008f1ffd44f SHA256 d98c0bb072d366d7bc4d98b37a4b8ede3c258d31f922954e59779399bc90f66d -MISC metadata.xml 160 RMD160 6ae611cc96ad0e8906abeb2047a9d6ba188432df SHA1 352018a638cae755b2f9341cbbee29246666cc41 SHA256 03e34b6506e114bf8eee720498f15d09a5344e83b766a45c59ee7ea1d633b38b +EBUILD mana-0.6.1.ebuild 1983 RMD160 df2243fa75384a382b0646043301302c62c78fb8 SHA1 27d269475f89830e3ac732655d2a43d7838a3b1f SHA256 c23f02888674ae01eef94628e19bd69c889fb370d7b5442858dca4d8b82c315c +MISC ChangeLog 1613 RMD160 5f19e3fe7e6fb27ac7b527f6614c78c70427c1ac SHA1 32b20ea654be9484303f787c4c029be0fed7986f SHA256 c5eb755945eed55818b53fe9d8e90e6b302326b532522a6d7376df5a1cd53072 +MISC metadata.xml 228 RMD160 3b9fd3935e86724c301e387b603c8e37c37fa5a4 SHA1 d33c8b9e2f92f9a6dc419a6a8663e097c87b0ab3 SHA256 48c403dafe1c3cc9bcfb95885dfc0e8342aa77557bfe4673a6f5a876c6cc520e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBAgAGBQJP72dbAAoJEFpvPKfnPDWz9nQH/i+qAlUF/OjEgC5qjxC6dIU5 +S+ggm+o6pcTqxfxhiS7deD+eohLyZC3dmP8D+wt0wLN6VqgYvYhTxN45BximVqyx +EqqpVerMGPQ4PmZTqWgPPeMZPlmqc8s46PlJZE1jO79bC4lr4azkUSdYWFMY51K4 +0U6lQm5hdkMCQnD/ooVIipd1NiHGnOX88x9fscZj6rSfa3ihBXB7R0CJmnoQTPK2 +Tx+Z0mq7yNDw5jgumb/BtA2dqN+d5MJ3ShJrCWcBLP62mJ8pm/D5x9b8ojw0Gww1 +lXZeifQl1tEt5zT5aBCk/7aHxSZYd9Oguoloq4DJsFAJGDNiBhvSdkKUCEvlUxs= +=RgfQ +-----END PGP SIGNATURE----- diff --git a/games-rpg/mana/files/mana-0.6.1-gentoo.patch b/games-rpg/mana/files/mana-0.6.1-gentoo.patch new file mode 100644 index 000000000000..561336e421c5 --- /dev/null +++ b/games-rpg/mana/files/mana-0.6.1-gentoo.patch @@ -0,0 +1,71 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sat Jun 30 20:48:23 UTC 2012 +Subject: build system + +use system fonts + +make datadir and bindir paths modifiable +https://github.com/mana/mana/commit/02a7b2aa739cd0cf5a855f0a78b91d9fd5ad4385 +don't overwrite system/environment CXXFLAGS +https://github.com/mana/mana/commit/2305ca095bee6b32c930f71b99d4c1205ceb561b +add option to use system enet headers +https://github.com/mana/mana/commit/d754a64e3839b3888d489046546195792e4ecc34 + +--- 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) +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -42,9 +42,9 @@ + IF (NOT OSX AND NOT BEOS) + OPTION(USE_X11 "Use X11 Clipboard functionality" ON) + ENDIF () +- SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana) ++ SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana CACHE PATH "Mana datadir") + SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) +- SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin) ++ SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "Mana bindir") + ENDIF (WIN32) + + ADD_SUBDIRECTORY(data) +--- src/CMakeLists.txt ++++ src/CMakeLists.txt +@@ -12,7 +12,7 @@ + + IF (CMAKE_COMPILER_IS_GNUCXX) + # Help getting compilation warnings +- SET(CMAKE_CXX_FLAGS "-Wall") ++ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + IF (WIN32) + # This includes enough debug information to get something useful + # from Dr. Mingw while keeping binary size down. Almost useless +--- libs/enet/CMakeLists.txt ++++ libs/enet/CMakeLists.txt +@@ -1,3 +1,7 @@ ++INCLUDE(FindPkgConfig) ++ ++OPTION(WITH_BUNDLEDHEADERS "Use bundled enet headers" ON) ++ + INCLUDE(CheckFunctionExists) + CHECK_FUNCTION_EXISTS(gethostbyaddr_r HAS_GETHOSTBYNAME_R) + IF(HAS_GETHOSTBYNAME_R EQUAL 1) +@@ -49,7 +53,12 @@ + win32.c + ) + +-INCLUDE_DIRECTORIES("include") ++IF (WITH_BUNDLEDHEADERS) ++ INCLUDE_DIRECTORIES("include") ++ELSE (WITH_BUNDLEDHEADERS) ++ PKG_CHECK_MODULES(ENET REQUIRED libenet) ++ INCLUDE_DIRECTORIES("${ENET_INCLUDEDIR}") ++ENDIF() + + ADD_LIBRARY(enet STATIC ${SRCS}) + IF (BEOS) diff --git a/games-rpg/mana/mana-0.6.1.ebuild b/games-rpg/mana/mana-0.6.1.ebuild new file mode 100644 index 000000000000..07a39b52dcba --- /dev/null +++ b/games-rpg/mana/mana-0.6.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/mana-0.6.1.ebuild,v 1.1 2012/06/30 20:57:14 hasufell 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 server" + +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:0 + media-fonts/dejavu + >=dev-games/guichan-0.8.1[sdl] + media-libs/libsdl[X,opengl?,video] + media-libs/sdl-gfx + x11-libs/libX11 + nls? ( virtual/libintl ) + opengl? ( virtual/opengl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + server? ( net-libs/enet )" + +DOCS=( AUTHORS ChangeLog NEWS README ) +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_prepare() { + base_src_prepare + + if [[ ${LINGUAS+set} ]]; then + for lang in $(grep -v ^# po/LINGUAS); do + has $lang $LINGUAS || sed -i "s:^${lang}:#${lang}:" po/LINGUAS + done + fi +} + +src_compile() { + cmake-utils_src_compile +} + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with opengl) + $(cmake-utils_use_enable nls) + $(cmake-utils_use_enable server MANASERV) + -DPKG_DATADIR="${GAMES_DATADIR}/${PN}" + -DPKG_BINDIR="${GAMES_BINDIR}" + -DWITH_BUNDLEDHEADERS=OFF + ) + 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 + dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-mono.ttf + insinto "${GAMES_DATADIR}"/${PN}/data + prepgamesdirs +} diff --git a/games-rpg/mana/metadata.xml b/games-rpg/mana/metadata.xml index 01a746edb196..0c0ac8769ac3 100644 --- a/games-rpg/mana/metadata.xml +++ b/games-rpg/mana/metadata.xml @@ -2,5 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> + <use> + <flag name="server">Enable Manaserv support</flag> + </use> </pkgmetadata> |