summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-12-13 20:16:46 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-12-13 20:16:46 +0000
commit63dc6c31e053f800e1406b0b19b933b7f262f03d (patch)
tree0a8802cac83881343faaffbd4de0c5ce8a98e905 /games-engines
parentVersion bump, drop old (diff)
downloadgentoo-2-63dc6c31e053f800e1406b0b19b933b7f262f03d.tar.gz
gentoo-2-63dc6c31e053f800e1406b0b19b933b7f262f03d.tar.bz2
gentoo-2-63dc6c31e053f800e1406b0b19b933b7f262f03d.zip
version bump
(Portage version: 2.2.0_alpha145/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/gemrb/ChangeLog7
-rw-r--r--games-engines/gemrb/gemrb-0.7.2.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/games-engines/gemrb/ChangeLog b/games-engines/gemrb/ChangeLog
index 836a50bfd7cc..6f0168b06eaf 100644
--- a/games-engines/gemrb/ChangeLog
+++ b/games-engines/gemrb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-engines/gemrb
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.26 2012/09/23 08:48:59 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.27 2012/12/13 20:16:46 hasufell Exp $
+
+*gemrb-0.7.2 (13 Dec 2012)
+
+ 13 Dec 2012; Julian Ospald <hasufell@gentoo.org> +gemrb-0.7.2.ebuild:
+ version bump
23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gemrb-0.7.1.ebuild:
x86 stable wrt bug #432072
diff --git a/games-engines/gemrb/gemrb-0.7.2.ebuild b/games-engines/gemrb/gemrb-0.7.2.ebuild
new file mode 100644
index 000000000000..4202d9cd1f5f
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.7.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.7.2.ebuild,v 1.1 2012/12/13 20:16:46 hasufell Exp $
+
+EAPI=2
+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"
+
+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
+}