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-simulation/crashtest: ChangeLog crashtest-1.0.ebuild
Date: Thu, 22 Jan 2009 20:21:09
Message-Id: E1LQ630-0006bu-5j@stork.gentoo.org
1 mr_bones_ 09/01/22 20:21:06
2
3 Modified: ChangeLog crashtest-1.0.ebuild
4 Log:
5 EAPI=2; re-roll patch; work around for bug #237135
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
7
8 Revision Changes Path
9 1.5 games-simulation/crashtest/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/crashtest/ChangeLog?rev=1.5&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/crashtest/ChangeLog?rev=1.5&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/crashtest/ChangeLog?r1=1.4&r2=1.5
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-simulation/crashtest/ChangeLog,v
18 retrieving revision 1.4
19 retrieving revision 1.5
20 diff -u -r1.4 -r1.5
21 --- ChangeLog 14 Nov 2008 18:43:38 -0000 1.4
22 +++ ChangeLog 22 Jan 2009 20:21:06 -0000 1.5
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-simulation/crashtest
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/crashtest/ChangeLog,v 1.4 2008/11/14 18:43:38 coldwind Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/crashtest/ChangeLog,v 1.5 2009/01/22 20:21:06 mr_bones_ Exp $
29 +
30 + 22 Jan 2009; Michael Sterrett <mr_bones_@g.o>
31 + files/crashtest-1.0-gentoo.patch, crashtest-1.0.ebuild:
32 + EAPI=2; re-roll patch; work around for bug #237135
33
34 14 Nov 2008; Santiago M. Mola <coldwind@g.o> crashtest-1.0.ebuild:
35 Restrict fltk dependency to SLOT 1.1 (bug #246445).
36
37
38
39 1.5 games-simulation/crashtest/crashtest-1.0.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild?rev=1.5&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild?rev=1.5&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild?r1=1.4&r2=1.5
44
45 Index: crashtest-1.0.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild,v
48 retrieving revision 1.4
49 retrieving revision 1.5
50 diff -u -r1.4 -r1.5
51 --- crashtest-1.0.ebuild 14 Nov 2008 18:43:38 -0000 1.4
52 +++ crashtest-1.0.ebuild 22 Jan 2009 20:21:06 -0000 1.5
53 @@ -1,10 +1,9 @@
54 -# Copyright 1999-2008 Gentoo Foundation
55 +# Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild,v 1.4 2008/11/14 18:43:38 coldwind Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild,v 1.5 2009/01/22 20:21:06 mr_bones_ Exp $
59
60 -EAPI=1
61 -
62 -inherit eutils games
63 +EAPI=2
64 +inherit eutils flag-o-matic games
65
66 DESCRIPTION="Educational car crash simulator"
67 HOMEPAGE="http://bram.creative4vision.nl/crashtest/"
68 @@ -15,7 +14,7 @@
69 KEYWORDS="~amd64 ~x86"
70 IUSE=""
71
72 -RDEPEND="x11-libs/fltk:1.1
73 +RDEPEND="x11-libs/fltk:1.1[opengl]
74 dev-games/ode
75 media-libs/alsa-lib
76 virtual/opengl
77 @@ -26,22 +25,19 @@
78
79 S=${WORKDIR}/${P}/src-${PN}
80
81 -src_unpack() {
82 - unpack ${A}
83 - cd "${S}"
84 +src_prepare() {
85 epatch "${FILESDIR}/${P}"-gentoo.patch
86 sed -i \
87 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
88 -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
89 - -e "s:<FL/:<fltk-$(fltk-config --api-version)/FL/:" \
90 Makefile ${PN}.cxx \
91 || die "sed failed"
92 + append-flags -DHAVE_ISNANF
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install || die "emake install failed"
97 dodoc README
98 -
99 make_desktop_entry ${PN} Crashtest
100 prepgamesdirs
101 }