summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-11-29 19:05:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-11-29 19:05:37 +0000
commita0c8c1fcdeb173ce749fe4c605d2af97de1245b3 (patch)
tree18773028a1bb3b48064afdd8ea524ed69442ee12 /games-engines
parenttweak failure message as pointed out by David James (diff)
downloadgentoo-2-a0c8c1fcdeb173ce749fe4c605d2af97de1245b3.tar.gz
gentoo-2-a0c8c1fcdeb173ce749fe4c605d2af97de1245b3.tar.bz2
gentoo-2-a0c8c1fcdeb173ce749fe4c605d2af97de1245b3.zip
version bump (bug #392373)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/gemrb/ChangeLog8
-rw-r--r--games-engines/gemrb/files/gemrb-0.6.6-gcc46.patch11
-rw-r--r--games-engines/gemrb/gemrb-0.6.6.ebuild63
3 files changed, 81 insertions, 1 deletions
diff --git a/games-engines/gemrb/ChangeLog b/games-engines/gemrb/ChangeLog
index 5464159ce329..6902f8f415e1 100644
--- a/games-engines/gemrb/ChangeLog
+++ b/games-engines/gemrb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-engines/gemrb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.14 2011/06/01 15:42:19 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.15 2011/11/29 19:05:37 mr_bones_ Exp $
+
+*gemrb-0.6.6 (29 Nov 2011)
+
+ 29 Nov 2011; Michael Sterrett <mr_bones_@gentoo.org> +gemrb-0.6.6.ebuild,
+ +files/gemrb-0.6.6-gcc46.patch:
+ version bump (bug #392373)
01 Jun 2011; Tupone Alfredo <tupone@gentoo.org> gemrb-0.6.4.ebuild,
+files/gemrb-0.6.4-gcc46.patch:
diff --git a/games-engines/gemrb/files/gemrb-0.6.6-gcc46.patch b/games-engines/gemrb/files/gemrb-0.6.6-gcc46.patch
new file mode 100644
index 000000000000..e19fe628b911
--- /dev/null
+++ b/games-engines/gemrb/files/gemrb-0.6.6-gcc46.patch
@@ -0,0 +1,11 @@
+--- gemrb/core/EffectQueue.h.old 2011-06-01 17:24:47.102882668 +0200
++++ gemrb/core/EffectQueue.h 2011-06-01 17:25:07.399156225 +0200
+@@ -28,6 +28,8 @@
+ #ifndef EFFECTQUEUE_H
+ #define EFFECTQUEUE_H
+
++#include <cstddef>
++
+ #include "exports.h"
+
+ #include "Effect.h"
diff --git a/games-engines/gemrb/gemrb-0.6.6.ebuild b/games-engines/gemrb/gemrb-0.6.6.ebuild
new file mode 100644
index 000000000000..8d1fff203984
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.6.6.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.6.6.ebuild,v 1.1 2011/11/29 19:05:37 mr_bones_ Exp $
+
+PYTHON_DEPEND="2"
+EAPI=2
+WANT_CMAKE=always
+inherit eutils python cmake-utils games
+
+DESCRIPTION="Reimplementation of the Infinity engine"
+HOMEPAGE="http://gemrb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2[video]
+ sys-libs/zlib
+ media-libs/libvorbis
+ media-libs/libpng
+ media-libs/sdl-mixer
+ media-libs/openal"
+
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
+src_prepare() {
+ sed -i \
+ -e '/COPYING/d' \
+ CMakeLists.txt \
+ || die
+ epatch "${FILESDIR}"/${P}-gcc46.patch
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ -DBIN_DIR="${GAMES_BINDIR}"
+ -DDATA_DIR="${GAMES_DATADIR}/gemrb"
+ -DSYSCONF_DIR="${GAMES_SYSCONFDIR}/gemrb"
+ -DLIB_DIR="$(games_get_libdir)"
+ -DMAN_DIR=/usr/share/man/man6
+ -DICON_DIR=/usr/share/pixmaps
+ -DMENU_DIR=/usr/share/applications
+ -DDOC_DIR="/usr/share/doc/${PF}"
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README NEWS AUTHORS
+ prepgamesdirs
+ prepalldocs
+}