summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-10 06:20:13 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-10 06:20:13 +0000
commitec47acaf66c9f7d2e32e55d940be18703086205e (patch)
tree09e708cbb6eae017ff5cd70d1ae5328d503ac00c /games-fps
parentVersion bump (diff)
downloadgentoo-2-ec47acaf66c9f7d2e32e55d940be18703086205e.tar.gz
gentoo-2-ec47acaf66c9f7d2e32e55d940be18703086205e.tar.bz2
gentoo-2-ec47acaf66c9f7d2e32e55d940be18703086205e.zip
version bump
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/doomsday/ChangeLog8
-rw-r--r--games-fps/doomsday/doomsday-1.9.0_beta68.ebuild83
2 files changed, 90 insertions, 1 deletions
diff --git a/games-fps/doomsday/ChangeLog b/games-fps/doomsday/ChangeLog
index 023d7c3cb216..632a726de35b 100644
--- a/games-fps/doomsday/ChangeLog
+++ b/games-fps/doomsday/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/doomsday
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.31 2010/01/23 16:52:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.32 2010/03/10 06:20:13 mr_bones_ Exp $
+
+*doomsday-1.9.0_beta68 (10 Mar 2010)
+
+ 10 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +doomsday-1.9.0_beta68.ebuild:
+ version bump
23 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
doomsday-1.9.0_beta67.ebuild:
diff --git a/games-fps/doomsday/doomsday-1.9.0_beta68.ebuild b/games-fps/doomsday/doomsday-1.9.0_beta68.ebuild
new file mode 100644
index 000000000000..984833d0b1d0
--- /dev/null
+++ b/games-fps/doomsday/doomsday-1.9.0_beta68.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.9.0_beta68.ebuild,v 1.1 2010/03/10 06:20:13 mr_bones_ Exp $
+
+EAPI=2
+inherit cmake-utils games
+
+MY_P=deng-1.9.0-beta6.8 # FIXME, this is stupid
+DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
+HOMEPAGE="http://www.dengine.net/"
+SRC_URI="mirror://sourceforge/deng/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="openal"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl[video]
+ media-libs/sdl-mixer
+ media-libs/sdl-net
+ media-libs/libpng
+ net-misc/curl
+ openal? ( media-libs/openal )"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+S=${WORKDIR}/${MY_P}/${PN}
+
+src_configure() {
+ local mycmakeargs="
+ -Dbindir=${GAMES_BINDIR}
+ -Ddatadir=${GAMES_DATADIR}/${PN}
+ -Dlibdir=$(games_get_libdir)/${PN}
+ $(cmake-utils_use openal BUILDOPENAL)"
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ mv "${D}/${GAMES_DATADIR}"/{${PN}/data/jdoom,doom-data} || die
+ dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/${PN}/data/jdoom || die
+
+ local game
+ for game in jdoom jheretic jhexen ; do
+ newgamesbin "${FILESDIR}"/wrapper ${game}
+ sed -i "s:GAME:${game}:" \
+ "${D}/${GAMES_BINDIR}"/${game} \
+ || die "sed ${GAMES_BINDIR}/${game} failed"
+ done
+
+ # Make wrappers for the common wads
+ local n
+ for n in doom doom2 ; do
+ games_make_wrapper ${PN}-${n} \
+ "jdoom -file \"${GAMES_DATADIR}\"/doom-data/${n}.wad"
+ done
+
+ doman engine/doc/${PN}.6
+ dodoc engine/doc/*.txt build/README
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "To play the original Doom levels, place doom.wad and/or doom2.wad"
+ elog "into ${GAMES_DATADIR}/doom-data"
+ elog "Then run doomsday-doom or doomsday-doom2 accordingly."
+ elog
+ elog "doom1.wad is the shareware demo wad consisting of 1 episode,"
+ elog "and doom.wad is the full Doom 1 set of 3 episodes"
+ elog "(or 4 in the Final Doom wad)."
+ elog
+ elog "You can even emerge doom-data and/or freedoom, with the doomsday use"
+ elog "flag enabled, to play for free"
+}