summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-01-20 21:21:08 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-01-20 21:21:08 +0000
commitd2e3e1e0f1ebb0cccd28790d1ad6358e5ba06a14 (patch)
treef787d68571304d488305c5f4cde1a1cba6097e56 /games-engines/exult
parentVersion bump. The new version finally fixes a long outstanding issue with uam... (diff)
downloadgentoo-2-d2e3e1e0f1ebb0cccd28790d1ad6358e5ba06a14.tar.gz
gentoo-2-d2e3e1e0f1ebb0cccd28790d1ad6358e5ba06a14.tar.bz2
gentoo-2-d2e3e1e0f1ebb0cccd28790d1ad6358e5ba06a14.zip
Add masked rc release for testing
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-engines/exult')
-rw-r--r--games-engines/exult/ChangeLog10
-rw-r--r--games-engines/exult/exult-1.4.9_rc1.ebuild76
-rw-r--r--games-engines/exult/files/exult-1.4.9_rc1-desktop.patch15
3 files changed, 99 insertions, 2 deletions
diff --git a/games-engines/exult/ChangeLog b/games-engines/exult/ChangeLog
index 8e30b1bdd684..a44c2160f4ff 100644
--- a/games-engines/exult/ChangeLog
+++ b/games-engines/exult/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-engines/exult
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.27 2010/05/17 10:36:19 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.28 2011/01/20 21:21:08 mr_bones_ Exp $
+
+*exult-1.4.9_rc1 (20 Jan 2011)
+
+ 20 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ +exult-1.4.9_rc1.ebuild, +files/exult-1.4.9_rc1-desktop.patch:
+ Add masked rc release for testing
17 May 2010; Samuli Suominen <ssuominen@gentoo.org> exult-1.2.ebuild,
+files/exult-1.2-libpng14.patch:
diff --git a/games-engines/exult/exult-1.4.9_rc1.ebuild b/games-engines/exult/exult-1.4.9_rc1.ebuild
new file mode 100644
index 000000000000..486c538afec0
--- /dev/null
+++ b/games-engines/exult/exult-1.4.9_rc1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.4.9_rc1.ebuild,v 1.1 2011/01/20 21:21:08 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools multilib eutils games
+
+DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
+HOMEPAGE="http://exult.sourceforge.net/"
+SRC_URI="mirror://sourceforge/exult/${P/_/}.tar.gz
+ mirror://sourceforge/exult/U7MusicOGG_1of2.zip
+ mirror://sourceforge/exult/U7MusicOGG_2of2.zip
+ mirror://sourceforge/exult/jmsfx.zip
+ mirror://sourceforge/exult/jmsfxsi.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="timidity zlib"
+
+RDEPEND=">=media-libs/libpng-1.2.43-r2:0
+ media-libs/libsdl[audio,video,X]
+ timidity? ( >=media-sound/timidity++-2 )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${P/_/}
+
+src_unpack() {
+ unpack ${P/_/}.tar.gz
+ mkdir music/
+ cd music/
+ unpack U7MusicOGG_{1,2}of2.zip
+ cd "${WORKDIR}"
+ mkdir flx/
+ cd flx/
+ unpack jmsfx{,si}.zip
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-desktop.patch
+}
+
+src_configure() {
+ egamesconf \
+ --x-libraries="/usr/$(get_libdir)" \
+ --disable-dependency-tracking \
+ --disable-tools \
+ --disable-opengl \
+ --enable-mods \
+ --with-desktopdir=/usr/share/applications \
+ --with-icondir=/usr/share/pixmaps \
+ $(use_enable timidity timidity-midi) \
+ $(use_enable zlib zip-support)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ # no need for this directory for just playing the game
+ rm -rf "${D}${GAMES_DATADIR}/${PN}/estudio"
+ dodoc AUTHORS ChangeLog NEWS FAQ README README.1ST
+ insinto "${GAMES_DATADIR}/${PN}/music"
+ doins "${WORKDIR}/music/"*ogg || die "doins failed"
+ insinto "${GAMES_DATADIR}/${PN}/"
+ doins "${WORKDIR}/flx/"*.flx || die "doins failed"
+ newdoc "${WORKDIR}/music/readme.txt" music-readme.txt
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "You *must* have the original Ultima7 The Black Gate and/or"
+ elog "The Serpent Isle installed."
+ elog "See documentation in /usr/share/doc/${PF} for information."
+}
diff --git a/games-engines/exult/files/exult-1.4.9_rc1-desktop.patch b/games-engines/exult/files/exult-1.4.9_rc1-desktop.patch
new file mode 100644
index 000000000000..3869431a9917
--- /dev/null
+++ b/games-engines/exult/files/exult-1.4.9_rc1-desktop.patch
@@ -0,0 +1,15 @@
+diff -ru exult-1.4.9rc1.orig/desktop/exult.desktop exult-1.4.9rc1/desktop/exult.desktop
+--- exult-1.4.9rc1.orig/desktop/exult.desktop 2008-07-10 19:41:06.000000000 -0400
++++ exult-1.4.9rc1/desktop/exult.desktop 2010-11-11 02:24:03.897818134 -0500
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Exult
+ Comment=Exult Ultima 7 Engine
+ Exec=exult
+-Icon=exult.png
++Icon=exult
+ Terminal=false
+ Type=Application
+-Categories=Application;Game;RolePlaying;
++Categories=Game;RolePlaying;