summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-01-02 05:10:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-01-02 05:10:48 +0000
commite5d5434319c00248fb0552e0c95f900039f77add (patch)
tree737cb9c21ce2d57f0ad958f868b3488055674290 /games-engines
parentVersion bump, remove old, update long description. Has various improvements t... (diff)
downloadgentoo-2-e5d5434319c00248fb0552e0c95f900039f77add.tar.gz
gentoo-2-e5d5434319c00248fb0552e0c95f900039f77add.tar.bz2
gentoo-2-e5d5434319c00248fb0552e0c95f900039f77add.zip
version bump
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/gemrb/ChangeLog9
-rw-r--r--games-engines/gemrb/gemrb-0.8.2.ebuild79
2 files changed, 86 insertions, 2 deletions
diff --git a/games-engines/gemrb/ChangeLog b/games-engines/gemrb/ChangeLog
index 2cdeac3662d6..7e6202677f0e 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.38 2014/08/25 20:56:32 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.39 2015/01/02 05:10:48 mr_bones_ Exp $
+
+*gemrb-0.8.2 (02 Jan 2015)
+
+ 02 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org> +gemrb-0.8.2.ebuild:
+ version bump
25 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> -gemrb-0.8.0.1.ebuild:
old
diff --git a/games-engines/gemrb/gemrb-0.8.2.ebuild b/games-engines/gemrb/gemrb-0.8.2.ebuild
new file mode 100644
index 000000000000..267e973eafc8
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.8.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.8.2.ebuild,v 1.1 2015/01/02 05:10:48 mr_bones_ Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+WANT_CMAKE=always
+inherit eutils python-any-r1 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=""
+
+RDEPEND="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
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ 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
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}