Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: games-mods.eclass
Date: Wed, 30 Sep 2009 23:40:20
Message-Id: E1Mt8mP-0004Tc-H2@stork.gentoo.org
1 nyhm 09/09/30 23:40:17
2
3 Modified: games-mods.eclass
4 Log:
5 Add RDEPENDs for each GAME
6
7 Revision Changes Path
8 1.21 eclass/games-mods.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?rev=1.21&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?rev=1.21&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?r1=1.20&r2=1.21
13
14 Index: games-mods.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v
17 retrieving revision 1.20
18 retrieving revision 1.21
19 diff -u -r1.20 -r1.21
20 --- games-mods.eclass 30 Sep 2009 20:27:48 -0000 1.20
21 +++ games-mods.eclass 30 Sep 2009 23:40:17 -0000 1.21
22 @@ -1,6 +1,6 @@
23 -# Copyright 1999-2006 Gentoo Foundation
24 +# Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.20 2009/09/30 20:27:48 nyhm Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.21 2009/09/30 23:40:17 nyhm Exp $
28
29 # Variables to specify in an ebuild which uses this eclass:
30 # GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-"
31 @@ -20,6 +20,7 @@
32 # Set our default title, icon, and cli options
33 case "${GAME}" in
34 "doom3")
35 + RDEPEND="games-fps/doom3"
36 GAME_TITLE="Doom III"
37 DEFAULT_MOD_ICON="doom3"
38 SELECT_MOD="+set fs_game "
39 @@ -28,6 +29,7 @@
40 DED_OPTIONS="+set dedicated 1 +exec server.cfg"
41 ;;
42 "enemy-territory")
43 + RDEPEND="games-fps/enemy-territory"
44 GAME_TITLE="Enemy Territory"
45 DEFAULT_MOD_ICON="ET"
46 SELECT_MOD="+set fs_game "
47 @@ -36,6 +38,7 @@
48 DED_OPTIONS="+set dedicated 1 +exec server.cfg"
49 ;;
50 "quake3")
51 + RDEPEND="|| ( games-fps/quake3 games-fps/quake3-bin )"
52 GAME_TITLE="Quake III"
53 DEFAULT_MOD_ICON="quake3"
54 SELECT_MOD="+set fs_game "
55 @@ -44,6 +47,7 @@
56 DED_OPTIONS="+set dedicated 1 +exec server.cfg"
57 ;;
58 "quake4")
59 + RDEPEND="games-fps/quake4-bin"
60 GAME_TITLE="Quake IV"
61 DEFAULT_MOD_ICON="/usr/share/pixmaps/quake4.bmp"
62 SELECT_MOD="+set fs_game "
63 @@ -52,6 +56,7 @@
64 DED_OPTIONS="+set dedicated 1 +exec server.cfg"
65 ;;
66 "ut2003")
67 + RDEPEND="games-fps/ut2003"
68 GAME_TITLE="UT2003"
69 DEFAULT_MOD_ICON="ut2003"
70 SELECT_MOD="-mod="
71 @@ -60,6 +65,7 @@
72 DED_OPTIONS=""
73 ;;
74 "ut2004")
75 + RDEPEND="games-fps/ut2004"
76 GAME_TITLE="UT2004"
77 DEFAULT_MOD_ICON="ut2004"
78 SELECT_MOD="-mod="
79 @@ -83,7 +89,6 @@
80 RESTRICT="mirror strip"
81
82 DEPEND="app-arch/unzip"
83 -#RDEPEND="${CATEGORY}/${GAME}"
84
85 S=${WORKDIR}