summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/gemrb/ChangeLog7
-rw-r--r--games-engines/gemrb/gemrb-0.6.4.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/games-engines/gemrb/ChangeLog b/games-engines/gemrb/ChangeLog
index 2632adb5d321..f779739ed900 100644
--- a/games-engines/gemrb/ChangeLog
+++ b/games-engines/gemrb/ChangeLog
@@ -1,6 +1,11 @@
# 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.10 2011/03/13 14:10:04 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.11 2011/04/11 18:07:33 mr_bones_ Exp $
+
+*gemrb-0.6.4 (11 Apr 2011)
+
+ 11 Apr 2011; Michael Sterrett <mr_bones_@gentoo.org> +gemrb-0.6.4.ebuild:
+ version bump (bug #361657)
*gemrb-0.6.3 (13 Mar 2011)
diff --git a/games-engines/gemrb/gemrb-0.6.4.ebuild b/games-engines/gemrb/gemrb-0.6.4.ebuild
new file mode 100644
index 000000000000..e403b6d4ce14
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.6.4.ebuild
@@ -0,0 +1,62 @@
+# 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.4.ebuild,v 1.1 2011/04/11 18:07:33 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
+}
+
+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
+}