summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-02-17 06:26:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-02-17 06:26:14 +0000
commit194883b39db9f2b0fdf90aafd8f3b66e3b57e1d0 (patch)
tree22bcd3f5e88b5bbc2a1313ab25cafbb697150f7c /games-rpg
parentMake gnome-keyring optional for bug 403879 by haarp. (diff)
downloadgentoo-2-194883b39db9f2b0fdf90aafd8f3b66e3b57e1d0.tar.gz
gentoo-2-194883b39db9f2b0fdf90aafd8f3b66e3b57e1d0.tar.bz2
gentoo-2-194883b39db9f2b0fdf90aafd8f3b66e3b57e1d0.zip
version bump (bug #404219)
(Portage version: 2.1.10.44/cvs/Linux i686)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/mana/ChangeLog8
-rw-r--r--games-rpg/mana/files/mana-0.6.0-gentoo.patch31
-rw-r--r--games-rpg/mana/mana-0.6.0.ebuild65
3 files changed, 103 insertions, 1 deletions
diff --git a/games-rpg/mana/ChangeLog b/games-rpg/mana/ChangeLog
index eb7f5b45bf18..e469214d9932 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.4 2012/01/15 15:40:30 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/ChangeLog,v 1.5 2012/02/17 06:26:14 mr_bones_ Exp $
+
+*mana-0.6.0 (17 Feb 2012)
+
+ 17 Feb 2012; Michael Sterrett <mr_bones_@gentoo.org> +mana-0.6.0.ebuild,
+ +files/mana-0.6.0-gentoo.patch:
+ version bump (bug #404219)
15 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> mana-0.5.3.ebuild:
x86 stable wrt bug #396627
diff --git a/games-rpg/mana/files/mana-0.6.0-gentoo.patch b/games-rpg/mana/files/mana-0.6.0-gentoo.patch
new file mode 100644
index 000000000000..b5f90cb6658c
--- /dev/null
+++ b/games-rpg/mana/files/mana-0.6.0-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.6.0.ebuild b/games-rpg/mana/mana-0.6.0.ebuild
new file mode 100644
index 000000000000..f9c73498c552
--- /dev/null
+++ b/games-rpg/mana/mana-0.6.0.ebuild
@@ -0,0 +1,65 @@
+# 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.0.ebuild,v 1.1 2012/02/17 06:26:14 mr_bones_ 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[X,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
+ dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-mono.ttf
+ insinto "${GAMES_DATADIR}"/${PN}/data
+ prepgamesdirs
+}