summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-01 23:57:06 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-01 23:57:06 +0000
commitdc3c4797fa4d974673f360cf6089ddbfc107d528 (patch)
treef17dc5d16d85468546d25afda31bb03e63956e7d /games-fps/doomsday
parentCreate /usr/bin in the $ROOT if it doesn't exist already. (diff)
downloadgentoo-2-dc3c4797fa4d974673f360cf6089ddbfc107d528.tar.gz
gentoo-2-dc3c4797fa4d974673f360cf6089ddbfc107d528.tar.bz2
gentoo-2-dc3c4797fa4d974673f360cf6089ddbfc107d528.zip
Version bump
(Portage version: 2.1.2-r5)
Diffstat (limited to 'games-fps/doomsday')
-rw-r--r--games-fps/doomsday/ChangeLog10
-rw-r--r--games-fps/doomsday/doomsday-1.9.0_beta5.ebuild79
-rw-r--r--games-fps/doomsday/files/digest-doomsday-1.9.0_beta53
3 files changed, 90 insertions, 2 deletions
diff --git a/games-fps/doomsday/ChangeLog b/games-fps/doomsday/ChangeLog
index a210ec43c343..c3ac020d480a 100644
--- a/games-fps/doomsday/ChangeLog
+++ b/games-fps/doomsday/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/doomsday
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.19 2006/12/04 23:10:26 wolf31o2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.20 2007/02/01 23:57:06 nyhm Exp $
+
+*doomsday-1.9.0_beta5 (01 Feb 2007)
+
+ 01 Feb 2007; Tristan Heaven <nyhm@gentoo.org>
+ +doomsday-1.9.0_beta5.ebuild:
+ Version bump
04 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
doomsday-1.9.0_beta4.ebuild, doomsday-1.9.0_beta4-r1.ebuild:
diff --git a/games-fps/doomsday/doomsday-1.9.0_beta5.ebuild b/games-fps/doomsday/doomsday-1.9.0_beta5.ebuild
new file mode 100644
index 000000000000..89e9007fc5bd
--- /dev/null
+++ b/games-fps/doomsday/doomsday-1.9.0_beta5.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2007 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_beta5.ebuild,v 1.1 2007/02/01 23:57:06 nyhm Exp $
+
+inherit toolchain-funcs games
+
+MY_P=deng-${PV/_/-}
+DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
+HOMEPAGE="http://www.doomsdayhq.com/"
+SRC_URI="mirror://sourceforge/deng/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="openal"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-net
+ media-libs/libpng
+ openal? ( media-libs/openal )"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4
+ app-arch/zip"
+
+S=${WORKDIR}/${MY_P}/${PN}/build
+
+src_compile() {
+ cmake \
+ -DCMAKE_C_COMPILER=$(which $(tc-getCC)) \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Ddatadir="${GAMES_DATADIR}"/${PN} \
+ -Dbindir="${GAMES_BINDIR}" \
+ -Dlibdir="${GAMES_LIBDIR}" \
+ $(use openal && echo -DBUILDOPENAL=1) \
+ ../ || die "cmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ 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 ../../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"
+}
diff --git a/games-fps/doomsday/files/digest-doomsday-1.9.0_beta5 b/games-fps/doomsday/files/digest-doomsday-1.9.0_beta5
new file mode 100644
index 000000000000..fcbbe30e8d02
--- /dev/null
+++ b/games-fps/doomsday/files/digest-doomsday-1.9.0_beta5
@@ -0,0 +1,3 @@
+MD5 2aafcb12a33c1363f141137daeeff3b6 deng-1.9.0-beta5.tar.gz 6210089
+RMD160 f47288f3b795682ab2ae0af216bbb77d4a4c32eb deng-1.9.0-beta5.tar.gz 6210089
+SHA256 4c5aabdd9dc28a5241fe5272f3660177da4b5f5a04d6a9c996fa77d190b0ee44 deng-1.9.0-beta5.tar.gz 6210089