summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-29 11:49:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-29 11:49:57 +0000
commitf78dd56d5132c77bc325fb05ef37597b2d5ee35a (patch)
tree88a444fcfeb10cb6abef8cdb8e5b9f861dd771c7 /games-engines
parentQA: kde-base -> kde, need-kde after R/DEPEND (Manifest recommit) (diff)
downloadgentoo-2-f78dd56d5132c77bc325fb05ef37597b2d5ee35a.tar.gz
gentoo-2-f78dd56d5132c77bc325fb05ef37597b2d5ee35a.tar.bz2
gentoo-2-f78dd56d5132c77bc325fb05ef37597b2d5ee35a.zip
version bump
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/exult/ChangeLog7
-rw-r--r--games-engines/exult/exult-1.2.ebuild87
-rw-r--r--games-engines/exult/files/digest-exult-1.23
3 files changed, 96 insertions, 1 deletions
diff --git a/games-engines/exult/ChangeLog b/games-engines/exult/ChangeLog
index ef33763792c9..b7fe63770641 100644
--- a/games-engines/exult/ChangeLog
+++ b/games-engines/exult/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-engines/exult
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.7 2004/06/24 22:38:20 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.8 2004/06/29 11:49:57 mr_bones_ Exp $
+
+*exult-1.2 (29 Jun 2004)
+
+ 29 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> +exult-1.2.ebuild:
+ version bump
20 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
exult-1.1.10_rc2.ebuild:
diff --git a/games-engines/exult/exult-1.2.ebuild b/games-engines/exult/exult-1.2.ebuild
new file mode 100644
index 000000000000..907636fb7cfd
--- /dev/null
+++ b/games-engines/exult/exult-1.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v 1.1 2004/06/29 11:49:57 mr_bones_ Exp $
+
+inherit 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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc ~sparc"
+IUSE="timidity zlib mmx 3dnow"
+
+DEPEND=">=media-libs/libsdl-1.2*
+ >=media-libs/sdl-mixer-1.2.4
+ media-libs/smpeg
+ media-libs/libogg
+ media-libs/libvorbis
+ timidity? ( >=media-sound/timidity++-2* )
+ zlib? ( sys-libs/zlib )"
+
+# upstream says... "the opengl renderer is very very experimental and
+# not recommended for actual use"
+#opengl? ( virtual/opengl )
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ mkdir music/
+ cd music/
+ unpack U7MusicOGG_[12]of2.zip
+ cd ${S}
+ sed -i \
+ -e "s/u7siinstrics.data/u7siintrinsics.data/" \
+ usecode/ucxt/data/Makefile.in \
+ || die "sed usecode/ucxt/data/Makefile.in failed"
+ # This fix is needed for gimp-plugin support if we want to turn that on.
+ #sed -i \
+ #-e 's/$(DESTDIR)$(GIMP_PLUGINS) /$(GIMP_PLUGINS) $(DESTDIR)/' \
+ #mapedit/Makefile.in \
+ #|| die "sed mapedit/Makefile.in failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-tools \
+ --disable-opengl \
+ $(use_enable timidity) \
+ $(use_enable zlib zip-support) \
+ $(use_enable mmx) \
+ $(use_enable 3dnow) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" \
+ desktopdir='/usr/share/applications/' \
+ icondir='/usr/share/icons' \
+ install || die "make install failed"
+ # 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"
+ newdoc "${WORKDIR}/music/readme.txt" music-readme.txt
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ if use timidity ; then
+ einfo "To hear music in exult, you have to install a timidity-patch."
+ einfo "Try this:"
+ einfo " $ emerge timidity-eawpatches"
+ einfo "kernel drivers. Install alsa instead."
+ echo
+ fi
+ einfo "You *must* have the original Ultima7 The Black Gate and/or"
+ einfo "The Serpent Isle installed. "
+ einfo "See /usr/share/doc/${PF}/README.gz for information!"
+}
diff --git a/games-engines/exult/files/digest-exult-1.2 b/games-engines/exult/files/digest-exult-1.2
new file mode 100644
index 000000000000..2a7b44e22def
--- /dev/null
+++ b/games-engines/exult/files/digest-exult-1.2
@@ -0,0 +1,3 @@
+MD5 0fc88dee74a91724d25373ba0a8670ba exult-1.2.tar.gz 1722259
+MD5 7746d1a9164fd67509107797496553bf U7MusicOGG_1of2.zip 12614413
+MD5 cdae5956d7c52f35e90317913a660123 U7MusicOGG_2of2.zip 11382878