Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/ut2004-data: ut2004-data-3186-r3.ebuild ChangeLog
Date: Wed, 30 Sep 2009 00:58:34
Message-Id: E1MsnWa-0002CV-7s@stork.gentoo.org
1 nyhm 09/09/30 00:58:32
2
3 Modified: ut2004-data-3186-r3.ebuild ChangeLog
4 Log:
5 Move check_dvd function from games-ut2k4mod.eclass to here
6 (Portage version: 2.2_rc42/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.14 games-fps/ut2004-data/ut2004-data-3186-r3.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild?rev=1.14&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild?rev=1.14&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild?r1=1.13&r2=1.14
14
15 Index: ut2004-data-3186-r3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild,v
18 retrieving revision 1.13
19 retrieving revision 1.14
20 diff -u -r1.13 -r1.14
21 --- ut2004-data-3186-r3.ebuild 19 Jun 2009 12:42:39 -0000 1.13
22 +++ ut2004-data-3186-r3.ebuild 30 Sep 2009 00:58:31 -0000 1.14
23 @@ -1,8 +1,8 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild,v 1.13 2009/06/19 12:42:39 nyhm Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild,v 1.14 2009/09/30 00:58:31 nyhm Exp $
28
29 -inherit eutils games games-ut2k4mod
30 +inherit eutils games
31
32 DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004"
33 HOMEPAGE="http://www.unrealtournament2004.com/"
34 @@ -13,7 +13,6 @@
35 KEYWORDS="amd64 x86"
36 RESTRICT="strip"
37 IUSE=""
38 -QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/ut2004/System/libSDL-1.2.so.0"
39
40 DEPEND="games-util/uz2unpack"
41 PDEPEND="games-fps/ut2004"
42 @@ -24,6 +23,38 @@
43 dir=${GAMES_PREFIX_OPT}/ut2004
44 Ddir=${D}/${dir}
45
46 +check_dvd() {
47 + # The following is a nasty mess to determine if we are installing from
48 + # a DVD or from multiple CDs. Anyone feel free to submit patches to this
49 + # to bugs.gentoo.org as I know it is a very ugly hack.
50 +
51 + USE_DVD=
52 + USE_ECE_DVD=
53 + USE_MIDWAY_DVD=
54 + USE_GERMAN_MIDWAY_DVD=
55 +
56 + local r
57 + for r in "${CD_ROOT}" "${CD_ROOT_1}" \
58 + `mount | egrep -e '(iso|cdrom)' | awk '{print $3}'` ; do
59 + if [[ -n "${r}" ]] ; then
60 + einfo "Searching ${r}"
61 + if [[ -e "${r}/AutoRunData/Unreal.ico" ]] \
62 + && [[ -e "${r}/Disk5/data6.cab" ]] ; then
63 + USE_MIDWAY_DVD=1
64 + USE_DVD=1
65 + elif [[ -e "${r}/autorund/unreal.ico" ]] \
66 + && [[ -e "${r}/disk7/data8.cab" ]] ; then
67 + USE_MIDWAY_DVD=1
68 + USE_GERMAN_MIDWAY_DVD=1
69 + USE_DVD=1
70 + else
71 + [[ -d "${r}/CD1" ]] && USE_DVD=1
72 + [[ -d "${r}/CD7" ]] && USE_ECE_DVD=1
73 + fi
74 + fi
75 + done
76 +}
77 +
78 grabdirs() {
79 local d srcdir
80
81
82
83
84 1.24 games-fps/ut2004-data/ChangeLog
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/ut2004-data/ChangeLog?rev=1.24&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/ut2004-data/ChangeLog?rev=1.24&content-type=text/plain
88 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/ut2004-data/ChangeLog?r1=1.23&r2=1.24
89
90 Index: ChangeLog
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v
93 retrieving revision 1.23
94 retrieving revision 1.24
95 diff -u -r1.23 -r1.24
96 --- ChangeLog 19 Jun 2009 12:42:39 -0000 1.23
97 +++ ChangeLog 30 Sep 2009 00:58:31 -0000 1.24
98 @@ -1,6 +1,9 @@
99 # ChangeLog for games-fps/ut2004-data
100 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
101 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v 1.23 2009/06/19 12:42:39 nyhm Exp $
102 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ChangeLog,v 1.24 2009/09/30 00:58:31 nyhm Exp $
103 +
104 + 30 Sep 2009; Tristan Heaven <nyhm@g.o> ut2004-data-3186-r3.ebuild:
105 + Move check_dvd function from games-ut2k4mod.eclass to here
106
107 19 Jun 2009; Tristan Heaven <nyhm@g.o> ut2004-data-3186-r3.ebuild:
108 Don't install libsdl and openal, bug #264989