Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/d2x: d2x-0.2.5-r3.ebuild ChangeLog
Date: Tue, 27 Oct 2009 06:33:54
Message-Id: E1N2fct-0002HZ-OZ@stork.gentoo.org
1 mr_bones_ 09/10/27 06:33:51
2
3 Modified: d2x-0.2.5-r3.ebuild ChangeLog
4 Log:
5 EAPI=2; add use deps for libsdl (bug #290683)
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.7 games-action/d2x/d2x-0.2.5-r3.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild?r1=1.6&r2=1.7
14
15 Index: d2x-0.2.5-r3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- d2x-0.2.5-r3.ebuild 6 Sep 2007 22:32:18 -0000 1.6
22 +++ d2x-0.2.5-r3.ebuild 27 Oct 2009 06:33:51 -0000 1.7
23 @@ -1,7 +1,8 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild,v 1.6 2007/09/06 22:32:18 wolf31o2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild,v 1.7 2009/10/27 06:33:51 mr_bones_ Exp $
29
30 +EAPI=2
31 inherit eutils flag-o-matic games
32
33 DESCRIPTION="Descent 2 engine from Icculus"
34 @@ -13,7 +14,7 @@
35 KEYWORDS="~amd64 ~ppc ~x86"
36 IUSE="cdinstall debug opengl ggi svga"
37
38 -COMMON="media-libs/libsdl
39 +COMMON="media-libs/libsdl[audio,joystick,video]
40 media-libs/sdl-image
41 opengl? ( virtual/opengl )
42 ggi? ( media-libs/libggi )
43 @@ -26,12 +27,10 @@
44
45 dir=${GAMES_DATADIR}/${PN}
46
47 -src_unpack() {
48 - unpack ${A}
49 - cd "${S}"
50 -
51 - epatch "${FILESDIR}/${PV}-shellscripts.patch"
52 - epatch "${FILESDIR}/${P}-dofpcalcs-macro.patch"
53 +src_prepare() {
54 + epatch \
55 + "${FILESDIR}/${PV}-shellscripts.patch" \
56 + "${FILESDIR}/${P}-dofpcalcs-macro.patch"
57
58 sed -i \
59 -e '/NASMFLAGS/s/-d/-D/g' \
60 @@ -68,15 +67,14 @@
61 egamesconf \
62 ${myconf} \
63 ${renconf} \
64 - --datadir="${GAMES_DATADIR_BASE}" \
65 - || die "conf ${ren}"
66 + --datadir="${GAMES_DATADIR_BASE}"
67 emake CXXFLAGS="${CXXFLAGS} ${defflags}" || die "build ${ren}"
68 mv d2x* my-bins/
69 done
70 }
71
72 src_install() {
73 - make DESTDIR="${D}" install || die "make install failed"
74 + emake DESTDIR="${D}" install || die "emake install failed"
75 dogamesbin my-bins/* || die "dogamesbin failed"
76 dodoc AUTHORS ChangeLog NEWS README* TODO readme.txt
77
78
79
80
81 1.23 games-action/d2x/ChangeLog
82
83 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d2x/ChangeLog?rev=1.23&view=markup
84 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d2x/ChangeLog?rev=1.23&content-type=text/plain
85 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d2x/ChangeLog?r1=1.22&r2=1.23
86
87 Index: ChangeLog
88 ===================================================================
89 RCS file: /var/cvsroot/gentoo-x86/games-action/d2x/ChangeLog,v
90 retrieving revision 1.22
91 retrieving revision 1.23
92 diff -u -r1.22 -r1.23
93 --- ChangeLog 6 Sep 2007 22:32:18 -0000 1.22
94 +++ ChangeLog 27 Oct 2009 06:33:51 -0000 1.23
95 @@ -1,6 +1,9 @@
96 # ChangeLog for games-action/d2x
97 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
98 -# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/ChangeLog,v 1.22 2007/09/06 22:32:18 wolf31o2 Exp $
99 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
100 +# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/ChangeLog,v 1.23 2009/10/27 06:33:51 mr_bones_ Exp $
101 +
102 + 27 Oct 2009; Michael Sterrett <mr_bones_@g.o> d2x-0.2.5-r3.ebuild:
103 + EAPI=2; add use deps for libsdl (bug #290683)
104
105 06 Sep 2007; Chris Gianelloni <wolf31o2@g.o> d2x-0.2.5-r3.ebuild:
106 Added ~amd64 to KEYWORDS and removing comment about d2x-xl since it isn't in