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
commita9def0bd93a397c44b01c4739e5d96d8284b7da2 (patch)
treef5eec3f2e52ede94332885e57f6d813aeef5bbda /games-fps/doomsday
parentstable on amd64 (diff)
downloadhistorical-a9def0bd93a397c44b01c4739e5d96d8284b7da2.tar.gz
historical-a9def0bd93a397c44b01c4739e5d96d8284b7da2.tar.bz2
historical-a9def0bd93a397c44b01c4739e5d96d8284b7da2.zip
initial ebuild #53793
Diffstat (limited to 'games-fps/doomsday')
-rw-r--r--games-fps/doomsday/ChangeLog8
-rw-r--r--games-fps/doomsday/Manifest16
-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, 98 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..a79fca199650
--- /dev/null
+++ b/games-fps/doomsday/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 8746da74b983aa22bfa561f899818e12 doomsday-1.8.0.ebuild 1135
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 f685444ddf8a83c1f7d779eb05e45973 ChangeLog 369
+MD5 5f91dc6393ff5aba59c015a5ab9ccbd0 files/1.8.0-filename-case.patch 502
+MD5 5fa792096b783fb6b3cd3bd45c2f709c files/wrapper 136
+MD5 c9f45fe4b0c154013fe56c8915ebd3f1 files/digest-doomsday-1.8.0 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.8 (GNU/Linux)
+
+iD8DBQFA/fASHTu7gpaalycRAmd9AKC5O9pR67eDUmhn03D5A3uEcwA8QwCgjalS
+5J/I/PK3LcE+urs0Kp2LmSg=
+=soQA
+-----END PGP SIGNATURE-----
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>