summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-06-01 07:30:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-06-01 07:30:38 +0000
commitdb152dc39340097bf4cdb7425aeae78bbaf353fc (patch)
tree25d2970b03027f8d3f58e400d56726882a6728a1 /games-engines/gemrb
parentInitial import. New dependency for dev-ruby/capistrano. (diff)
downloadgentoo-2-db152dc39340097bf4cdb7425aeae78bbaf353fc.tar.gz
gentoo-2-db152dc39340097bf4cdb7425aeae78bbaf353fc.tar.bz2
gentoo-2-db152dc39340097bf4cdb7425aeae78bbaf353fc.zip
version bump (bug #511558)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-engines/gemrb')
-rw-r--r--games-engines/gemrb/ChangeLog7
-rw-r--r--games-engines/gemrb/gemrb-0.8.1.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/games-engines/gemrb/ChangeLog b/games-engines/gemrb/ChangeLog
index 91c45aca2857..23675ef7399c 100644
--- a/games-engines/gemrb/ChangeLog
+++ b/games-engines/gemrb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-engines/gemrb
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.33 2014/03/03 23:33:30 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.34 2014/06/01 07:30:38 mr_bones_ Exp $
+
+*gemrb-0.8.1 (01 Jun 2014)
+
+ 01 Jun 2014; Michael Sterrett <mr_bones_@gentoo.org> +gemrb-0.8.1.ebuild:
+ version bump (bug #511558)
03 Mar 2014; Pacho Ramos <pacho@gentoo.org> gemrb-0.8.0.1.ebuild:
amd64 stable, bug #483986
diff --git a/games-engines/gemrb/gemrb-0.8.1.ebuild b/games-engines/gemrb/gemrb-0.8.1.ebuild
new file mode 100644
index 000000000000..e3bb507edab7
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.8.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.8.1.ebuild,v 1.1 2014/06/01 07:30:38 mr_bones_ Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+WANT_CMAKE=always
+inherit eutils python cmake-utils gnome2-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/freetype
+ media-libs/libpng:0
+ >=media-libs/libsdl-1.2[video]
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-mixer
+ sys-libs/zlib"
+RDEPEND=${DEPEND}
+
+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}"
+ -DSVG_DIR=/usr/share/icons/hicolor/scalable/apps
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README NEWS AUTHORS
+ prepgamesdirs
+ prepalldocs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}