summaryrefslogtreecommitdiff
blob: a88148eb0999c5c67803fb16d30c6e142b0e6674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/glxquake-bin/glxquake-bin-0-r1.ebuild,v 1.1 2006/09/10 10:49:21 tupone Exp $

inherit games

DESCRIPTION="a binary that works with every 3D-graphics-card that supports the glx X-extension"
HOMEPAGE="http://mfcn.ilo.de/glxquake/"
SRC_URI="http://www.wh-hms.uni-ulm.de/~mfcn/shared/glxquake/glxquake.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""

RDEPEND="sys-libs/glibc
	virtual/opengl
	x86? (
		|| (
			(
				x11-libs/libX11
				x11-libs/libXext
				x11-libs/libXxf86vm
				x11-libs/libdrm
				x11-libs/libXau
				x11-libs/libXdmcp )
			virtual/x11 ) )
	amd64? ( app-emulation/emul-linux-x86-xlibs )"

S=${WORKDIR}/glxquake

src_install() {
	dogamesbin glquake || die "dogamesbin failed"
	dodoc README
	prepgamesdirs
}

pkg_postinst() {
	games_pkg_postinst
	einfo "To play with it, create a subdirectory called id1"
	einfo "Copy the pak0.pak, and eventually pak1.pak into this subdirectory"
	einfo "You can eventually get pak0.pak emerging games-fps/quake1-demodata"
	einfo "The file pak0.pak will be on the ${GAMES_DATADIR}/quake1/demo/"
	einfo "You can now run glxquake by executing glquake"
}