summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-21 04:24:36 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-21 04:24:36 +0000
commit72529162b4024d7f3c46415286f0296871bb1e49 (patch)
tree8e68f1662411372c3ae82eebac0d9d634474a767 /games-fps/doomsday
parentstable on amd64 (Manifest recommit) (diff)
downloadgentoo-2-72529162b4024d7f3c46415286f0296871bb1e49.tar.gz
gentoo-2-72529162b4024d7f3c46415286f0296871bb1e49.tar.bz2
gentoo-2-72529162b4024d7f3c46415286f0296871bb1e49.zip
initial ebuild #53793
Diffstat (limited to 'games-fps/doomsday')
-rw-r--r--games-fps/doomsday/ChangeLog8
-rw-r--r--games-fps/doomsday/Manifest4
-rw-r--r--games-fps/doomsday/doomsday-1.8.0.ebuild45
-rw-r--r--games-fps/doomsday/files/1.8.0-filename-case.patch17
-rw-r--r--games-fps/doomsday/files/digest-doomsday-1.8.01
-rw-r--r--games-fps/doomsday/files/wrapper6
-rw-r--r--games-fps/doomsday/metadata.xml5
7 files changed, 86 insertions, 0 deletions
diff --git a/games-fps/doomsday/ChangeLog b/games-fps/doomsday/ChangeLog
new file mode 100644
index 000000000000..8bf16e739392
--- /dev/null
+++ b/games-fps/doomsday/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-fps/doomsday
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.1 2004/07/21 04:24:36 vapier Exp $
+
+*doomsday-1.8.0 (21 Jul 2004)
+
+ 21 Jul 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Hinrik Örn Sigurðsson #53793.
diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest
new file mode 100644
index 000000000000..66212f74ff97
--- /dev/null
+++ b/games-fps/doomsday/Manifest
@@ -0,0 +1,4 @@
+MD5 62f93fe311c088fc5e70156642067a15 doomsday-1.8.0.ebuild 961
+MD5 5f91dc6393ff5aba59c015a5ab9ccbd0 files/1.8.0-filename-case.patch 502
+MD5 5fa792096b783fb6b3cd3bd45c2f709c files/wrapper 136
+MD5 c9f45fe4b0c154013fe56c8915ebd3f1 files/digest-doomsday-1.8.0 63
diff --git a/games-fps/doomsday/doomsday-1.8.0.ebuild b/games-fps/doomsday/doomsday-1.8.0.ebuild
new file mode 100644
index 000000000000..f067402999f2
--- /dev/null
+++ b/games-fps/doomsday/doomsday-1.8.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.8.0.ebuild,v 1.1 2004/07/21 04:24:36 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
+HOMEPAGE="http://www.doomsdayhq.com/"
+SRC_URI="mirror://sourceforge/deng/deng-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="openal"
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-net
+ openal? ( media-libs/openal )"
+
+S=${WORKDIR}/deng-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-filename-case.patch
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "egamesinstall failed"
+ rmdir ${D}/${GAMES_PREFIX}/include
+ mv ${D}/${GAMES_DATADIR}/{deng/Data/jDoom,doom-data}
+ dosym ${GAMES_DATADIR}/doom-data ${GAMES_DATADIR}/deng/Data/jDoom
+
+ local game
+ for game in jdoom jheretic jhexen ; do
+ newgamesbin ${FILESDIR}/wrapper ${game}
+ dosed "s:GAME:${game}:" ${GAMES_BINDIR}/${game}
+ done
+
+ dodoc Doc/*.txt Doc/*/*.txt README
+ prepgamesdirs
+}
diff --git a/games-fps/doomsday/files/1.8.0-filename-case.patch b/games-fps/doomsday/files/1.8.0-filename-case.patch
new file mode 100644
index 000000000000..7458c39f5013
--- /dev/null
+++ b/games-fps/doomsday/files/1.8.0-filename-case.patch
@@ -0,0 +1,17 @@
+--- deng-1.8.0/Src/jDoom/d_main.c.orig 2004-07-20 23:26:09.811971144 -0400
++++ deng-1.8.0/Src/jDoom/d_main.c 2004-07-20 23:26:22.532300424 -0400
+@@ -139,10 +139,10 @@
+ fspec_t iwads[] = {
+ {"TNT.wad", "-tnt"},
+ {"Plutonia.wad", "-plutonia"},
+- {"Doom2.wad", "-doom2"},
+- {"Doom1.wad", "-sdoom"},
+- {"Doom.wad", "-doom"},
+- {"Doom.wad", "-ultimate"},
++ {"doom2.wad", "-doom2"},
++ {"doom1.wad", "-sdoom"},
++ {"doom.wad", "-doom"},
++ {"doom.wad", "-ultimate"},
+ {0, 0}
+ };
+ int i, k;
diff --git a/games-fps/doomsday/files/digest-doomsday-1.8.0 b/games-fps/doomsday/files/digest-doomsday-1.8.0
new file mode 100644
index 000000000000..1d5461e2195c
--- /dev/null
+++ b/games-fps/doomsday/files/digest-doomsday-1.8.0
@@ -0,0 +1 @@
+MD5 2cb177b22ea43239d1d16fa43e19dc63 deng-1.8.0.tar.gz 3070052
diff --git a/games-fps/doomsday/files/wrapper b/games-fps/doomsday/files/wrapper
new file mode 100644
index 000000000000..52eb0c8f57fe
--- /dev/null
+++ b/games-fps/doomsday/files/wrapper
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+userdir="${HOME}/.doomsday/GAME"
+mkdir -p "${userdir}"
+cd "${userdir}"
+exec doomsday -game GAME -userdir "${userdir}" "$@"
diff --git a/games-fps/doomsday/metadata.xml b/games-fps/doomsday/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-fps/doomsday/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>